Commit Graph

10840 Commits

Author SHA1 Message Date
Lowly Worm
0baf5d6e9a use r_debug_step_over in dsf 2016-10-29 15:52:12 -07:00
Lowly Worm
7b70402037 fix the dsf to use step over, so that it functions properly
not a full fix for making a good `finish` equivalent, but better than
nothing.
2016-10-29 15:46:27 -07:00
Maijin
697efb1b51 Add __uClibc_main in non-return list
Add __uClibc_main in non-return list
2016-10-29 15:13:16 +02:00
pancake
e31164a5fa Fix latest covs 2016-10-29 13:06:11 +02:00
Francesco Tamagni
98a35bf83b Disable color during pds string parsing (#6062)
* Disable color during pds string parsing
- color causes extra ';' chars to break string matching in pds
* Use pdr in pdsf
- and avoid displaying branches to non-symbols
* Improve pds
- avoid treating branches to non-symbols as calls
- only in specific case of arm's b instruction
- remove redundant string compares not needed if color is disabled
2016-10-29 12:33:58 +02:00
Maijin
0adfbae0a7 Beautify some of the function definition
Beautify some of the function definition
2016-10-29 12:31:02 +02:00
dx
4385bad569 Fix #6056 - crash on "mp gpt" and other non-msdos grub part types (#6065)
The only partition type with grub_parhook was "msdos", and grub_parhook is
needed to call avoid calling the partition map as if it were a function.

Also simplified a few void * casts.
2016-10-29 12:27:54 +02:00
Maijin
878d25a8d5 Reset asm.filter after pdc bug #6066 2016-10-29 12:15:46 +02:00
Sven Steinbauer
54afd47d9e Remove m68k asm and anal from core (#6063)
* Remove m68k disassembler - Moving to extras
* Remove m68k anal plugin - Gets moved to r2e to be installed with m68k
2016-10-28 12:54:48 +02:00
Maijin
31fdc07947 Fix parsing error with const 2016-10-28 12:29:54 +02:00
Maijin
3f534abdd9 Add more functions for linux/osx 2016-10-28 12:23:41 +02:00
pancake
a597684970 Chopro the flag command args 2016-10-28 12:19:44 +02:00
pancake
eb272dc6f3 Honor SN in syscall resolution on disasm 2016-10-28 02:27:50 +02:00
pancake
8cd6077600 Fix filesize for mach0 in rabin2 -C 2016-10-28 01:04:25 +02:00
pancake
80f92cba4e Fix wt usage 2016-10-27 23:55:54 +02:00
pancake
196e5a763c Add ik* command to load bin headers info, and use Cf for that 2016-10-27 23:51:22 +02:00
pancake
f95744b9a1 Implement LC_MAIN and PAGEZERO in rabin2 -C mach0 2016-10-27 22:53:01 +02:00
Francesco Tamagni
961b0cfdaa Fix another memleak in pdr (#6059)
- avoid overwriting a parent_reg_arena coming
from another parent
2016-10-27 22:08:36 +02:00
Álvaro Felipe Melchor
b478d3d757 Fix #6047 - underflow in prompt 2016-10-27 19:42:55 +02:00
Francesco Tamagni
9d13a48563 Fix memleak in pdr on backward jumps (#6057)
- arena is propagated only in foward jumps / fails
- because pdr evaulates blocks in order of address
2016-10-27 17:46:12 +02:00
pancake
3f5cdfe77c Add autocompletion for et 2016-10-27 17:20:54 +02:00
pancake
048eaff1a9 Autocomplete ec 2016-10-27 17:19:59 +02:00
pancake
e8ddc68893 Add autocompletion for wxf and wtf 2016-10-27 17:11:24 +02:00
pancake
961e9479dc Autocomplete eco color themes 2016-10-27 15:50:02 +02:00
pancake
1ab7c43efe Fix #6054 - divbyzero in pcp 2016-10-27 15:32:00 +02:00
Sven Steinbauer
7d5f4cbde7 Assemble 64bit byte mov correctly [FIX 6042] (#6053)
$ rasm2 -a x86 -b 64 'mov byte [rbp - 0x100], 2'
c68500ffffff02

Oddly this also compiles correctly before this patch with keystone
installed. Not sure as to why yet.
2016-10-27 15:14:10 +02:00
pancake
57784e02b1 Update linux-arm-64 from android definitions (thanks @maijin) 2016-10-27 13:35:10 +02:00
pancake
94d47c79bb Completely remove all references to list.h 2016-10-27 13:33:27 +02:00
pancake
ffc74163b4 Fix div by zero with scr.pagesize and matrix theme 2016-10-27 04:45:39 +02:00
pancake
05bdb884a1 Ansify+update rasta and white themes 2016-10-27 04:22:09 +02:00
pancake
ae41db5a3d Fix dark theme and add new theme CGA 2016-10-27 03:55:27 +02:00
pancake
d2b2314b1b Make the lima and pink themes look as lima and pink 2016-10-27 03:09:51 +02:00
pancake
8a5d768d4a Add asm.minicols config var for pCd 2016-10-27 01:56:38 +02:00
pancake
e925e04ea2 Fix crash in disassembler 2016-10-27 01:42:00 +02:00
pancake
d41b577106 Fix #5924 - r_flags -> r_flag 2016-10-27 01:07:58 +02:00
pancake
3ab7122df2 Implement ?O and r_asm_mnemonics() new API 2016-10-27 00:54:48 +02:00
pancake
aed798e003 Add some breaks in egg and bin 2016-10-26 23:46:41 +02:00
pancake
589ac97bda Fix some overflow-related covs 2016-10-26 23:40:17 +02:00
pancake
8d37adc546 Fix all pending null-deref covs 2016-10-26 23:22:04 +02:00
pancake
ad1a73a2e9 Reindent a bit more 2016-10-26 23:16:31 +02:00
pancake
22e024d5de Implement scr.linesleep and scr.pagesize for fancier demo output 2016-10-26 23:04:55 +02:00
pancake
2d0b00222a Fix syscall resolution for linux-arm-64 2016-10-26 22:31:33 +02:00
pancake
f2dd1a5098 Add initial linux-arm-64 syscall definitions 2016-10-26 22:07:19 +02:00
Álvaro Felipe Melchor
b3e55980a3 Fix #6035 - oob read java_switch_op 2016-10-26 19:04:26 +02:00
Álvaro Felipe Melchor
5800b23e8f Fix #6034 - "fix" uaf in fcn_callconv
share ownership should be taken with care
2016-10-26 18:57:15 +02:00
pancake
fe4a10ce96 For some reason ret=0 on io.write via rap means -1 2016-10-26 16:52:56 +02:00
pancake
afad3c6380 Fix crash on config_init 2016-10-26 16:26:53 +02:00
pancake
5dab613f08 Honor -w via rap:// 2016-10-26 16:26:11 +02:00
Maijin
f49448faf0 Add remaining .h 2016-10-26 14:53:31 +02:00
pancake
8b8151d12e Fix latest covs 2016-10-26 11:25:50 +02:00