-
Notifications
You must be signed in to change notification settings - Fork 8
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
w3m-27 trace misses valid sections (maybe library) #52
Comments
Is this related to?
|
Yes. Which means the IP is not contained in the project. Is this related to asan? |
I will have a look. The mapping must be valid in the context of processor trace otherwise we would not see it in the trace. |
libraries are loaded incorrect: Angr:
core dump:
|
The loader should have a fix? |
I currently blame autoloading. I try to disable it. |
We already depend indirectly on https://github.com/chaimleib/intervaltree for that purpose. |
I think if we need loading fragmented objects, we need to modify Angr since we need to execute instructions. Otherwise, we must repeat what Angr has done from assembly -> VEX IR -> engines. Also we need to change everything relevant to library decoding. |
Angr also allows to specify a custom loader rather then using load_options. |
I think libasan or something else does map the elf header, because those are read-only:
I ignore those mapping for the time beeing |
That issue was solved. |
gdb ./w3m
b __interceptor___getdelim
r -T text/html -dump '../ID-27/crash.html'
bt
In my OS
#0 0x00007ffff6e98630 in __interceptor___getdelim () from /lib64/libasan.so.4
#1 0x00007ffff2e019ac in selinuxfs_exists () from /lib64/libselinux.so.1
#2 0x00007ffff2df9c28 in init_lib () from /lib64/libselinux.so.1
#3 0x00007ffff7dea903 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#4 0x00007ffff7ddc15a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
In hase, the section containing 0x00007ffff2e019ac is missing (not exactly this address, just the function calling __interceptor__getdelim)
I cannot have exact function frame in NixOS for #1
Multithreading issues?
The text was updated successfully, but these errors were encountered: