Commit Graph

461 Commits

Author SHA1 Message Date
pancake
c17889a9b4 Fix fd and use it in axt and visual xrefs 2017-01-24 01:41:12 +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
95cddc5151 Show function+delta in visual title 2017-01-11 23:56:36 +01:00
pancake
075949f04a Fix V@ and implement Vc@ 2017-01-11 23:51:20 +01:00
pancake
e23c173460 Use <> keys in visual to seek cursor to select ranges and move with precission 2017-01-10 01:47:15 +01:00
pancake
5cbb0324b6 Restore the selected tab on non-debugger view 2016-12-28 12:44:26 +01:00
pancake
79d785c19d More fixes for Vx to make it work on small terminals 2016-12-26 14:05:00 +01:00
pancake
d78af7acf6 Enhance Vx visualization 2016-12-26 13:51:12 +01:00
pancake
3cab378e00 Fix regression after memleak fix 2016-12-20 02:14:37 +01:00
Álvaro Felipe Melchor
24f9981b65 Fix warning and restore asm.cmtright in r_core_visual_graph 2016-12-20 02:12:05 +01:00
pancake
44040638b0 Fix some overflows and null derefs reported by clang-analyzer 2016-12-20 00:48:02 +01:00
Álvaro Felipe Melchor
88d4649cc6 fix more coverities 2016-12-19 17:23:30 +01:00
pancake
9039228b58 Honor Q as an alias for q! in visual and prompt 2016-12-19 04:46:50 +01:00
Álvaro Felipe Melchor
224b3c3319 fix some coverities 2016-12-18 23:41:55 +01:00
pancake
529613dbbe Fix #6293 - V after agf not working 2016-12-09 15:29:15 +01:00
pancake
8c96a90d09 Fix first visual seek to PC in debugger mode 2016-12-03 12:27:32 +01:00
pancake
72e874c2ac Fix noreturn issue introduced with the flag_get_at aproximation 2016-12-01 10:48:00 +01:00
pancake
15b43564fd Manipulate stack.delta and stack.size with Vppc[jk+-.] 2016-11-24 23:25:49 +01:00
pancake
2aaf0b2d9d Fix #2924 - Add key in visual insert mode to remove or insert bytes 2016-11-24 04:46:01 +01:00
pancake
5cbcdb2466 Temporary PoC to fix flagdelta in visual title 2016-11-23 12:30:43 +01:00
pancake
2f8acc984b Adjust asm.cmtcol in visual with [] keys and cursor mode enabled 2016-11-22 23:30:46 +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
d606c77266 Use quotes in visual to toggle columns mode 2016-11-21 00:19:15 +01:00
Álvaro Felipe Melchor
1dcd1273fb Fix oob write in disasm.c myregwrite
There was a dangling pointer in esil pointing to RDisasmState

WRITE of size 1 at 0x620000000a88 thread T0
    #0 0x103fab3dc in myregwrite disasm.c:2793
    #1 0x1049544b9 in r_anal_esil_reg_write esil.c:545
    #2 0x1049621e4 in esil_subeq esil.c:1418
    #3 0x1049570e0 in runword esil.c:2365
    #4 0x104955bcf in r_anal_esil_parse esil.c:2466
    #5 0x103f417e4 in r_core_anal_esil anal.c:3145
    #6 0x103df14e0 in cmd_anal_all .cmd_anal.c:4600
    #7 0x103d6c610 in cmd_anal .cmd_anal.c:4829
    #8 0x103f1ee25 in r_cmd_call cmd_api.c:213
    #9 0x103dd7afc in r_core_cmd_subst_i cmd.c:1960
    #10 0x103d66007 in r_core_cmd_subst cmd.c:1311
    #11 0x103d5fd0b in r_core_cmd cmd.c:2477
    #12 0x103d3910c in r_core_prompt_exec core.c:1687
    #13 0x103c9b1de in main radare2.c:1021
    #14 0x7fff9339b5ac in start (libdyld.dylib+0x35ac)
