Commit Graph

560 Commits

Author SHA1 Message Date
pancake
a211cf28ba Some missing sr sp -> sr SP 2015-11-23 16:31:31 +01:00
pancake
0b383eba98 VS step overs also on esil 2015-11-23 16:24:36 +01:00
pancake
cab871f3e6 Fix #650 - asm.bbline - blankline on every basic block 2015-11-23 01:40:35 +01:00
pancake
ccfee9fcca Fix many important issues reported by clang-analyzer 2015-11-22 11:27:45 +01:00
Álvaro Felipe Melchor
2612fcd197 Remove unnecessary r_core_seek because of 0f94d1c 2015-11-19 23:05:09 +01:00
pancake
0f94d1c562 Fix #3710 - cursor+enter in call 2015-11-19 12:23:10 +01:00
Jeffrey Crowell
7f903ce589 s/commant/comment 2015-11-18 17:32:18 -05:00
pancake
ba74db8e3a Initial implementation of CC, 2015-11-18 17:03:46 +01:00
pancake
30b1fcc208 Initial implementation of the V, comma-ents stuff 2015-11-18 13:03:35 +01:00
Álvaro Felipe Melchor
eee5f76d40 Fix in visual.c to follow references with 0-9 2015-11-13 19:03:34 +01:00
Álvaro Felipe Melchor
9bd735a844 Fix u/U in visual mode when scr.feedback=0 2015-11-13 18:09:59 +01:00
pancake
bfec76bfb4 More uppercasing 2015-10-31 02:20:25 +01:00
pancake
365d089eb8 Fix #3557 - V_ is the new VF_, old one is in V?? 2015-10-29 12:54:19 +01:00
pancake
c59ea904e5 Fix #3532 - visual prompt always at bottom 2015-10-21 00:57:15 +02:00
pancake
933a3a3182 Do not follow PC in visual when cfg.debug is set and its invalid PC 2015-10-15 17:28:34 +02:00
jvoisin
420a5c41e0 Fix some minor compilation warnings 2015-10-15 12:36:34 +02:00
Riccardo Schirone
06ec37edd2 core/graph: use multiletter shortcuts to jumps between functions
TODO: shortcuts relative to basicblocks should make the target node the
current one.
2015-10-14 00:10:58 +02:00
pancake
d5a65fa24d Initial support for VB (needs more work) 2015-10-12 16:11:19 +02:00
pancake
a2353c1b00 Fix #3429 - save/load visual marks using the new fV command 2015-10-12 14:33:52 +02:00
Riccardo Schirone
e6f01e162c core/graph: handle functions with no basic blocks
fix #3381
2015-09-28 10:18:26 +02:00
pancake
c94dd22f4d Enhace drr, also arr. add dbg.slow and better debugmap names in xnu 2015-09-28 02:04:08 +02:00
pancake
50340be871 Fix #3376 - Implement immbase anal hint 2015-09-28 01:00:06 +02:00
Jeffrey Crowell
92226d0650 Rename r_config_swap() to r_config_toggle()
closes #3309
2015-09-17 14:20:51 -04:00
pancake
b515a34676 More stdboolification 2015-09-14 12:35:38 +02:00
Riccardo Schirone
ffdbf919b1 io/section: add r_io_section_vaddr_to_maddr_try API
* fix r_io_section_vaddr_to_maddr
* rename r_io_section_maddr_to_vaddr and vaddr_to_maddr
2015-09-10 01:59:40 +02:00
pancake
f5f7216e0a Add _ key in V! for hud 2015-08-31 13:57:39 +02:00
pancake
f1651994e3 Use ' ' to toggle disasm/graph. hjkl/HJKL keys swapped in graph 2015-08-31 00:55:41 +02:00
Maijin
6831dd2f6d Revert "More misc cleanup"
This reverts commit 788a3b02c7.

	modifié :         libr/bin/format/pe/pe.c
2015-08-28 20:58:21 +02:00
jvoisin
788a3b02c7 More misc cleanup 2015-08-28 19:13:27 +02:00
jvoisin
e0e170c3c5 Fix various clang-analyser issues 2015-08-28 18:29:31 +02:00
Álvaro Felipe Melchor
c06dee984e Added the ability to go/seek in Visual Ascii Graph
Fix #2906 - Added the ability tu undo and redo in Visual Ascii Graph

updated agraph_refresh
2015-07-25 20:46:58 +02:00
Jeffrey Crowell
ba8a2983e1 fix #2722, make sure that the file is open b4 G 2015-06-12 15:47:08 -04:00
pancake
3013b98099 Add key.s/key.S config vars and fix aagraph glitch 2015-06-12 02:19:58 +02:00
Riccardo Schirone
33a550aa23 core/graph: fix undefined behaviour in event_resize callback
* fix bug in VV introduced by f802bdf3b1
* code refactoring
2015-06-11 12:46:36 +02:00
Judge Dredd (key 6E23685A)
e46f183b7c fix #1298 2015-06-09 15:53:02 +02:00
pancake
c517036f20 Fix visual glitch with lastline fill 2015-06-05 00:34:26 +02:00
pancake
9c467f2ade Fix #326 - call comments honor asm.cmtright now 2015-06-05 00:19:41 +02:00
Riccardo Schirone
8cb35540c7 cons: use all the available space in the screen
* r_cons_get_size should return the number of rows, why is there a "-1"?
* the newline at the end of the canvas converted to string (in
  r_cons_canvas_to_string) make things shift up one line
* r_cons_canvas_write should consider "left" (which is the number of
  chars available from x until the right side of the screen) and not
  "left - 1". Moreover, since "slen" is at most the maximum number of
  characters that we can print in that row, there is no need to check
  if we can write those bytes
