-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
AddressSanitizer mach0/mach0.c #2465
Comments
Grouping results:==15188==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62200001ddf0 at pc 0x7fe3af9bb0d5 bp 0x7ffc57e513e0 sp 0x7ffc57e513d0 0x62200001ddf0 is located 86994474947254 bytes insideASAN:SIGSEGV file: http://revskills.cz/r2/22c2eed6cb1ab51052a740ad070d78ac |
==15212==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62000000df94 at pc 0x7fb72025b1b7 bp 0x7ffff9afcdf0 sp 0x7ffff9afc598 0x62000000df94 is located 86857035928666 bytes insideASAN:SIGSEGV file: http://revskills.cz/r2/9bdfe1a56d369d4e1c5a43a711c8ba83 |
I will try to fix it. @revskills is having fun with ASan jeje |
@revskills any good tool to fuzz mach files? |
==4563==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62200001ddf0 at pc 0x7f48c394a7a4 bp 0x7ffcb4361c90 sp 0x7ffcb4361c80 0x62200001ddf0 is located 86994474947254 bytes insideASAN:SIGSEGV file: http://revskills.cz/r2/07617d86d131100a83374ee4e221788a |
==1293==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6040000065f8 at pc 0x7f9ab1b5a805 bp 0x7ffdd424d4c0 sp 0x7ffdd424d4b0 0x6040000065f8 is located 84932890548926 bytes insideASAN:SIGSEGV file: http://revskills.cz/r2/c8ca5e3c461f444bbc577044ddf83768 |
==2421==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x604000006638 at pc 0x7f19cc5de95e bp 0x7fffe6452ad0 sp 0x7fffe6452ac0 ASAN:SIGSEGV file: http://revskills.cz/r2/8c1fb4a546ad4a535f6bec6cc0e291e5 |
@alvarofe any update? |
In my machine is still broken. I will work on it this weekend |
Awesome!
|
==15186==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62000000df94 at pc 0x7f7e535641b7 bp 0x7fff020d68b0 sp 0x7fff020d6058
READ of size 17 at 0x62000000df94 thread T0
#0 0x7f7e535641b6 in strncpy (/lib64/libasan.so.1+0x2f1b6)
#1 0x7f7e52439593 in get_symbols /home/revskills/dev/radare2/libr/..//libr/bin/p/../format/mach0/mach0.c:815
#2 0x7f7e5243e87d in get_main /home/revskills/dev/radare2/libr/..//libr/bin/p/../format/mach0/mach0.c:1403
#3 0x7f7e52431765 in binsym /home/revskills/dev/radare2/libr/..//libr/bin/p/bin_mach0.c:501
#4 0x7f7e523bd87e in r_bin_object_set_items /home/revskills/dev/radare2/libr/bin/bin.c:417
#5 0x7f7e523c12c1 in r_bin_object_new /home/revskills/dev/radare2/libr/bin/bin.c:944
#6 0x7f7e523c1f6e in r_bin_file_new_from_bytes /home/revskills/dev/radare2/libr/bin/bin.c:1055
#7 0x7f7e523bf8e0 in r_bin_load_io_at_offset_as_sz /home/revskills/dev/radare2/libr/bin/bin.c:644
#8 0x7f7e523bf9db in r_bin_load_io_at_offset_as /home/revskills/dev/radare2/libr/bin/bin.c:666
#9 0x7f7e523bee0e in r_bin_load_io /home/revskills/dev/radare2/libr/bin/bin.c:546
#10 0x7f7e531adc5a in r_core_file_do_load_for_io_plugin /home/revskills/dev/radare2/libr/core/file.c:344
#11 0x7f7e531ae593 in r_core_bin_load /home/revskills/dev/radare2/libr/core/file.c:476
#12 0x406188 in main /home/revskills/dev/radare2/binr/radare2/radare2.c:573
#13 0x7f7e4e324fdf in __libc_start_main (/lib64/libc.so.6+0x1ffdf)
#14 0x4030d8 (/home/revskills/dev/radare2/binr/radare2/radare2+0x4030d8)
0x62000000df94 is located 86857035928666 bytes insideASAN:SIGSEGV
==15186==AddressSanitizer:
file: http://revskills.cz/r2/df1311e6df74710f8eb1466d76468722
radare2 0.9.9-git 7759 @ linux-little-x86-64 git.0.9.8-1404-g5b984e8
commit: 5b984e8 build: 2015-04-29
The text was updated successfully, but these errors were encountered: