-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Debugger broken after perform additional experimental analysis #6538
Comments
Somehow the register values are changing after |
It seems caused by
|
because its using esil to emulate code and this will modify the registers in anal->reg, but this is somewhat mixed with debug->reg, so we should probably save the registers before doing esil analysis and restore it back after that. this will be consistent for non-debugger uses too.
also, the debugger registers shouldt change with emulation
… On 19 Jan 2017, at 18:19, sasdf ***@***.***> wrote:
It seems caused by afta in aaaa
[0x7f2ba0293d70]> dr
orax = 0x0000003b
rax = 0x00000000
rbx = 0x00000000
rcx = 0x00000000
rdx = 0x00000000
r8 = 0x00000000
r9 = 0x00000000
r10 = 0x00000000
r11 = 0x00000000
r12 = 0x00000000
r13 = 0x00000000
r14 = 0x00000000
r15 = 0x00000000
rsi = 0x00000000
rdi = 0x00000000
rsp = 0x7fff1198ae90
rbp = 0x00000000
rip = 0x7f2ba0293d70
rflags = 0x00000200
[0x7f2ba0293d70]> aa
[x] Analyze all flags starting with sym. and entry0 (aa)
[0x7f2ba0293d70]> dr?rip
0x7f2ba0293d70
[0x7f2ba0293d70]> afta
Deinitialized mem.0x100000_0xf0000
[0x7f2ba0293d70]> dr?rip
0x004022a0
[0x7f2ba0293d70]> dr
orax = 0x0000003b
rax = 0x00000000
rbx = 0x00000000
rcx = 0x00000000
rdx = 0x00000000
r8 = 0x00000000
r9 = 0x00000000
r10 = 0x00000000
r11 = 0x00000000
r12 = 0x00000000
r13 = 0x00000000
r14 = 0x00000000
r15 = 0x00000000
rsi = 0x00000000
rdi = 0x00000000
rsp = 0x00178000
rbp = 0x00178000
rip = 0x004022a0
rflags = 0x00000200
[0x7f2ba0293d70]>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#6538 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA3-lmJl9vM8TGWcwPiXqJaHAEBXca6Jks5rT5s1gaJpZM4LoWWC>.
|
can be "solved" by swapping to a different debugger backend temporarily:
|
Merged
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
As the title, it got sigsegv after
aaaa
.rip
register seems be destroyed after the analysis that continuing execution will got sigsegv.The text was updated successfully, but these errors were encountered: