92 Commits

Author SHA1 Message Date
sivaramaaa
e5bbaffbfe Refactor code to change R_ANAL_OP_MASK_ALL to appropriate value 2018-05-31 19:05:54 +02:00
pancake
b99bb97def Improve r_cons_is_breaked coverage 2018-04-25 12:30:57 +02:00
Florian Märkl
93d9f4ec66 Add mask parameter to r_anal_op() 2018-03-16 11:10:15 +01:00
xarkes
b3d856bc3d Fix segfault with /cj 2018-03-16 11:02:18 +01:00
G4mb1t
a7b59ecedb Add support for extended regex in asm search (#9675) 2018-03-13 09:45:06 +01:00
pancake
fb43dd401a Fix #9060 - base64 encode strings in pfj s 2017-12-22 12:15:51 +01:00
pancake
e467c81fe1 Implement /ce to search esil expressions matching given string 2017-11-26 19:56:09 +01:00
pancake
f91049c8c1 Fix infinite loop in /c 2017-10-31 03:12:11 +01:00
pancake
140e26143d Fix #8514 - Implement /c/a and make /c/ work properly 2017-10-31 01:54:27 +01:00
Fangrui Song
ac16dfdc8b Misc fixes to search
* fix /a tests, hoist r_search_kw_add
* fix /A tests
* respect search.{from,to} in append_bound
* fix /o out-of-bounds read
2017-09-17 01:10:53 +02:00
Fangrui Song
e472e74b9d Move {RAsm,RAnal}::addrbytes to RIO::addrbytes, delete asm.addrbytes and make cLEMENCy work again (#8432) 2017-09-04 21:41:09 +02:00
alvarofe
2bc8518a57 Fix /c search due to changes on io 2017-09-03 11:40: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
alvarofe
bff0cb870e update core/asm.c accordingly with new api 2017-08-22 23:08:10 +02:00
condret
116810aeb7 beauty-fixes for pancake 2017-08-18 01:40:10 +00:00
alvarofe
492efde563 WIP fixes 2017-08-18 01:32:25 +00:00
alvarofe
2e462ec8f0 Bring RIODesc from SIOL and cleanup 2017-08-18 01:31:57 +00:00
Fangrui Song
72f2e8d46f Make /c support asm.addrbytes > 1 (#8186) 2017-08-11 10:43:27 +02:00
Fangrui Song
beba22e6c7 Fix backward disassembler when len > addr and support asm.addrbytes (#8145) 2017-08-08 18:25:44 +02:00
pancake
7db1a11d33 More reindent and use R_EMPTY instead of {0} 2017-03-25 02:30:00 +01:00
davidpolverari
1fb422b532 Fix #6162 - Renames r_str_concat to r_str_append 2017-03-16 22:29:49 +01:00
pancake
130c22fc49 XOR assemble for x86.nz requires 2 parameters 2016-12-26 02:20:57 +01:00
Álvaro Felipe Melchor
87724384d1 added r_cons_break_{push/pop} to handle ^C better
Besides an UAF has been fixed afecting only ELF
2016-11-21 16:56:12 +01:00
pancake
5ac2be945e Fix #5867 - Remove all references to __FILE__ or __LINE__ 2016-10-09 11:01:41 +02:00
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
Andrey Torsunov
60de2dc6b4 Fix couple of memory leaks. Issue #2772. (#4725) 2016-04-28 10:47:50 +02:00
jvoisin
3727f0794d Change the anti pattern if (A) free (A); for free (A); 2015-12-20 19:28:39 +01:00
pancake
07610b8e83 Fix dup hit issue in /c 2015-12-14 10:56:36 +01:00
pancake
d42ecbf95b Some random code cleanup and fixes 2015-11-23 02:36:26 +01:00
pancake
9ef50c29e7 Skip invalid and unaligned instructions in /c 2015-11-16 21:32:17 +01:00
pancake
3c57214f3c Fix bwdisasm precondition issue 2015-10-04 17:24:50 +02:00
Anton Kochkov
fe4754440b Remove annoying message (from #3186) 2015-10-01 19:01:20 +03:00
pancake
b86bf19c85 Fix #3051 - Honor CFLAGS everywhere and fix some windows/android warnings 2015-09-14 20:43:11 +02:00
pancake
b515a34676 More stdboolification 2015-09-14 12:35:38 +02:00
pancake
eac93d5261 Fix #3186 - search.align ignored by /c 2015-09-07 03:13:34 +02:00
jvoisin
fbe8b6d938 Once again, clang-analyzer strikes! 2015-09-04 15:12:42 +02:00
pancake
6f90213211 Set debug bits when changing asm bits 2015-08-31 12:46:29 +02:00
Jeffrey Crowell
641aec0899 fix compiler warning 2015-07-08 14:19:41 -04:00
Jeffrey Crowell
f5095cff88 add regexp to /c/ 2015-07-08 14:02:48 -04:00
Álvaro Felipe Melchor
daf8e5b06f Fix some infers 2015-06-28 20:15:35 +02:00
jvoisin
59a64235d5 Improves a bit /c
- Results are not separated by `;`
- `;` is now used as a separator instead of `,`
2015-05-02 14:16:24 +02:00
Jeffrey Crowell
8755625348 clean up bwdisassemble 2015-04-12 11:58:58 -04:00
Jeffrey Crowell
1549cd84bb fix pd -x for the last time? 2015-04-12 11:46:59 -04:00
pancake
595616de99 Changes in pd-x and handle .lsp files for newlisp r2pipe 2015-04-08 15:40:06 +02:00
pancake
dbe0972610 Fix pd -x and pD -x : It can be heavily reworked. 2015-04-03 02:24:23 +02:00
pancake
7bda81d6d0 Add /A and s/A to search for opcodes of specific type.
-Add OP.Type.FPU and OP.Type.PRIV (wip)
2015-03-04 00:46:59 +01:00
jvoisin
b8cdd7c0f7 Even more coverifix 2015-02-11 21:51:13 +01:00
Jeffrey Crowell
0d0e5b2a5f fix bwdisassemble to not give garbage instructions. 2015-02-01 23:51:23 -05:00
Alvaro Muñoz
c24a16f51d some checks for pd -xx segfault 2015-01-30 02:10:24 +01:00
pancake
0d7c08ca81 Implement search.maxhits 2014-12-23 00:33:09 +01:00