Commit Graph

15727 Commits

Author SHA1 Message Date
condret
e2363da139 implement remapping in map-API 2017-08-27 04:13:47 +00:00
pancake
93dc1e8b78 Call aeip in radare2.c 2017-08-27 03:10:16 +02:00
pancake
be1e819633 Fix oba argument parsing 2017-08-27 03:04:35 +02:00
alvarofe
89738c3c74 The command aeim set PC to curseek 2017-08-27 02:57:34 +02:00
alvarofe
76208638e2 Use RBinSection instead of RIOSection for virtual tables 2017-08-27 02:50:36 +02:00
alvarofe
b6c0fef240 Fix NULL dereference 2017-08-27 02:30:11 +02:00
alvarofe
3fb6a0af12 Fix regression
The check was wrong to detect xtr binaries to wipe out anal hints

This should fix many thumb tests
2017-08-27 02:23:07 +02:00
alvarofe
e7a43b679a Add new api to get current fd 2017-08-27 02:23:07 +02:00
condret
c85aebbdab hopefully fix esil 2017-08-27 01:14:59 +00:00
Fangrui Song
c66aaa84f7 Add r_reg_{get,set}_value_by_role and fix "aef" because "PC" is not available on every arch (#8326) 2017-08-27 01:10:19 +02:00
Álvaro Felipe Melchor
d366ca79c6 Avoid to load SHDR into IO just PHDR (#8329)
This is basically what loader does and we should do it to reduces number
of maps and unnecesary overlaps with ELF
2017-08-27 01:08:36 +02:00
pancake
7421b708be Fix #8327 - Rename oa into oba 2017-08-27 01:05:02 +02:00
pancake
6a36a33423 Fix multiple aeim calls 2017-08-27 01:00:19 +02:00
alvarofe
d4ee6f6e95 Fix crash due to freeing memory not allocated
This is not the right solution though
2017-08-27 00:56:12 +02:00
pancake
9d8d9023d0 Avoid double aeim loads and fix frida:// bin.load double-open 2017-08-27 00:42:08 +02:00
condret
7a87c8ba84 bring the mapslit back from old libsiol 2017-08-27 00:39:34 +00:00
condret
a9cb011da0 make travis less bitchy again 2017-08-26 23:52:39 +00:00
alvarofe
72eaa5367f Fix PE test for entrypoint 2017-08-26 23:49:37 +02:00
pancake
938dc32da0 Use RIODesc.close() instead of RIODesc.del() 2017-08-26 23:47:52 +02:00
pancake
3f94f69e60 Enhance error checking in om and avoid adding the same map twice 2017-08-26 23:33:27 +02:00
Fangrui Song
05fdeb12f2 Add red-black tree to util/r_rbtree.c 2017-08-26 23:13:47 +00:00
condret
682b389c42 use api directly 2017-08-26 23:01:14 +00:00
Fangrui Song
4721f6760e Fix a leak on r_cons_instance.grep.str (#8324) 2017-08-26 19:46:05 +02:00
condret
f403481e9f more AccessLog sugar for esil, and typo fixes 2017-08-26 19:26:24 +00:00
Ren Kimura
816c5ee244 Add conditional watchpoint (#8321) 2017-08-26 18:57:51 +02:00
Rene Laemmert
c4dd3bd9b0 fixes double free corruption (#8322) 2017-08-26 18:56:33 +02:00
condret
f146d0f2a8 implement omn for @radare 2017-08-26 17:27:45 +00:00
condret
93763bbd98 fix output order of om (highest priority first) 2017-08-26 16:41:18 +00:00
Khairul Azhar Kasmiran
a7a9a4b4ec Added octal esc handling to r_str_unescape (#8320) 2017-08-26 15:03:54 +02:00
pancake
2642a3879a Fixes the comments on the previous commit 2017-08-26 13:10:08 +02:00
Giovanni
52826ff3ef 7 more coverity bugs fixed (#8306)
* 1379842/1379836 Resource leak
* 1379834 Resource leak
* 1379742/1379747/1379748/1379749/1379750/1379747/1379760 Resource leak
* 1379752 Resource leak
* 1379751 Double free
* 1379743 Use after free
* 1379624 Uninitialized scalar variable
* 1379332 Out-of-bounds read
2017-08-26 13:08:53 +02:00
Fangrui Song
c7467ed31e Add RVector (array of void* objects) to r_util (#8205)
* Add RVector to r_util
* Add r_vector_{lower,upper}_bound
* Add r_vector_sort
* Add r_vector_find r_vector_insert_range and rename some functions to be idiomatic
2017-08-26 13:05:14 +02:00
pancake
306adb7a50 Fix for the whitespace disassembler 2017-08-26 12:56:14 +02:00
pancake
28b4f62e7e Better output of om 2017-08-26 12:21:01 +02:00
alvarofe
bea31c8f91 Allow to create more maps in esil 2017-08-26 11:36:34 +02:00
condret
9e8d5cf4fa make aeim do aei again if needed 2017-08-26 11:33:07 +00:00
alvarofe
fcdb73c453 Add newline 2017-08-26 11:15:58 +02:00
alvarofe
6b7e00ddcc Use r_io_desc api insted to dereference pointers 2017-08-26 11:03:46 +02:00
SkUaTeR
b0d8017be1 fix windows build (#8317) 2017-08-26 10:09:08 +02:00
condret
e6d4ee8aac fix aeim, this was funny https://asciinema.org/a/omypk8aGYBhYGDdP4sP7zZblw 2017-08-26 05:07:31 +00:00
pancake
46b6051129 Add quiet files list (oq, omq) 2017-08-26 03:49:54 +02:00
pancake
43701f2c7e Create stack map for aeim 2017-08-26 03:13:57 +02:00
pancake
37673daebf Revert "fix for #8285"
This reverts commit b95b67ef20.
2017-08-26 03:03:31 +02:00
pancake
ec6b809728 Minor cleanup in onIterMap 2017-08-26 02:52:33 +02:00
pancake
6d18fca988 Update sdb again 2017-08-26 02:36:13 +02:00
pancake
c24192f834 Update sdb from git 2017-08-26 02:26:16 +02:00
pancake
c540e07d56 Fix some warnings for the windows debugger 2017-08-26 02:24:22 +02:00
pancake
cda876993e Add io.exec and update r2 -x documentation and help message 2017-08-26 02:04:45 +02:00
pancake
777090aa27 Implement om= and o= inside core, not io 2017-08-26 01:50:57 +02:00
pancake
758cef0fb3 Fix issue in dbgmodules that was producing errors on debugger start for XNU 2017-08-26 01:11:42 +02:00