2016-11-15 19:35:28 +01:00
Sebastian Reichel
e9383b1441 Arch independent data in share (#6183)
* magic data is architecture independent

* fcnsign data is architecture independent

* opcode data is architecture independent

* syscall data is architecture independent

* hud data is architecture independent
2016-11-12 11:08:34 +01:00
pancake
637e6db3e1 Initial fix for #5113 - axf not working 2016-11-07 03:13:17 +01:00
pancake
f3895cdfc0 Initial implementation of io.pava 2016-11-04 03:15:17 +01:00
pancake
c15cf1239c Initial support for io.pava 2016-11-04 01:30:35 +01:00
pancake
9f4c8768a7 Implement prj.files and fix some bugs in project listing and saving 2016-10-17 23:58:39 +02:00
pancake
dd8ccc7b13 Honor vim command 2016-10-17 13:11:46 +02:00
pancake
2b37951e63 Initial implementation of pC (column disasm) 2016-10-08 00:02:47 +02:00
radare
20ec177ba0 Initial implementation of flag zones 2016-10-06 02:40:26 +02:00
pancake
6db1ee101d Fix wxs command 2016-10-04 18:03:03 +02:00
pancake
cde25b0335 Refix #5715 - Add Ve$ command to see vars in visual 2016-09-15 12:40:46 +02:00
Anton Kochkov
b86f1c471d Add , help 2016-09-08 13:24:42 +03:00
pancake
6b1a0677fd Revert "Remove agv fix #5662"
This reverts commit 1248617989.
2016-09-02 17:14:52 +02:00
Maijin
1248617989 Remove agv fix #5662 2016-09-02 14:11:42 +02:00
pancake
2f73865c5c Fix #5572 - show disasm in Vx and also fix build 2016-08-22 18:44:52 +02:00
pancake
9021789382 Fix #5546 - Implement Vv[JK] to scroll pages of functions 2016-08-18 00:29:11 +02:00
SkUaTeR
83266a0a4e Add socket timeout on windows connect 2016-08-16 03:19:15 +02:00
Chris Rorvick
9b47635f0c remove `next' param from r_core_block_read()
This was originally used to cause a seek to the next block prior to
reading such that successive calls to r_core_block_read() would progress
through memory one block at a time.  This was broken, though, by commit
452669d941 ("more cleanup in r_core_block_read") when when it used
`next' to directly calculate the offset rather than via a seek.

Only one call site remains that attempts to read the next block instead
of the current, and this probably was not even observable due to the
"hacky fix" added in commit 3bfa61946e ("Cleaner pvj, fix tinype load,
and honor 'ao N's").

The current of semantics of `next' appear to be broken and there is very
little dependence on it.  If the original behavior should be restored
anywhere, it would be much better to add a new function, or just do the
seek explicitly, rather than parameterizing r_core_block_read() on it.
2016-08-15 14:26:58 -05:00
pancake
6dfba715b1 Fix #5361 - realtime hexview edit mode 2016-07-25 05:14:48 +02:00
Álvaro Felipe Melchor
4b08d38cb1 more mem leak fixes 2016-06-29 10:11:25 +02:00
Jeffrey Crowell
c145740030 replace r_cons_printf("%s\n",p) r_cons_println(p)
move from 10% of code in vfprintf to just 6% \o/ for simple tests of r2
-c "aaa" -q /bin/ls
2016-06-26 00:52:03 -04:00
pancake
b829244c19 Fixes for thumb/arm string references and endian refptr 2016-06-12 23:42:37 +02:00
Jeffrey Crowell
7c3fb53a5e fix disassembling 'backwards'
(e.g. pd -5) producing wrong output

fixes #5105
2016-06-11 10:59:42 +02:00
Anton Kochkov
68ef35f635 Uniform name RUndos -> RIOUndos (for bindings) 2016-06-02 07:34:06 +03:00
pancake
d3394d5a7a Fix latest 28 COVs 2016-06-02 03:19:31 +02:00
Rene Laemmert
2740e74e49 added cursor to undo seek history (#5054)
* added cursor to undo seek history

* cleanup the mentioned parts
2016-06-01 12:16:00 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00