* r_cons_flush usually add a newline, but we shouldn't print it because
  otherwise everything will shift up by one line
2015-06-04 19:11:16 +02:00
pancake
10b701640c Fix #2672 - Add 'Vz' to fold/unfold comments. Old Vz is now VZ 2015-06-02 01:04:10 +02:00
pancake
999f2d5de5 Add scr.atport option to enable old behaviour on linux 2015-05-19 00:18:14 +02:00
pancake
ee3141778a Handle V@ with threads on osx/w32. Needs refinement 2015-05-19 00:11:04 +02:00
skuater@hotmail.com
ec1ba93468 fixed K/RePag outbounds 2015-04-16 10:30:54 +02:00
pancake
b4bbb2220c Fix visual regression and add dummy dalvik regprofile 2015-04-11 04:45:09 +02:00
Anton Kochkov
c5f2f3521f Fix the leaking holes 2015-04-11 02:05:51 +03:00
pancake
37476d6eef Do not drop raw cons after getchr to avoid visual flickering 2015-04-09 16:43:20 +02:00
XVilka
db22e7337e Fix input on Cygwin 2015-04-07 17:25:14 +03:00
skuater
f98d144afa Windows console enhanced support for arrow and special keys 2015-04-07 15:23:03 +02:00
pancake
2e32d05986 Fix another capstone build breakage issue 2015-03-22 16:49:29 +01:00
pancake
37a5f6d358 Honor RConsPalette in pxA, handle hex.onechar 2015-03-22 16:16:51 +01:00
pancake
6be8b58744 Enhace the "pxA" with cursor and b&w modes 2015-03-21 03:06:31 +01:00
pancake
5cd2165633 Initial implementation of Vt. Still not finished 2015-03-17 01:29:28 +01:00
pancake
28d6c12043 V! -> V!!, VV(nofn) -> V!
- VV only opens if there's a function analized
- V! now opens the panels view
- V!! launches the 2048 game
2015-03-05 23:33:28 +01:00
pancake
ef293e4b66 Initial PoC for the Visual 2.0 (for now: VV) 2015-03-05 02:07:53 +01:00
pancake
b84b8e36ac Make V? ignore cursor mode. Vc? is now Vdm 2015-02-17 11:47:24 +01:00
pancake
e51808cb44 Changes in Visual keys: VF -> Vf-, Vt -> VF 2015-02-17 01:02:00 +01:00
pancake
421dd1243f Obey scr.color in RConsCanvas from RCore.cmd("VV") 2015-02-14 04:50:29 +01:00
pancake
4c58ac2416 Initial implementation of p3 the 3D stereogram print mode 2015-02-14 04:17:34 +01:00
pancake
540644dbe5 VW -> :=H, VB -> V%, add Vw and VW (to seek next/prev word), Fix pidx on hud 2015-02-13 11:06:27 +01:00
pancake
e627b3a0a5 Implement V% to move cursor to the next matching pair 2015-02-13 00:36:05 +01:00
XVilka
b6ea8315fe Fix r2 prompt in cygwin 2015-02-12 18:41:21 +03:00
pancake
18c451f2c2 Add scr.wheelspeed and implement dynamic asm.lineswidth in scr.responsive 2015-02-11 00:13:54 +01:00
pancake
7b597ea874 Fix latest COVs 2015-02-08 00:30:25 +01:00
pancake
d9bf313310 Show scroll percentage in vprompt 2015-02-06 19:24:26 +01:00
pancake
f2351636fe Fix r_cons_readline() signature and some code cleanup 2015-01-31 00:50:05 +01:00
pancake
2d454d0d36 Fix invalid disasm scrolling for memory aligned archs 2014-11-10 16:55:13 +01:00
pancake
658d6deee8 Initial add 'C' to toggle colors in ascii graph (buggy+experimental) 2014-11-07 09:56:39 +01:00
pancake
6ef9165f39 Enable asm.cmtright when scr.responsive=1 2014-11-06 11:11:51 +01:00
pancake
8430ff1dba r_bp_get -> r_bp_get_at // .. r_bp_get_in 2014-10-28 02:28:58 +01:00
pancake
8b3cdac3df Add support for negative values in dbg.follow 2014-10-23 00:16:32 +02:00
pancake
c3d65e46a5 Fix dbg.follow 2014-10-23 00:08:12 +02:00
pancake
fc8773f97e Disable mouse in Vd and longer showtime in scr.feedback=2 2014-10-21 01:20:06 +02:00
condret
65d8b20d05 RCoreFile-reduction: kill RCoreFile->rwx 2014-10-08 13:29:47 +02:00
pancake
2642b03076 Handle r2 -C ../V to start in visual. Fix file.loadmethod=append 2014-10-07 01:58:42 +02:00
pancake
1be6be0a75 Spawn cmd.xterm in visual with '@' key. Enhace remote consoles 2014-10-07 00:56:39 +02:00
pancake
2ac80c7c6a Add chunked search /+ and enhace visual mode |=
* | sets cmd.cprompt
* = sets cmd.vprompt
* var names are a bit confusing, we should find better names
* Better highlight
* Fixed column in visual
* scr.colpos has been deprecated, now uses hex.cols
* Initial implementation of a chunked search /+
2014-10-06 02:36:22 +02:00
pancake
845157426a Fix mouse selection problems in V: 2014-10-05 16:20:59 +02:00
pancake
a58789782d Finally fix the brainfuck emulator 2014-10-03 20:05:33 +02:00
pancake
4249664dd4 Fix block cursor problems and temporal cursor seek in visual+prompt 2014-10-01 19:00:06 +02:00
condret
4f70c1bf89 kill RCoreFile->size 2014-09-30 15:31:19 +02:00
pancake
238bd6b6c4 Fix VV: wheel issue and set scr.highlight via Vdh, V/ or VV/ 2014-09-28 04:01:31 +02:00
pancake
0248e53fb6 Add scr.visual, Fix BinBios section loading (rva issue) 2014-09-28 03:27:22 +02:00
pancake
cde83cfd0c Add many experimental enhancements for the visual debugger
- V@ is an alias to set cmd.vprompt
- New config variables!
  stack.size = size of stack displayed in Vpp
  stack.delta = substract that delta to the stack address
  stack.anotated = use pxa instead of pxw
  scr.highlight = word to highlight by RCons
  hex.flagsz = override flag size in pxa
