Alexandru Caciulescu
72e58c2e01
/R gadget classification patches for #5397 ( #5448 )
...
* /R can now classify nop gadgets
* MovRegs and LoadConst pattern classification for /R
* Moved classification logic in separate file
2016-08-09 17:24:25 +02:00
Ahmed Mohamed Abd El-MAwgood
4668bc5ea3
Adding nonull ( #5441 )
2016-08-05 13:35:44 +02:00
Alexandru Caciulescu
34147cd121
/Rk command for rop queries ( #5403 )
2016-07-28 15:05:38 +02:00
Alexandru Caciulescu
fd76792386
All /R commands cache gadgets and use rop.db ( #5398 )
2016-07-27 16:19:33 +02:00
Jeffrey Crowell
3c3775b3d0
fix broken build (
2016-07-09 01:50:06 -04:00
Jeffrey Crowell
e65ceb5dee
fix some memory leaks reported by coverity
2016-07-09 01:41:56 -04:00
pancake
887897e02b
Fix cmd_rop tests
2016-07-06 01:05:07 +02:00
pancake
f345656ec6
Fix cmd_search
2016-07-06 00:20:42 +02:00
pancake
a3f818f7e0
Add rop.db and remove the misuse of asm.esil in /Rl
2016-07-05 23:42:08 +02:00
Álvaro Felipe Melchor
bc218f8b26
change int to const bool config_get_i rop search
2016-07-05 23:38:59 +02:00
pancake
0f8a5c8635
Fixes and enhancements for the previous commits
2016-07-05 23:25:16 +02:00
Alexandru Razvan Caciulescu
8434da3f2a
ESIL output for /Rl command (and save gadgets in SDB)
2016-07-05 23:11:08 +02:00
pancake
57d7bdfdfc
Fix #4928 - Show string context in search results
2016-07-05 22:19:36 +02:00
Rene Laemmert
de37c7d71d
removed double quotes from json result for search ( #5280 )
2016-07-04 13:01:13 +02:00
Jeffrey Crowell
c145740030
replace r_cons_printf("%s\n",p) r_cons_println(p)
...
move from 10% of code in vfprintf to just 6% \o/ for simple tests of r2
-c "aaa" -q /bin/ls
2016-06-26 00:52:03 -04:00
pancake
f96f00d62d
Fix #5158 - Merge r_db into r_util
2016-06-17 12:19:16 +02:00
pancake
d1b5737a59
Add anal.vinfunr
2016-06-10 15:31:38 +02:00
pancake
2ca927caea
Add anal.vinfun for aav (only grab values outside function boundaries)
2016-06-09 21:52:25 +02:00
pancake
16d0396b8f
Fix /A, add MJMP optype, and op.reg for UJMP
2016-05-30 00:38:35 +02:00
Roi Martin
6dca1e31bb
Avoid searching out of bounds
2016-05-24 03:13:06 +02:00
Roi Martin
4cf81df3bc
Fix #1476 : respect search.from and don't seek on /m ( #4973 )
2016-05-23 11:25:17 +02:00
Riccardo Schirone
8727840e90
anal/fcn: use getter/setter to access the size of a RAnalFunction
...
This is one of the first steps to improve analysis. This way we'll have
one single place to change if we want to change the meaning of the
"size" field. (size -> realsize)
2016-05-19 01:50:50 +02:00
pancake
28f64c83b9
Fix #4897 - Rename /# into /h
2016-05-16 21:48:22 +02:00
Damien Zammit
af0a865d9f
WIP - Totally remove host endianness dependence
...
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
Jeffrey Crowell
9518841434
refactor includes ( #4757 )
2016-05-03 04:52:41 +02:00
pancake
e00c7bc358
Handle ^C debug mode for aav
2016-04-22 11:25:42 +02:00
pancake
430073066f
Several enhancements for aav and arm analysis
2016-04-22 00:55:27 +02:00
pancake
90b37aa106
More fixes and enhancements for aav and arm32
2016-04-11 00:56:48 +02:00
pancake
f42e69bb3e
Fix /V hitnames and add aav command
2016-04-11 00:03:14 +02:00
pancake
30ae724e89
Fix /V argument parsing
2016-04-10 23:17:16 +02:00
NaveenBoggarapu
fabf7020fb
Fix #4523 - Fix asm.emu + pd leaks
2016-04-07 11:11:46 +02:00
alvaro_fe
27459b7deb
fix latest covs
2016-03-24 20:43:33 +01:00
pancake
efc215d587
Fix aap for static and make it work in debugger
2016-03-19 02:39:28 +01:00
pancake
23d8f286bc
Fix aap boundaries issue for static binaries
2016-03-18 19:23:56 +01:00
easyhard
ddaa6dff07
Fix issue #4319 can not use regex sequence in rop
2016-03-15 18:14:43 +01:00
easyhard
91cc270fbf
only try smaller addresses in non-align arch
2016-03-14 23:08:26 +01:00
easyhard
312f72ac01
Fix #4020 - ROP: Find gadgets from all offsets
...
End gadgat instruction may be part of a different
isntruction, depends on starting offset. Therefore,
rop searching should try some starting offsets that
are smaller than the previous end gadgat.
2016-03-14 23:08:26 +01:00
Riccardo Schirone
23006460c1
flags: refactoring of r_flag_set
...
flags: remove dup parameter from r_flag_set
2016-02-22 18:21:25 +01:00
pancake
fbd834c5ba
Add ARM32 prelude for aap command
2016-02-22 00:22:09 +01:00
pancake
9197972e1c
Add some preludes for arm64 and fix fcncount in aap
2016-02-16 04:23:34 +01:00
pancake
1a89cac78f
Initial support for search.overlap
2016-02-12 11:37:48 -06:00
pancake
24d76819d0
Expose reftype in /r
2016-02-09 11:52:26 -06:00
Jeffrey Crowell
043d653339
respect search.to, search.from in rop search
2016-01-25 15:01:50 -05:00
pancake
bea71d7074
Add ap command to find prelude for current offset
2016-01-24 03:05:27 +01:00
condret
e9aa1bfa80
hardening
2016-01-20 16:13:30 +00:00
condret
ccab168cb5
fix a memleak and implement esil.stacksize for @crowell
2016-01-19 23:36:21 +00:00
pancake
23c81e7642
Fix int->bool issue after de-boolt-ification
2016-01-03 02:38:14 +01:00
pancake
42acaa7596
Softly kill boolt type
2016-01-03 02:05:26 +01:00
pancake
4618834f26
Do not show search help on invalid commands
2015-12-31 14:13:28 +01:00
pancake
07610b8e83
Fix dup hit issue in /c
2015-12-14 10:56:36 +01:00