Re: [DynInst_API:] PIE segfault


Date: Tue, 31 May 2016 10:37:24 -0500
From: John Detter <jdetter@xxxxxxxx>
Subject: Re: [DynInst_API:] PIE segfault
Mohamed,

Are you sure you are using the latest master? In my version of arch-x86.C line 7993 isn't inside the ia32_decode function. Could you try pulling from master and rebuilding/rerunning? If you could provide another stack trace that would be really helpful.

-- John

P.S. here is the latest commit information for master (http://github.com/dyninst/dyninst):

commit df1523dd4003107b959046dd047402642f530c43
Merge: 85cebd3 06c649f
Author: Bill Williams <wwilliam47@xxxxxxxxx>
Date:   Fri May 27 14:37:50 2016 -0500

Merge pull request #61 from dyninst/Functions_not_filed_into_correct_Modules

    Fix Function/Module mapping

On 5/30/2016 9:06 PM, Mohamed Elsabagh wrote:
There seems to be a different issue now: calling getProcedures() on the default module of a stripped PIE results in an assertion failure at common/src/arc-x86.C:7993. It seems that the heuristic gap parser is trying to decode the assembly as x86_32 instead of x86_64 (I may be wrong though). Exact stack trace is attached.

This is triggered by simply opening the binary, getting the default module, then calling getProcedure.

Sample offending program is /usr/bin/ssh on Ubuntu 16.04 x86_64.

[← Prev in Thread] Current Thread [Next in Thread→]