Commit Graph

21122 Commits

Author SHA1 Message Date
Khairul Kasmiran
a107d815c1 Remove unused CMP_END_GT() 2019-03-30 19:27:16 +08:00
Vanellope
6fd6cc2428 bunch of menus work which had been broken such as ROP, etc ##panels (#13556) 2019-03-30 10:38:29 +01:00
Deepak Chethan
20b56efda8 Include aap in aaa (#13543)
* Include aap in aaa

* Added aap only if file.type is unknown

* extracted them to method
2019-03-29 17:28:58 +01:00
Vanellope
ccda244471 asm.var.summary should be on if the screen is too small ##visual 2019-03-29 17:28:37 +01:00
pancake
da6d03a03e Add dex.h and cdex.h for header structs ##bin 2019-03-29 16:54:34 +01:00
pancake
860d76bcfa Add the ability to open .h files with the 'pfo' ##types 2019-03-29 16:53:44 +01:00
radare
674504a90c
Fix #13333 - Show flag zones in scr.scrollbar ##visual 2019-03-29 16:10:59 +01:00
pancake
e8eced4257 ^F,B in visual is used to scroll pages not bytes ##visual 2019-03-29 15:37:52 +01:00
Anton Kochkov
bd9eb0138b
Add ut*/st* type shortcuts (#13550) 2019-03-29 08:22:55 -05:00
radare
97db085479
Fix #13541 - Automatic radiff2 -p when no bininfo is found ##diff 2019-03-29 13:03:17 +01:00
radare
d3d53ac834
Add pfo dex|macho and bind structs to offsets with Cf via .iH* ##format 2019-03-29 13:00:49 +01:00
Giovanni
399bba4152 Fix bugs on E_MASK_D and BD24 (343eeb9) powerpc/vle ##disasm 2019-03-29 10:26:50 +01:00
radare
3708582b9e
Parse segment name in -H, deprecate 2 old load methods ##bin (#13542) 2019-03-29 09:13:11 +01:00
Ahmed Abd El Mawgood
f1dfe4e99c Adding symbols for 32bit version of mfc140u.dll ##bin 2019-03-29 00:37:00 +01:00
Khairul Azhar Kasmiran
47faa8ec0d Fix io.unalloc off-by-one (#13535) 2019-03-28 19:00:50 +01:00
Florian Märkl
110b5fb15c Fix newline after axj output (#13533) 2019-03-28 13:51:29 +01:00
Florian Märkl
555de8d086 Show destination in axf ##anal 2019-03-28 13:29:07 +01:00
sivaramaaa
18033d83da Analyze symbols of type STATIC ##anal 2019-03-28 10:08:11 +01:00
condret
b0761b3de6 Add Vvvt - visual function var types ##visual 2019-03-28 10:06:59 +01:00
guy-gal
c68988dc50 Add support to multiline assembly patching (#13526)
For example, this line 'OFFSET : nop;nop;nop' (provided in the example patchfile at binr/rabin2/patch.txt) now actually works
2019-03-28 10:05:51 +01:00
Francesco Tamagni
d271da09ab Fail kernelcache check for non-arm64 kernels ##bin 2019-03-28 09:21:30 +01:00
Vanellope
689873a80f Fix a minor bug in panels (#13531) 2019-03-28 09:20:34 +01:00
Vanellope
2f9873bdf1 Submenu is also highlighted ##panels (#13528) 2019-03-27 20:22:46 +01:00
Francesco Tamagni
e2ab4ef2ce Use entrypoint from LC_UNIXTHREAD for the Kernelcache ##bin 2019-03-27 12:18:45 +01:00
pancake
a893a0f262 Fix build 2019-03-27 11:52:56 +01:00
pancake
118bf6a693 Fix build 2019-03-27 11:23:50 +01:00
radare
5c60aa24d8
Fix integer overflow that leads to a crash in the DEX parser ##bin (#13520) 2019-03-27 10:30:22 +01:00
pancake
2fbc484f57 Fix #13511 - pqz -> pqs and psq as an alias for pqs 2019-03-27 10:23:47 +01:00
radare
9ed8d8b8c0
Add R_ANAL_OP_MASK_DISASM for r_core_anal_op() for now ##anal 2019-03-27 10:19:18 +01:00
Francesco Tamagni
3dc2f3c04d Rewrite kernelcache check_bytes (#13518)
Parse load commands to extract 3 metrics (kudos to @Siguza for suggesting):
- use of LC_UNIXTHREAD
- absence of any library linked against
- addresses in the upper half of the address space

If those are met, then it’s a kernelcache. This just needs to parse all load commands types and vmaddr from LC_SEGMENT_64 (but nothing more) from the bytes.
2019-03-27 09:17:04 +01:00
radare
bbe1806ce8
Reduce false positives in aav honoring align and skipping code blocks ##anal
* Run aav after aac in aaa
2019-03-27 02:34:59 +01:00
Mikael Modin
aa07738c10 Fix #13363 - Remove URI handler before looking for auxillary script ##debug
When using debugger the file assumed path for the auxillary script
was dbg://<binary path>.r2, without debugger it's just <binary path>.r2.

This patch cuts out the 'dbg://' prefix if found before looking for the
auxillary script.
2019-03-27 01:33:48 +01:00
Vanellope
9d13fcf311 Menu should not be highlighted when it's not focused ##panels (#13512) 2019-03-27 01:31:24 +01:00
Alex Gaines
a515176659 Add an early-out optimization for r_isprint (2%-30% speedup) ##optimization 2019-03-27 01:28:18 +01:00
pancake
bec7063a53 Rename mg to mc and implement 'mg' properly ##fs 2019-03-27 00:51:49 +01:00
Riccardo Schirone
3f4580b031
Make buf field private in RBuffer (#13473)
* Fix pemixed build (and include it in meson build)
* Do not use base_priv in yank, it was wrongly used.
2019-03-26 20:32:53 +01:00
pancake
bfb310360c Fix jump/fail for Java ops 2019-03-26 13:59:44 +01:00
xarkes
20f875bb90 [WIP] Added jump and fail info to pdJ (#13481)
* Added jump and fail info to pdJ

* tired of waiting
2019-03-26 13:29:48 +01:00
pancake
874b394632 pxA > pCA 2019-03-26 13:08:02 +01:00
Giovanni
8058018973 Fix #11133 - Remove buf_hex frield from RAsmOp ##refactor 2019-03-26 12:50:13 +01:00
pancake
9424078b5c Fix dt+ command parsing 2019-03-26 10:16:37 +01:00
Riccardo Schirone
703eae60e6 Fix build on capstone3 2019-03-26 10:16:26 +01:00
Riccardo Schirone
9b61404006 Fix .travis to build release/prereleases branches too 2019-03-26 08:24:00 +01:00
pancake
9043e098bd Fix regressiono 2019-03-26 00:21:05 +01:00
pancake
a9733fe978 Handle b key in graph, doing the same as in visual ##graph 2019-03-25 23:59:51 +01:00
pancake
5a0f859110 Handle more X86 instructions to, at least fill the ->type 2019-03-25 23:43:27 +01:00
pancake
67bc30a5f6 Fix #13367 - last line glitch in r_cons_strcat_at 2019-03-25 21:18:17 +01:00
pancake
0823980429 Fix #13367 - Fix offbyone alignment in line printing 2019-03-25 21:18:17 +01:00
Vanellope
5e5983238f Fixed some critical issue in resizing ##panels (#13508) 2019-03-25 21:05:03 +01:00
Vanellope
10894a3254 Panels move more flexibly with HJKL ##panels 2019-03-25 15:56:19 +01:00