Date: | Thu, 09 Jul 2015 11:11:41 +0300 |
---|---|
From: | Alin MÃndroc <mindroc.alin@xxxxxxxxx> |
Subject: | Re: [DynInst_API:] InstructionAPI segfault on archive files |
Thanks, that was exactly the case, I decoded past the end of a file. I made the wrong assumption that any function must end with a ret instruction, and I decoded addresses until I encountered the first ret instruction. Such, every time there was a function at the end of a file which wouldn't end in a with a ret, the segfault was thrown. On Wed, Jul 8, 2015 at 6:31 PM, Bill Williams <bill@xxxxxxxxxxx> wrote:
|
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [DynInst_API:] InstructionAPI segfault on archive files, Bill Williams |
---|---|
Next by Date: | [DynInst_API:] Commit: Fixes for Defensive Mode, Alexander Morris |
Previous by Thread: | Re: [DynInst_API:] InstructionAPI segfault on archive files, Bill Williams |
Next by Thread: | [DynInst_API:] Instrumenting/rewriting position independent binaries, Aleksandar Nikolich |
Indexes: | [Date] [Thread] |