- Fix x86 udis anal plugin size of invalid instructions
- Fix 'hud file not found' issue
- Add 'Vdh' to set scr.highlight
- Fix V: wheel scroll issue
- Realign pxa marks if addr > UT32_MAX
- Set hex.flagsz = 9999 to cover the whole area instead of just 1 byte
2014-09-27 03:48:54 +02:00
Jody Frankowski
df289d8611 Unify fcn_find and get_fcn_at in get_fcn_in and get_fcn_at 2014-09-26 17:16:28 +02:00
pancake
fd02a741a1 Fix JK in !pd, fix pxa and do not parse.filter <0xff numbers 2014-09-25 00:01:09 +02:00
defragger
be0afc119c fixes the marking of disassembly in visual mode when seeking out of screen 2014-09-24 12:15:45 +02:00
pancake
a18f7819d9 Fix the support for 0x0 sized terminals (adb shell) 2014-09-24 03:17:43 +02:00
defragger
92985771df hopefully fixes the cursor movement 2014-09-23 16:14:19 +02:00
pancake
09a43efc8d Reimplemented and working RAnalFcnLocal as RAnalFcnLabel in Sdb 2014-09-23 09:37:21 +02:00
pancake
932279ed7e Initial work to disable FCN_OLD. 2014-09-23 00:40:35 +02:00
condret
606291ef85 enable following a ccall via "enter" 2014-09-22 17:25:59 +02:00
pancake
342ff7ba4f Bring back the anal vars (wip), Fix Vvg, and VJK with screen boundaries 2014-09-22 13:45:36 +02:00
pancake
cc74ade290 Fix VB title issue 2014-09-17 10:36:38 +02:00
pancake
227fb0242f Fix #1335 - Fix CC! 2014-09-15 10:18:00 +02:00
pancake
8110fefc9f Implement aek, aef, Add scr.responsive, esil.status and esil.romem config vars
- Features scr.responsive
- Fix a bug in rarun2 when using a profile
- Update sdb to fix another null deref
2014-09-11 04:18:23 +02:00
condret
ec3df92770 kill r_core_file_t->filename 2014-09-09 17:02:25 +02:00
pancake
411029cb5e Fix pxa segfault and visual blocksize issue 2014-09-08 22:43:13 +02:00
pancake
15aaf3cfc5 Fix the scr.wheel thing again. Waiting for maijin feedback 2014-09-04 11:06:41 +02:00
pancake
b294cf34bc More honors to scr.wheel 2014-09-03 23:55:09 +02:00
pancake
610e8d879c Fix #1279 - Add scr.wheel to enable/disable mouse wheel 2014-09-03 23:13:41 +02:00
pancake
b805d32602 Quote the CC for V; to allow special chars 2014-09-01 01:32:32 +02:00
pancake
84ed11db72 Visual 'O' key toggles asm.esil 2014-08-30 01:11:46 +02:00
jvoisin
7ec7dbd031 Add the hud.path key, closing #1263 2014-08-30 00:17:22 +02:00
pancake
60c7c33e3f Now TT in sandbox mode and fix segfault in free 2014-08-28 03:41:23 +02:00
pancake
c6bc6f099d Rename l to T, add cfg.user and 'TT' chat prompt
* Add cfg.user variable
* Implement TT chat prompt
* Invoked from 'VT'
* Rename 'l' to 'T' command (log -> textlog)
* Add r_sys_whoami () -> set default username
* Add $$ trap instruction in ESIL
* Implement POP and STACK esil commands
2014-08-28 03:11:13 +02:00
pancake
2468566d86 Set cursor=0 when following far branches 2014-08-27 21:56:43 +02:00
jvoisin
9b99c0135d Even more coverifix 2014-08-18 15:03:02 +02:00
jvoisin
8f0fa7567a Fix some memleaks found by coverity 2014-08-17 20:30:48 +02:00
pancake
c91f838821 Handle ':' prompt in aa graph too 2014-08-05 19:49:33 +02:00
pancake
0a292c936a Add asm.indent, handle 'xX' in aa graph and enhace ptr references 2014-08-05 18:03:14 +02:00
pancake
06108516b0 Allow resizing window when in aa-graph-view (VV) 2014-08-04 01:30:29 +02:00
jvoisin
23393e5fc6 Add missing break in visual mode for F[4-5-6] keys 2014-08-01 14:59:31 +02:00
pancake
d98acc233d Add V& key to rotate between asm.bits 2014-06-25 03:07:54 +02:00
pancake
160c4568f7 More RPN ESIL (udis86, vm, conditionals, ..). Honor cfg.debug
- A debugger session can be turned into emulation with 'e cfg.debug=0'
- Fixed undo seek issues
- Fix "Unknown register 'rip'" issue
- debugger commands mixed with analysis ones. We must merge at some point
- More udis86 instructions translated to the new esil
2014-06-17 10:23:11 +02:00
pancake
dfb9d11474 Initial implementation of the new ESIL. (RPNESIL)
Use the 's' key with static analysis to step
Anal backends must be updated to use the new syntax
Uses 'ar' to get/set regs, and anal->io for read/write mem
Some few commands implemented, no extend api yet
2014-06-16 05:58:00 +02:00
pancake
6266fc66c7 Minor fixes 2014-05-28 17:49:32 +02:00
pancake
aafe8c6eaf Fix some coverity issues 2014-05-26 14:28:55 +02:00
pancake
7cde5cd39e Add 'VX' to follow function refs, Fix 'Vx' xrefs 2014-05-25 03:28:54 +02:00
Anton Kochkov
2d15ed9523 Fix CID 1134849 2014-05-03 04:29:10 +04:00
pancake
7028b225bd Added 'VV' command to run the visual graph mode 2014-04-29 03:54:20 +02:00
Anton Kochkov
2a787faf44 Fix CID 1134750 2014-04-26 04:12:09 +04:00
pancake
863dad5a76 Use RCons.less() in Visual help 2014-04-07 03:13:06 +02:00
pancake
bc344eea1d Add r2048 game in V! command. Initial sdbization of fcn vars 2014-03-31 03:06:45 +02:00
pancake
36635d0728 Fix Vj 2014-03-18 02:54:00 +01:00
pancake
fb98bc1335 More sdbization for comments and hints (-250LOC) 2014-03-12 02:44:49 +01:00
pancake
73a46d574c SDBize and refactor Anal-Hints, still unfinished 2014-03-11 02:47:10 +01:00
pancake
21f91c0b46 Add pxa in VP. Fix segfault in sandbox comments 2014-03-02 02:08:16 +01:00
pancake
9ec418ec37 Fix rap:// and enhace RConsMouseWheel support 2014-03-02 00:31:35 +01:00
LemonBoy
3ebeddaf9b Add mouse wheel support in visual mode. #610 2014-02-28 02:50:24 +01:00
pancake
9634cc7a44 Fix too much memory usage in analysis (thanks saelo)
- Clear some warnings
- Implement Vc. to seek to cursor instead of entry0
2014-02-20 02:11:04 +01:00
defragger
1e17319255 Add <Enter> in Visual to follow addresses of jmp, cjmp and calls 2014-02-14 00:57:30 +01:00
pancake
90264229c9 Add Vo, fixes in $sys in RAsm, new io.self plugin, initial work on preloaded r2 2014-02-10 03:31:12 +01:00
pancake
02e4305818 Fix #603 - EOF quits visual mode 2014-02-07 03:34:40 +01:00
pancake
5f14f7290b Add --with-syszip configure flag to use system libzip+libz instead of shlr/zip 2014-01-30 01:45:08 +01:00
pancake
175643bedc Fix #584 - Fill hexblock on cursor range selection 2014-01-30 00:55:34 +01:00
pancake
add7a962f5 Fix #501 - Visual prompt ':' keeps there until empty line is entered 2013-12-31 13:09:50 +01:00
pancake
322a8a7654 Fix build for latest refactoring 2013-12-06 05:18:57 +01:00
pancake
4e368ae2b3 Fixes for pd, pdn and pD, Fix Vppj issue 2013-12-02 03:53:29 +01:00
pancake
6f29ef9022 Fix #392 - visual mode crashes when seeking backwards 2013-12-01 23:33:07 +01:00
pancake
20f8ee8091 Use r_sys_usleep in socket.c, fix command injection in visual string insert mode 2013-11-13 02:31:35 +01:00
pancake
6eeeea6d6b Fix 'Vx' (visual xrefs navigation) 2013-11-10 02:33:02 +01:00
pancake
a0d5af1875 Fix #310 - Wrong disassembly when seeking backwards
Handle ~/.config/radare2/radare2rc script
Add 'cls' command
Use '?' instead of 'K'
2013-11-07 02:07:10 +01:00
pancake
ede55b55c4 Fix r_mem_mem and handle 'K' in visual cursor mode to see manpages 2013-11-03 13:47:34 +01:00
pancake
e26763a496 Fix some more regression tests. Implement ahc/ahf, COND,REP are now op flags 2013-10-25 02:06:00 +02:00
pancake
a5b9d9126a Code analysis fixes, add 'sf' command and add visual seek feedback 2013-10-20 00:25:37 +02:00
pancake
39750e68f9 Handle shift-tab to toggle px/pxa in visual
- Support non-colorized pxa output
2013-10-16 02:45:03 +02:00
pancake
9a655d0290 Several fixes for 'pxa' and visual mode interaction 2013-10-16 01:10:27 +02:00
pancake
3e9f2f98d8 New wip command: 'pxa' stands for anonated hexdump 2013-10-15 03:56:01 +02:00
pancake
3406d5eb52 Fix visual jmp keys reset and malloc:// write error 2013-10-14 01:12:09 +02:00
pancake
d8e41ac26b Fix code analysis issue (code vs data) 2013-10-12 02:19:01 +02:00
pancake
888bd62819 Add 'on' as in 'r2 -n' 2013-10-11 01:24:30 +02:00
pancake
d100e603c9 Fix #157 - sandbox issue in webui
- add 'f' and ':' print formats
- fix nocolor disasm artifact
- add VW command to launch webui
- rename sN to sp (seek to previous hit)
2013-10-09 00:29:49 +02:00
pancake
77add194c4 F2 honors visual cursor and fix 'dbs' breakpoint toggle 2013-10-06 15:15:23 +02:00
pancake
653881eb3a Merge and fix jvoisin #235 #236 2013-10-04 13:57:49 +02:00
pancake
ab654dea32 Fixes in analysis, add 'R' in visual to randomize colors 2013-09-30 04:23:58 +02:00
pancake
566ecb98b0 Fix Vc conflict with colors 2013-08-27 01:12:58 +02:00
pancake
472a9014fd Disable utf8 on w32 console, refix visual 'C' toggle-color key
- Update sdb and make rules.mk less strict
2013-08-26 03:17:29 +02:00
pancake
c6eaf9cba3 Fix scr.color issues in visual if manually changed 2013-08-22 00:10:05 +02:00
pancake
a1123b6a69 Added default color paletes for rcons
Added 'ecf':load colorschemes
Added VE visual menu to configure colors
r_cons_rgb_parse() needs a rewrite
2013-07-17 03:51:53 +02:00
pancake
7c242550f6 Use $r instead of $h in visual print modes 2013-07-04 23:49:53 +02:00
pancake
8377c98458 Use xdg configuration path ~/.config/radare2/ 2013-06-27 19:15:59 +02:00
pancake
9d65bfe70c Initial r_cons palette support. See 'ec' command 2013-05-22 04:22:49 +02:00
pancake
e20b2ed6d0 Accelerate visual disasm mode 2013-04-24 00:38:49 +02:00
pancake
5c40488acc Fix .ia* issues when demangling c++, Fix visual hexa
Fix recent regression with scr.cols -> hex.cols
Minor fix that was causing some nasty r_num parsing
Show demangled symbol/imports names as comments
2013-04-16 19:48:59 +02:00
pancake
4cf83c6a63 Detect more c++ bins, demangle symbols and fixes in udis86
Better detection of c++ bins
Handle symbol/import name mangling as code comments
Fix visual menu 'VT'
Fix udis86 call analysis
2013-04-16 03:24:47 +02:00
pancake
dd301cd6a7 Add adler32 checksum, fixes in dex, add 'ws' command
- Handle ^C in searches
- Safer progerssbar for small terminals
- Add 'ws' command to write pascal/dalvik/java strings
- Fix visual refresh on terminal resize
- Partially fix dex negative section issue
2013-04-05 01:53:21 +02:00
pancake
ba7c3b8896 Various fixes in visual tracks and handle window resize
Make Ve run callbacks when values are modified
Visual refresh on window resize
Use r_cons_visual_flush() in vmenus
Add workaround for Prompt iOS client (scr.widthfix)
2013-04-01 05:28:34 +02:00
pancake
c11bf6c1cb Fix partial IO read, show flags under visual cursor
Show flags in @@ and visual title with cursor
Port 80 is now default for r2 -C
Key 'q' will quit -C mode
Fix visual core_read() issue with chrome
Fix io.va issue in partial reads
Fix r_io_next_section() code
2013-03-18 00:38:04 +01:00
pancake
6806c11792 Better ARM analysis, Fix blockread in V[0-9] 2013-03-08 12:58:03 +01:00
pancake
42f76858a1 Fix VA with curset 2013-03-08 00:50:54 +01:00
pancake
5f4623ed46 Fix some bugs appeeared during the training course
Fix segfault in "rasm2 'xor e'"
Fix overflow in 'ad@esp' when long strings are analyzed
Fix null pointer check in r_num
2013-03-07 13:08:05 +01:00
pancake
53cf98c8df New command pDi, Fix Vf- to remove flags, fix hamdist 2013-03-04 00:33:14 +01:00
pancake
4c244a818c Add 'Ch', handle c++ lang in rbin and obey cursor in V: 2013-03-01 09:57:30 +01:00
pancake
0fa2a74ac5 Add cmd.visual config var, show empty flag list in Vt 2013-02-27 01:40:26 +01:00
pancake
fc6e799c26 Add pfD (disasm). Fix VI and Vi with+without cursor
Simplify r_print_string
Fix r_io write boundaries
2013-02-25 09:36:07 +01:00
pancake
36b3177d92 Lot of enhacements in the webui, add Cz
Code cleanup and fixes for 'afr'
WebUI (enyo) is much more usable now
New command 'Cz' as an alias for 'Cs len'
2013-02-11 04:08:21 +01:00
pancake
af2d3de5b4 Code cleanup 2013-02-07 09:41:05 +01:00
pancake
16581dde3f Fix output of 'i'. fix rap:// connect 2013-01-02 03:34:17 +01:00
pancake
0d04880367 Add support for small push in x86.nz assembler
Better Visual Assembler and help ('?' show help)
2012-12-22 04:28:19 +01:00
pancake
4d22fcb806 Implement VA (Visual Assemlber), readline with callback and chs
r_cons_readline now have a callback api
r_num_chs() to convert from disk CHS to real address.
2012-12-22 02:37:01 +01:00
pancake
bc63849795 Initial implementation of memory watchers (cw) 2012-12-07 15:44:36 +01:00
pancake
70b037e154 Show refs in disasm, better analysis for ARM and x86-16
Fix status line bug in visual debugger
2012-12-07 03:12:25 +01:00
pancake
e367b93e93 Fix visual mode flickering issue 2012-11-30 16:12:54 +01:00
pancake
3a93f8bbbd Fix prompt history issues reported in #34 2012-11-20 12:32:19 +01:00
pancake
6dadd63c4b Ad od scr.col and cjange more settings
Fix parsing of segmented addresses
Move hud to shlr/hud
Add r_cons_print_clear () for delayed 'clearscreens'
Add blankline option to RCons
Add scr.segoff to show prompt as segmented or not
Add scr.colpos to choose the position of cmd.cprompt
Deprecate old flags code
2012-11-14 03:25:32 +01:00
pancake
ea8dc25221 Initial objc support, visual 'i' with cursor and 'wow'
Some more fortunes
Initial support for Objective-C
New command 'wow' to fill block with cyclic hex value
Visual 'i' when cursor enabled uses 'wow'
2012-11-07 04:25:42 +01:00
pancake
7e9af106bb Implement RAnal.fcn_del_locs() to fix Vdu and af-
New commands: fx and fxd to show contents of flags
Fix pZ-pz help message and stuff
fF in visual is now nN
nN in visual has been deprecated
sfF also renamed to snN
sn renamed to so
e scr.fkey is now scr.nkey
Beautify the disasm loc functions
Toggle breakpoints with 'b' in visual
2012-09-28 02:20:52 +02:00
pancake
4ffdaeb04f Fix warnings and refactor 'p' subcommands (pw -> pxw ..) 2012-09-27 19:35:19 +02:00
pancake
757d692e19 Implement support for mach0-x86-32/64 main finder
Fix segfault when loading a plain file after io'd one
2012-09-23 21:42:10 +02:00
pancake
d00cc922fb Fix uninitialized variable use in arc disassembler
Fix invalid malloc in generic disasm
2012-09-23 18:10:37 +02:00
pancake
2e83fa67b8 Fix python bindings: do not use homonim methods and fields 2012-09-19 14:08:44 +02:00
pancake
be247348b5 Rename r_file_exist into r_file_exists 2012-09-06 08:59:13 +02:00
pancake
5c236fa0e3 Add mips pseudocode, anal.hasnext, fix anal bugs
Better mips analysis
Implemented mips pseudocode plugin
Change asm.parser in asm.arch callback
2012-08-31 11:45:06 +02:00
pancake
e46efa8a1d Initial implementation of r_bin_size (rabin2 -Z)
Changes in the disasm loop to support continuous fun
Fixes disasm after opcode payload
Added RConstr code in r_util (not yet used)
RBinSize implemented for elf, mach0 and plan9
Fix build
2012-08-23 12:46:55 +02:00
pancake
6ca052291a Add 'agv' command to view graphs with cmd.graph
In Visual mode it's executed by pressing 'V'
Fix a bug in RIO on OSX debugger
2012-08-14 03:21:31 +02:00
pancake
86c4f031d8 Implement visual diff and fix many bugs in r_io
Added 'cc' command to compare bytes with column hexdiff
Added r_print_hexdiff() public api
Added diff.from and diff.to eval configuration variables
Visual 'D' used to setup the visual diff offsets
Press 'c' to enable cursor in visual diff
Press '<tab>' to cycle between diff.from and diff.to
Use RCore's RNum from RConfig
Fix bug in r_core_read when io.va and sections used
Fix bugs in r_io_maps and io.va
Multiple files can now be opened and compared with mapping
2012-08-13 04:33:01 +02:00
pancake
9362041562 Huge RBin refactoring and fix mach0 section perms 2012-08-04 23:48:06 +02:00
pancake
afbda180d5 Add visual search and enhace search output
- e search.show = true # by default
- add keyword type (string, binary)
- visual search only works in cursor mode
2012-08-02 01:50:39 +02:00
Anton Kochkov
e43a1f921d Deep integration of complex types - build fixed 2012-07-22 12:41:53 +04:00
pancake
a50e9414b2 Oops. Fix build 2012-07-16 11:52:04 +02:00
pancake
c39d68ad3e Remove some outdated TODO/XXX comments
Add 'dbs' command to swap/toggle breakpoints
Bind debugger keys to key.fX visual bindings
Use --swig in r2-bindings. But still broken
2012-07-16 11:39:43 +02:00
pancake
c814a9f67a Initial implementation of dwarf debug_line parser
rabin2 -d a.out
2012-07-12 02:47:04 +02:00
pancake
41a230ddf7 Add p=?, rax2 suports negative values and more
- Support negative integer values in rax2
  - Fix column selection draw in r_print_hexdump
  - Implement p=p and p=e commants
  - Disallow visual insert if file is readonly
  - Similar to pZ, but
  - Honor -w flag to create file if possible
  - Use new r_io_create() api
  - Add scr.sparse to show hexdump in sparse mode
