diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-06-25 11:15:13 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-06-25 12:24:31 +0000 |
| commit | 707e48e60aa33a49ef5c753466930f70227a7d21 (patch) | |
| tree | 926e156a1c5e84379d0f14fbfc0f731e00aae534 /executor/executor_runner.h | |
| parent | 32daca569610170d5444f146335a6f6920045e1b (diff) | |
executor: swap addr/pc in SigsegvHandler
Diffstat (limited to 'executor/executor_runner.h')
| -rw-r--r-- | executor/executor_runner.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<void*>(pc)); + sig, SigsegvHandler, reinterpret_cast<void*>(pc), info->si_addr); } static void runner(char** argv, int argc) |
