Commit graph

420 commits

Author SHA1 Message Date
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