-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drltrace.PID.log may not have CALLID and TID in synthesizer.py #20
Comments
I apologize for sending this while editing. |
Hello, that line is shown at the end of the execution, not for each call. It seems like no calls are detected from your setting, likely because the library is not detected using |
@Jinmo Thank you. |
The following is the result of running the synthesizer.py against "GetCurrentProcess" . Is this a mistake in the way the command is executed? I apologize for asking so many questions.
Lines 297 to 302 in b046bce
The contents of drltrace.PID.log is the following.
p.s. I run
|
It seems like a bug in library_trace.cpp; can you try replacing the following lines winnie/harnessgen/lib/Tracer/library_trace.cpp Lines 1475 to 1476 in b046bce
to fprintf(out, "%-3d, %-3d, 0x%08lx, 0x%08lx, 0x%08lx, %016lx, 0x%08lx, 0x%08lx, %s\n",
index, index, item.start, item.end, item.entry, item.r1, item.r2, item.r3, item.path.c_str()); ? |
It is worked by your replacing, thank you.
This is because I built on x64. So I built both Tracer and toy_example on x86, and the assertion(at p.s. The contents of drltrace.PID.log, built on x86 toy_example
|
Hello @gonbbb and @Jinmo, I am writing to ask for your help with a similar issue that I'm facing. I followed the code replacement suggestion provided in #20 (comment), but I'm still experiencing the Assertion Error. Specifically, after running the command
I was wondering if you have some idea of why this is happening and the possible solutions. Any advice would be helpful. Thanks in advance! The
|
Hi
I tried to run one-trace against
toy_example.exe
.(In the following script, absolute paths were used in practice.)
ref. https://github.com/sslab-gatech/winnie/tree/master/harnessgen#one-trace
The contents of the
test.txt
are as followsIn this case, this script don't emit memdump. So I make empty
memdump
file.The contents of the
drltrace.PID.log
are as followsThe following is the result of running the
synthesizer.py
against "C:\Windows\System32\KERNELBASE.dll" .winnie/harnessgen/common.py
Lines 23 to 37 in b046bce
The
ret_start_point
method should return cid and tid, but where are the cid and tid in this drltrace.PID.log?If there is any incorrect use of the above, please let us know.
Thanks.
The text was updated successfully, but these errors were encountered: