518 Commits

Author SHA1 Message Date
pancake
c189495a94 Fix pf.-x tests 2017-01-20 15:43:25 +01:00
Álvaro Felipe Melchor
d914a51a58 Revert "handle thumb/arm with blx/bx when asm.emu=true"
This reverts commit 5253d857b01f5981df72a449802c159cf5e2fa90.
2017-01-19 21:53:02 +01:00
Moritz Eckert
c176c48ffc Implement: Show comments in hexdump #6460 (#6527)
* Add hex.comments variable to config
* Add get_comments callback to the core api
* Add comment printing functionality to px
* Add pxc function
* Change visual mode hexdump to pxc
* Boolify use_comments
2017-01-18 16:12:06 +01:00
pancake
c646b99724 Fix #6475 - Show offset flags in pxr 2017-01-13 14:13:53 +01:00
pancake
67d1c1b257 pf i != d (signed vs unsigned) 2017-01-12 00:31:53 +01:00
pancake
0bb0d5d5e0 Refix p=d 2017-01-11 00:45:35 +01:00
pancake
0021842972 Fix p=d [arg] 2017-01-11 00:22:18 +01:00
Álvaro Felipe Melchor
5253d857b0 handle thumb/arm with blx/bx when asm.emu=true 2017-01-08 17:28:01 +01:00
pancake
6428a6f4dc Fix 32bit chop rnum issue for Windows 2017-01-05 00:25:45 +01:00
pancake
093f77f851 Fix pcA 2017-01-05 00:18:06 +01:00
pancake
55231915fa Implement pcA to show disasm comments in .S output 2017-01-05 00:11:57 +01:00
Álvaro Felipe Melchor
4c1f049f35 fix regression with negative offset in pc 2016-12-28 15:30:45 +01:00
pancake
3b439878fd Fix color reset issue in p- 2016-12-26 05:19:48 +01:00
Álvaro Felipe Melchor
a874de805e clean up code applying coding style 2016-12-15 21:04:27 +01:00
pancake
f6fb2b709f Fix #2673 - Add pdC 2016-12-13 13:06:22 +01:00
pancake
3aafc7be5a Better handling of meta in pdi 2016-12-13 12:35:13 +01:00
pancake
bb124781a2 Fix #6257 - Honor meta in pCd and pdi 2016-12-13 02:37:28 +01:00
pancake
6342800ce4 Less newlines to fix #6297 2016-12-13 02:24:25 +01:00
pancake
1ebc5e29ec Fix #6308 - Fix crash in /P and enhance the output 2016-12-10 23:29:32 +01:00
pancake
d26917a0a2 Fix #6141 - implement pkill 2016-12-09 18:12:38 +01:00
pancake
4484781169 Fix last cov (uninit var) 2016-12-09 15:39:48 +01:00
leberus
7f5a709a8f Add: pir command (#6276) 2016-12-05 19:41:37 +01:00
Álvaro Felipe Melchor
028e8f0ca3 Fix few covs 2016-12-04 22:26:17 +01:00
pancake
025119779f Fix boundaries in p-j after aaa 2016-12-02 21:08:20 +01:00
pancake
3d03750056 Add rwx field in the p-j output 2016-12-02 20:44:32 +01:00
pancake
72e874c2ac Fix noreturn issue introduced with the flag_get_at aproximation 2016-12-01 10:48:00 +01:00
Maijin
ffd8ecd14b Add remaining [?] 2016-11-26 14:57:21 +01:00
pancake
60b3b0a79e Fix p-j ansi code, add access type and fix a lot more null derefs in anal.types 2016-11-23 16:20:58 +01:00
pancake
3fb96ff37f Fix last COVs and hopefully make travis green 2016-11-23 10:25:00 +01:00
pancake
fe39119f4b Colorize p- and fix some help messages 2016-11-22 21:25:04 +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
fa2855349a Fix e cmd.vprompt=p- 2016-11-21 02:37:11 +01:00
pancake
d606c77266 Use quotes in visual to toggle columns mode 2016-11-21 00:19:15 +01:00
pancake
ecd414a6bf Fix [p[x] len] regression introduced in the ph fix 2016-11-07 04:52:38 +01:00
pancake
de2cc698ba Only blockread when needed in ph 2016-11-07 03:36:49 +01:00
pancake
baf53e4869 Fix #6127 - ph was breaking tmpseek 2016-11-07 02:33:09 +01:00
dx
34c63c8db9 Fix #2401, #2402, #6133 - p8/pB/px with negative len (#6134)
p8 (#2401) and pB (#2402) were broken, and px wasn't cleaning up
correctly after changing the block size (#6133).

The fix for the last one involved deferring block size cleanup to the
r_core_block_size() call at the end of the function, and moving that
call *after* seeking to the original position instead of before (which
is what was making it leave data with the wrong offset in core->block)

After simplifying that, the fix to the p8 and pB issue is just calling
r_core_block_size() to reread the block like px does.
2016-11-06 21:54:25 +01:00
pancake
04c5c8c77f Fix pdrj JSON 2016-11-05 00:46:00 +01:00
Moritz Eckert
ba3ed8f7f6 Fix pi -x Issue (#6117) 2016-11-04 23:15:54 +01:00
pancake
c15cf1239c Initial support for io.pava 2016-11-04 01:30:35 +01:00
pancake
893f0b056e Fix segoff regression in pie 2016-11-02 04:07:58 +01:00
pancake
52dd1f85f0 Add asm.decoff 2016-11-01 23:30:36 +01: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
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
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
1ab7c43efe Fix #6054 - divbyzero in pcp 2016-10-27 15:32:00 +02:00
pancake
8a5d768d4a Add asm.minicols config var for pCd 2016-10-27 01:56:38 +02:00
pancake
aed798e003 Add some breaks in egg and bin 2016-10-26 23:46:41 +02:00
pancake
8d37adc546 Fix all pending null-deref covs 2016-10-26 23:22:04 +02:00
Francesco Tamagni
f41f74c527 Fix #4497 - Recursive function emulation 2016-10-24 14:31:03 +02:00