>
> If I want to trace x86 instruction from a script file (doing ls, for
> instance), which means I cannot find symbol file of it. In this case how
> can I trace instructions? Thanks!

There is no symbol file for the script because it is not binary. but you
can use the symbole files for the binaries the script is calling (/bin/ls
in your case).
-Furat


On Tue, Nov 13, 2012 at 11:29 PM, lee david <[email protected]> wrote:

> Hi Furat,
>
> Thanks for your reply.
>
> I read that thread before, and from that thread I learnt how to trace
> microcode. I tried the script matching instructions to symbol files but it
> did work. I will keep on trying it.
>
> I have a question here:
>
> If I want to trace x86 instruction from a script file (doing ls, for
> instance), which means I cannot find symbol file of it. In this case how
> can I trace instructions? Thanks!
>
> Best,
> David
>
>
> 2012/11/13 Furat Afram <[email protected]>
>
>> Hi
>> Check this thread
>> http://thread.gmane.org/gmane.comp.emulators.marss86/662
>> -Furat
>>
>>
>> On Mon, Nov 12, 2012 at 5:53 PM, lee david <[email protected]> wrote:
>>
>>> Hi all,
>>>
>>> I want to trace both x86 instruction and its microcodes.
>>>
>>> I could get microcode trace with marss. For x86 instruction, I
>>> uncommented TRACE_RIP definition in ptlsim.h, and got plt_rip_trace file.
>>> Then I ran trace_to_func.py but got "Can't find function"... It seems this
>>> script is to map instruction address to disassembled symbole file, right?
>>> Does anyone know how to trace instructions instead of function with
>>> marss86? Thanks!
>>>
>>> Best,
>>> David
>>>
>>> _______________________________________________
>>> http://www.marss86.org
>>> Marss86-Devel mailing list
>>> [email protected]
>>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>>
>>>
>>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to