From 707e48e60aa33a49ef5c753466930f70227a7d21 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 25 Jun 2024 11:15:13 +0200 Subject: executor: swap addr/pc in SigsegvHandler --- executor/executor_runner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/executor_runner.h') diff --git a/executor/executor_runner.h b/executor/executor_runner.h index 55a6c422c..e0c4b1775 100644 --- a/executor/executor_runner.h +++ b/executor/executor_runner.h @@ -760,7 +760,7 @@ static void SigsegvHandler(int sig, siginfo_t* info, void* ucontext) // Print the current function PC so that it's possible to map the failing PC // to a symbol in the binary offline (we usually compile as PIE). failmsg("SIGSEGV", "sig:%d handler:%p pc:%p addr:%p", - sig, SigsegvHandler, info->si_addr, reinterpret_cast(pc)); + sig, SigsegvHandler, reinterpret_cast(pc), info->si_addr); } static void runner(char** argv, int argc) -- cgit mrf-deployment