2012-07-06 02:17:44 +02:00
pancake
0ecca40e71 Bump node-ffi to 0.1 and fix some visual mode glitches
- npm install radare2.js
 - examples in r2-bindings/node-ffi/examples
 - Vn/N now moves between blocks
 - VG fixed for io.va
 - autoblocksize disabled forces visual screen clear
2012-06-30 20:51:18 +02:00
pancake
51ab3cf5ab * Force static builds for android
* Fix colors of cursor in print_hexdump
2012-06-26 16:20:30 +02:00
pancake
30354fefc8 * Implemented 'afe' and 'Sr' commands
* Show strings referenced by relative LEAs
* Fix ascii art in hexdump columns
* Unset cursor when quiting visual mod
2012-06-14 10:01:16 +02:00
pancake
aafff4a55a * Initial fix for regdiff colorizer
- dro is working again
* Dummy agt command (analyze graph to destination)
  - Still wip, requires some changes in r_anal api
* Handle ap? command
* Use core->dbg->bits in core_reg
* dbt - backtrace accepts an argument to redefine ebp
* Use r_core_seek_delta in visual (fix Vh = 0xFFFFF..)
2012-06-14 02:18:15 +02:00
pancake
fcac2336c9 * Notes: use 'ffi' instead of 'node-ffi'
* Minor fixes in rsearchc
2012-06-10 23:58:34 +02:00
pancake
a1a1519b92 * implement osx-x86-32/64 native cross debugging
* Add p= command to show the statistics graph
* Rename Vw to Vi (write->insert)
* Add dummy base85.c
* Various binding fixes (add test3.js)
* Fix socket.vala
2012-06-07 03:41:21 +02:00
pancake
33c914de7a * Visual keystrokes for dcu and dcr with cursor mode and sS
* Fix dcr (continue until ret)
* Add /x key:msk (':' separator)
2012-05-30 11:14:41 +02:00
pancake
810d9a3dbc * Put rax2 buf in .bss instead of the stack
* Add support for wide string dump in r_bin
* Fix detection of data section in PE
* Show error if temporary seek flag does not exists
* Fix wrong disassmbly with 'pd' (invalid)
2012-05-30 03:23:53 +02:00
pancake
1b2c8064ff * More split of core/cmd.c
* Fix 'dbc' argument parsing
* Fix V_q error message
* Remove unused code
2012-02-27 03:07:32 +01:00
pancake
68a5dcea14 * Do not show comment for nop arm opcode disasm
* Use mac->printf
* Fix javasm disassemble issue
* Use (* to list macros
* Refix clear00 in visual
2012-02-16 02:40:50 +01:00
pancake
beac4bbc24 * More fixes in the code analysis loops
* Properly detect end of functions in visual
* Apply rudi_s patches for cache
* Show push flag information if available as a comment
* Clear screen after quiting Visual
* Remove unused function
2012-02-16 01:26:50 +01:00
pancake
f41d41e9eb * Some fixes for the code analysis (still wrong, but at least ^C)
* Fix r_num_calc and all tests cases should run fine now
2012-02-15 11:11:25 +01:00
pancake
d2b6828bab * Fix some warnings reported by the farm
* Do not prompt or clear screen when using V in batch mode
* Optimization in r_config_get_i
* Show expression in r_num_calc errors
* Fix parsing of $$+2 in r_num_calc
2012-02-15 00:17:31 +01:00
pancake
65d1dddfd1 * apply rudi_s patch fixing multiple bugs
- Fix uninitialized variables and other GCC warnings
  - Remove unused variables, fix invalid heap ops
  - ?p print error if VA is not
  - Fix invalid write in r_io_cache_read().
* add support for 'mov reg, [addr]' in x86.nz[32]
2012-02-12 23:45:04 +01:00
pancake
1947f0dece * Fix o- segfault
- Problem in r_io_desc_free called twice
* Compact ??? help
* Random indentation fixes
* Added support for binmask searches
  - /x 123456 ffc0e3
* Added BLOCK and BYTES in r_core_sysenv_begin()
* Hacky fix for autoblocksize with pw
2012-02-09 01:38:16 +01:00
pancake
fd6388de60 * Show error if no hud file found
* Fix 'o file 0xaddr' parsing issue
* 'om' now works without size (file size)
  - fixed help message
* Use xor'd byte in r_io_desc_new ();
2012-02-08 00:45:06 +01:00
pancake
ce91c393d7 * Fix output of search command (fix regression test) 2012-02-01 22:54:12 +01:00
pancake
0c5a3834f4 * Fix build
* Apply 7 patches from Simon Ruderich
  - Fixed some really tiny bugs. Cool!
2012-02-01 11:49:46 +01:00
pancake
6ee952c388 * Fix make install for hud (thanks l0gic)
* Enhacements for the r_cons_hud
  - double-ESC to quit menu
  - tab and up/down arrows select row
  - first row is executed if enter is pressed
* Add ?y[ynkm] to
  - ?iy ?in     ask user with yesno dialogs
  - ?im msg     show message
  - ?ik         press any key
* Add hud.once eval var to run hud forever
* CC != CC*
2012-02-01 02:22:43 +01:00
pancake
370c4ceed5 * Some usability enhacements for the visual hud
* Do not load huge sections. crappy bins!
2012-01-31 03:34:23 +01:00
pancake
29166cc940 * Initial import of the hud input method for the visual mode
* Use '_' key in visual mode to enter in hud mode
* Support mach0 files with multiple sections with same name
* Fix parsing of commands with nested quotes
* rename ?z to ?l
* added new command ?y to get and set yank buffer contents to stdout
* ?i stores the input into the yank buffer now
* ?I accepts a file name as argument which is loaded as hud
* ?k used as key=value temporal storage
* Add calc.c .. plans are:
  - support proper parenthesis in math.c
  - support floating point arithmetics
2012-01-31 02:45:17 +01:00
pancake
f908b15fb5 * Fix android compilation
- Fix static build
  - Fix dupped symbols
* Fix all errors reported by clang-analyzer
  - Some null dereferences
  - Some uninitialized variable uses
* Fix all important warnings from the farm
  - Remove *all* uses of alloca
  - Fix many %llx format string portability issues
* Fix manpage typos reported by lintian (thanks sre)
2011-12-06 00:27:57 +01:00
pancake
a64b481125 * Fix and optimize w32 console
- Clear the whole screen, do not trash
  - Refactorize code from RCons into RConsW32
* Apply @earada's patch with minor fix for undo seek
* Ignore */+- in non-cursor visual and autoblock enabled
2011-12-05 15:21:13 +01:00
pancake
49b45b64ac * Fix undo and redo commands
* Fix some manpages typos reported by lintian
* Asm testcase now forces x86 arch and 32 bits
2011-12-05 08:27:16 +01:00
pancake
84b1aa5495 * Fix bugs reported by @vext01
- Fix search when offset+blocksize>filesize
  - Get filesize when requested
* Fix redraw of buffer in Vlll (thanks @earada)
2011-12-05 01:22:50 +01:00
pancake
50efb1091c * Do not clearline if no cons echo enabled
* Fill the whole screen in visual_write
  - Fixes unnecesary screen clears and trash
2011-12-05 00:29:24 +01:00
pancake
2646161b77 * Apply @earada's patch fixing undo/redo seek 2011-12-04 21:09:16 +01:00
pancake
7c3339bbbe * Fix ELF parsing for symbols outside the .text section
* Do not use tabs in arm and csr disassemblers
* Clear colors in visual prompt V:
2011-12-04 21:02:09 +01:00
pancake
f411aafd6c * Fix negative blocksize and printidx issues in visual 2011-12-02 14:41:17 +01:00
pancake
f566e70578 * Many ugly hacks to enhace w32 console
* Use io.va=1 on PE
2011-12-02 14:32:04 +01:00
pancake
a008a0676e * Enhacements for the visual mode 2011-12-02 02:13:49 +01:00
pancake
07620cd50c * Fix AT&T X86 disassembler when facing invalid instructions
- This bug was reported by @hteso
* Apply @earada patch hiding cursor in visual mode
* Honor asm.size config variable
2011-12-02 01:58:34 +01:00
pancake
51a2a25632 * Implement r_cons_clear_line()
- Use it from r_line
* Call r_cons_clear in visual mode when
  pressing any of these keys: B - /
2011-11-29 03:46:46 +01:00
pancake
7c2a6e63b4 * Initial implementation of r_debug_map_protect()
- Bind to dmp command
  - Only w32 + osx, needs more work
* Added new api r_graph
* Added dtc and dtg
* Some minor makeup in RList
2011-11-25 04:32:32 +01:00
pancake
48841a67be * Optimize visual mode 2011-11-25 00:22:44 +01:00
earada
21712cfbb9 * Use x1, x2, x3... to seek between xrefs in visual mode 2011-11-24 23:50:15 +01:00
earada
62c650b2a0 * Add graph.font=Courier eval var
* Use R_TRUE/R_FALSE instead of R_CORE_BIN_RADARE/R_CORE_BIN_PRINT
* Add notepad as windows editor by default
* Add 'T' menu at visual mode to show comments and anal info
2011-11-23 02:29:09 +01:00
pancake
76b68079ee * Handle int3 on x86 as a trap instruction instead of SWI
* Make 'fd' work without arguments
* Added r_flag_get_at () to handle deltas
  - Show it in visual title
  - Used by 'fd'
* Colorize trap instructions in bright red
2011-11-22 01:42:16 +01:00
pancake
85f5829be6 * Make oxfoo1m3 crackme load correctly
- Do not find strings in binaries with no data sections
  - Add program header section underlaying the rest of sections
* Do not newline when gotoxy'ng
  - visual mode is now smarter
* New ? commands
  - ?p = show physical address
  - ?S = show section name for given address
* Initial refactoring in r_io to make section overlaps happy
  - Those changes are experimental and can lead to problems
  - Do not iterate prev
  - Do not sort by offset
2011-10-25 20:30:05 +02:00
pancake
0217c146ef * Fix x86.nz -> push [esp+N]
* Use pw instead of px in debugger stack view
* Disable stackptr by default
* Add OSX-32bit debugger register map
  - Fix support for debugging 32bit bins in 64bit OSes
* Implement r_egg_run() -- just in time execution
* Fix r_egg string construction and argument passing
  - Still needs more work, but at least some hello worlds work
2011-09-21 19:51:09 +02:00
pancake
7319208c8f * More visual fixes for the comments in disassembly
- Added asm.cmtright=true eval config variable
* Add missing r_magic.deps
2011-09-12 03:26:32 +02:00
pancake
4a3d7bc1db * Show comments at right of disasm if they fit in screen
- Added r_cons_get_column () api
* Fix ';' in visual (0 prefix)
* Update pkg-config files
* Fix sys/vala.sh
  - Use ccache if possible
* Add r_magic.vapi
2011-09-12 03:01:07 +02:00
pancake
56fb04bb79 * Say different error if -w is used in r2 and fails
* p= command is now an alias for !rahash2 -a entropy -b 512 $FILE
* Some work in the 'G' key in visual
* Fix zoom on io.va=1
* r_sys_getcwd now returns a heap ptr and its named to r_sys_getdir()
* Show invalid instructions in 'pd'
* Fix prompt for 'w' key in visual
* More work with RPair
  - Looks like it's finally usable. Let's use it from r_syscall
  - Update sdb from hg
  - Enhace test program
* Show newlines in 'ps' command
2011-09-04 02:34:54 +02:00
pancake
12816468f6 * Refactoring of the TODO tasks
* Add dummy 'dca' command. needs to be implemented
* Reload all symbol information when io.va changes
* Only print jumpkey references in visual mode
* Reduce the autoblocksize in visual for disassembly
2011-09-03 03:10:01 +02:00
earada
1f30cc1025 * Add vmenus-mounts option 2011-07-11 22:52:05 +02:00
earada
a38c2ece6d * Initial parse of dex files
- Load strings and methods
* Fix command 'r' parser
* Fix visual 'g' command without sections defined
2011-07-04 18:54:41 +02:00
earada
29a90901c8 * Add support for io.va mode in g/G visual keys 2011-06-26 23:41:34 +02:00
pancake
f35152b547 * Documentate 'g' and 'G' keys in Visual 2011-06-26 03:01:32 +02:00