Date: | Thu, 22 Jan 2015 17:16:21 -0600 |
---|---|
From: | Xiaozhu Meng <xmeng@xxxxxxxxxxx> |
Subject: | Re: [DynInst_API:] Can dyninst statically recover the whole assembly program from binaries? |
Hi Shuai, Dyninst can handle stripped binaries statically and Improving this capability of Dyninst is an ongoing project. Unfortunately, currently we do not produce the disassembled results in a format that can be directly reassembled. Our handling of stripped binaries tries to be as accurate as possible, but we do not guarantee the recovered program is identical to the original program produced by the compiler and we do not believe such guarantee is realistic. We can give a good approximation of instructions of the original program (Other tools you mentioned also just give approximation). For data, without debugging information, it is very difficult to recover data types for composite data structures. I believe it is impossible to recover function names from stripped binaries.  Finally, I would like to response to your question that dyninstAPI requires user to provide function name to do instrumentation. DyninstAPI does not require user to provide function name to do instrumentation. If the user wants to instrument all functions in the program, we can do that without asking for a function name. We need a function name when the user wants to only instrument this particular function. In stripped binaries, There is no function name to specify. So a user will need to use other methods to convey to us where they want to instrument. Thanks --Xiaozhu On Thu, Jan 22, 2015 at 3:04 PM, Shuai Wang <wangshuai901@xxxxxxxxx> wrote:
|
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] Can dyninst statically recover the whole assembly program from binaries?, Shuai Wang |
---|---|
Next by Date: | Re: [DynInst_API:] Can dyninst statically recover the whole assembly program from binaries?, Shuai Wang |
Previous by Thread: | [DynInst_API:] Can dyninst statically recover the whole assembly program from binaries?, Shuai Wang |
Next by Thread: | Re: [DynInst_API:] Can dyninst statically recover the whole assembly program from binaries?, Shuai Wang |
Indexes: | [Date] [Thread] |