Commit Graph

4964 Commits

Author SHA1 Message Date
pancake
d001066eb4 Support longer wopD.. still not complete 2016-08-15 01:40:34 +02:00
pancake
e1b94b8343 Update sdb to fix an overflow in the base64 decoder 2016-08-15 01:02:05 +02:00
pancake
deb05ed383 Honor cfg.bigendian in wopO for debrujn patterns 2016-08-14 23:49:13 +02:00
Alexandru Caciulescu
2b35ce2ed4 Fix undeclared variable error (#5512)
Undeclared variable "i" at line 2215.
2016-08-14 23:24:32 +02:00
pancake
6c9af2e690 Fix #4841 - Restricted r2 shell thing 2016-08-14 19:55:54 +02:00
pancake
be220ec038 Fix VRR on windows issues 2016-08-14 19:29:59 +02:00
pancake
3654e5f33b Fix regression in reg.type=flg 2016-08-14 19:12:52 +02:00
pancake
6e478431dd Fix 4 warnings (unused stuff) in cmd_search_rop 2016-08-14 02:30:31 +02:00
pancake
f60597b2ee Fix ar 1 to honor RReg.Type.flg 2016-08-14 02:23:47 +02:00
Alexandru Caciulescu
e652a18469 Implement Arithmetic Pattern matching for ROP classification
* /R can now classify nop gadgets
* MovRegs and LoadConst pattern classification for /R
* Moved classification logic in separate file
* Adding Arithmetic Pattern classification for /R (work in progress)
2016-08-14 02:08:40 +02:00
Ahmed Mohamed Abd El-MAwgood
52da64becc Fix for function name decorators (oridinal, sym.blablabla) (#5488)
implemented function guess matched name which finds longest function name in sdb_types that is substring of the current function name
2016-08-14 02:07:43 +02:00
Ahmed Mohamed Abd El-MAwgood
4f413e7720 initial support for type matching (#5480)
Enabling stepping over
Basic (sym.imp.*) call catching routines
Fixing esil tracing bug and verbosity
Adding some apis for handling function prototypes and abstacting sbd queries
Fixing the double execusion bug in esil tracing
passing types into vars for `stack`
fixing trailing spaces
doing the regester branch
doing the stack_rev
2016-08-13 12:09:14 +02:00
Paul
52656941fe r_core_print_disasm_json fix (#5479)
* r_core_print_disasm_json fix
2016-08-10 21:10:00 +02:00
Álvaro Felipe Melchor
dc5673ec3a Fix regression with the arm/thumb changes (#5464)
Now we build a list of ranges (RAnalRange) based on anal hints to handle the
bits in a better way in the case of arm/thumb

Now instead of asm.bits that rules the whole binary we can define ranges with
anal hints
2016-08-10 18:49:44 +02:00
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
pancake
a2d9300d77 Fix #5339 - Projects now work with r2pipe 2016-08-09 12:53:34 +02:00
pancake
059ad1a51c Differentiate methods from functions in objc parser 2016-08-09 01:40:12 +02:00
Ahmed Mohamed Abd El-MAwgood
ad1565d9e4 few enhancements for afv FIX #5459 (#5461)
replacing afv[bsr]n  with afvn
replacing negative sign `n` with `_`
being consistent across the documentations (args + locals = vars)
refactoring code
2016-08-09 00:17:42 +02:00
@bezjaje
4e71ff36fe Honor endiannes and size too in reference values in disasm (#5469) 2016-08-08 23:40:56 +02:00
javierprtd
56636c8d09 Update dmh 2016-08-08 18:42:18 +02:00
pancake
b39fb26264 Add $Fb and $Fs to handle basicblock address and size 2016-08-08 13:32:23 +02:00
pancake
e8464e6d75 Honor endian in reference values in disasm 2016-08-08 11:35:03 +02:00
pancake
e866c76147 Fix #5432 - Implement pdrj 2016-08-08 11:07:05 +02:00
pancake
3fe30f5c35 Fix #5450 - Implement 'n' key in VV graph to rename function 2016-08-08 10:56:47 +02:00
pancake
0777232b1b Rename core/bin.c as cbin.c to avoid confussion with bin/bin.c 2016-08-08 10:45:49 +02:00
pancake
3e5f636869 Fix Vcdn to rename local vars - reported by @ret2libc 2016-08-08 01:00:47 +02:00
Álvaro Felipe Melchor
b8363bc5cc another fix due to regression 2016-08-07 19:58:34 +02:00
Álvaro Felipe Melchor
9f1deb5be6 try again to fix the regression 2016-08-07 19:27:50 +02:00
Álvaro Felipe Melchor
32335f7635 fix regression 2016-08-07 19:16:02 +02:00
Álvaro Felipe Melchor
b765f0e786 Fix #4639 - Problem with arm32 2016-08-07 18:00:40 +02:00
Álvaro Felipe Melchor
0bc983027f improve arm/thumb in elf file format and disasm 2016-08-07 17:38:34 +02:00
Roman Valls Guimerà
33c6d01531 [AVR] First approach to afCl/cdecl for AVR (#5453)
* First approach to afCl/cdecl. Thanks @oddcoder.
* Remove compilers that do not exist for AVR
* Remove unnecessary platform-specific code since 'cc-arch-bits' should be already a stable convention.
* Typo on the afC way
2016-08-07 17:14:14 +02:00
Ahmed Mohamed Abd El-MAwgood
5adf93a570 fixing aek- (#5454)
according to `ae?`,  aek- is used to delete all esil->stats key/value pairs, but it wasn't actually implemented.
2016-08-07 17:08:52 +02:00
pancake
b53a7bb84b Fix regression in AFR related to io_is_valid 2016-08-07 14:08:13 +02:00
pancake
a4ff60743f Follow fcn calls one step further WIP 2016-08-07 09:17:05 +01:00
pancake
2113751573 Fix some false positives in aad using the API instead of r2cmd 2016-08-05 14:41:59 +02:00
Ahmed Mohamed Abd El-MAwgood
4668bc5ea3 Adding nonull (#5441) 2016-08-05 13:35:44 +02:00
pancake
53e9e91b4c Increase rafind2 -ZS wide and do not run aad in aaa 2016-08-05 00:30:56 +02:00
pancake
5b189ee595 Fix #5447 - Implement aO command 2016-08-04 23:52:30 +02:00
Maijin
9a404b6d9c Add rowlog for aad in aaa 2016-08-04 14:26:30 -07:00
pancake
3ca1d5653c Add 'aad' to analyze data refs which are actually code 2016-08-04 22:53:18 +02:00
pancake
f840836af8 Add aad command to analyze data refs as code (LEA) 2016-08-04 22:52:33 +02:00
pancake
9fda59e26d Only use ~/.config/radare2/prefix/bin 2016-08-03 14:03:09 +02:00
pancake
d179c06af3 Support wide strings in rafind2 -ZS 2016-08-03 01:17:27 +02:00
Álvaro Felipe Melchor
a99d53357d Fix #5352 - Endianness problems for wopO command 2016-08-02 23:22:34 +02:00
pancake
4a190d770c Some anal cleanup and aim for the fwdjmp bb issue 2016-08-01 18:41:07 +02:00
pancake
d917902b4e Fix #5427 - ao[n] shows same bytes on all instructions 2016-08-01 16:18:24 +02:00
pancake
7b0622f85d Fix latest covs 2016-08-01 14:46:17 +02:00
pancake
5174f8f624 Fix #5436 - uninitialized var in izz 2016-08-01 14:19:51 +02:00
pancake
8e45f6248c Fix #5425 - Code cleanup and refactor 2016-08-01 13:58:14 +02:00