Commit Graph

21144 Commits

Author SHA1 Message Date
radare
b0141ba809
Improve pf visualization via Cf in pd ##disasm 2019-03-31 21:43:19 +02:00
Khairul Azhar Kasmiran
f8dec83968 Fix Visual jk - prc interaction (#13578) 2019-03-31 18:22:07 +02:00
Florian Märkl
a98ddf66b2 Fix iCj for PE (#13579) 2019-03-31 18:21:47 +02:00
radare
bb823232f4
Fix #13491 - Handle $aliasFiles in 'cat' and 'rm' 2019-03-31 13:57:00 +02:00
Khairul Kasmiran
3109c4a627 Remove some whitespace from cmd_print.c 2019-03-31 18:25:04 +08:00
Anton Kochkov
b858e7e10e Fix #13430 - Kill MinGW remnants ##deprecate 2019-03-31 12:03:07 +02:00
Wladimir J. van der Laan
e3e4b3d785 anal_riscv: Implement get_reg_profile ##anal
Add `get_reg_profile` call for RISC-V. In this profile, include the
integer and floating point registers. Use the ABI register naming
instead of the architectural one as this was chosen in the disassembler.

This is straightforward as the user-level ISA only specifies these
registers. In RV-I there are no flags, and only a few read-only
counter CSRs are accessible from user mode which (I think) don't need to
be in this structure. In RV-F/D there is one 32-bit CSR containing a few
flags.

This addition is not quite enough to get analysis or debugging working,
but can be a step towards that, and prevents warnings about being unable
to import the register profile from isil during launch on RISC-V.

Also update bits to `32|64` instead of `16|32`—there is no 16-bit
RISC-V.
2019-03-31 11:38:06 +02:00
Vanellope
1add3c3cd8 Fix a crash ##panels (#13567)
* Fix a crash ##panels
* why not just using r_str_new ##panels
2019-03-31 02:24:43 -05:00
GustavoLCR
a6107c4290 Fix arm thumb endianess (#13572) 2019-03-31 02:22:38 -05:00
radare
25161eaaf1
Load basic types on startup instead of onload ##types 2019-03-31 05:47:32 +02:00
radare
8d5f43fe51
Fix assert in format print when trynig to retrieve a null register name (#13569) 2019-03-31 01:30:39 +01:00
radare
de0175ecad
Fix warnings when SN is not defined for a specific arch (#13568) 2019-03-31 01:08:47 +01:00
radare
7ffa72aaed
Fix #13552 - Crashes in tcc parser (#13566) 2019-03-31 00:32:14 +01:00
radare
60f91df479
Fix #13502 - alignment of .dword things ##disasm (#13565) 2019-03-30 23:20:13 +01:00
Óscar Carrasco
4b22d1cbbe Fix #12041 - fix truncated pf output ##format 2019-03-30 22:54:17 +01:00
David CARLIER
ad13e09b11 Fix some warnings and remove unused code 2019-03-30 21:24:21 +01:00
Khairul Azhar Kasmiran
c5522a963d prc honors io.unalloc ##print 2019-03-30 21:20:52 +01:00
Florian Märkl
cd5794af31 Revert "[WIP] Added jump and fail info to pdJ"
This reverts commit 20f875bb90.

from #13481
2019-03-30 19:50:49 +01:00
Florian Märkl
dd76d87c34
Remove reflines2 ##disasm (#13563) 2019-03-30 19:50:23 +01:00
Florian Märkl
25d0c58d65
Remove dead r_core_save_parsed_type() declaration (#13564) 2019-03-30 19:50:02 +01:00
Wladimir J. van der Laan
8aa8782aa2 Build arch detection for RISC-V (#13560)
Make sure that `asm.arch` and `anal.arch` is set correctly when starting
radare on RISC-V.
2019-03-30 15:41:15 +01:00
Anton Kochkov
726e15054c
Fix #13451 - make afs work ##anal (#13558) 2019-03-30 07:17:15 -05:00
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