Commit Graph

188 Commits

Author SHA1 Message Date
pancake
d2233a896b Add de Debugger Esil API for advanced software watchpoints
- Implemented in r_debug_esil_* APIs
- Support for step-into and continue
- Expressions can be regs, numbers, math operations, ranges, comparisons..
- Honor dbg.prestep for stepping before or after analysing
- read-write-exec watchpoints using native debug backend and esil emulation
- OSX/iOS debugger error message is now nicer
- anal/rpnesil renamed to esil
- Add esi,edi in osx regprofile
- Add r_cons_is_breaked() for consistency
2015-07-21 06:11:42 +02:00
Riccardo Schirone
a6c23407b2 cons/cons.c: avoid printing last line
fix #2908
2015-07-14 18:06:55 +02:00
pancake
aeded4675c Fix print 0 lines issue in RCons 2015-07-07 00:21:51 +02:00
pancake
20a70e75a0 Add more ESIL for ARM64 2015-07-04 02:34:17 +02:00
pancake
5954f6e046 Fix #2716 - sdb, rmkdir and console issues on w32 2015-06-11 12:12:22 +02:00
pancake
9bbaa981b6 Initial import of r2web:// io plugin 2015-06-06 03:02:35 +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
Judge_Dredd
264883a097 Refactor cons highlight 2015-06-01 21:58:07 +02:00
Judge_Dredd
b190fff5e2 fix for #2314 and #2312 2015-05-28 00:28:25 +02:00
Judge Dredd (key 6E23685A)
bdc2f2e661 fix partial color loss mentioned in #2314 2015-05-21 14:15:43 +02:00
skuater@hotmail.com
ccfae11ebc windbg ^c support under linux+ ^c support for windows 2015-05-05 18:33:34 +02:00
jvoisin
34473357d7 Fix some compilation warnings 2015-04-12 00:06:38 +02:00
Álvaro Felipe Melchor
35f573fe1f Fix memleaks in RCons.pal 2015-04-11 13:08:00 +02:00
pancake
b4bd98ea6d Show lines instead of chars to make humans happy 2015-04-09 19:54:59 +02:00
pancake
37476d6eef Do not drop raw cons after getchr to avoid visual flickering 2015-04-09 16:43:20 +02:00
pancake
8d89d9af2c Fix crash in ag, memleak in iI and nullderef in hexdump 2015-04-02 20:22:24 +02:00
pancake
43a7af0238 Fix graph flush issue 2015-03-31 00:45:57 +02:00
pancake
37a5f6d358 Honor RConsPalette in pxA, handle hex.onechar 2015-03-22 16:16:51 +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
184eaefc8a Fix #2158 - fix underflow in rcons.memcat 2015-03-04 01:27:22 +01:00
pancake
18c451f2c2 Add scr.wheelspeed and implement dynamic asm.lineswidth in scr.responsive 2015-02-11 00:13:54 +01:00
XVilka
80d016e0ed Fix a typo in the previous commit 2015-01-26 20:01:48 +03:00
XVilka
2558a42cf3 Fix cygwin 32/64 builds and visual mode 2015-01-26 19:55:12 +03:00
NighterMan
9127695627 Add r_cons singleton refcount to fix history bug 2015-01-22 02:24:24 +01:00
pancake
1ccd0e3b67 Fix #1938 - Workaround for cg /dev/urandom crash 2015-01-17 01:21:43 +01:00
jvoisin
ce9ece1177 Coverifix++ 2015-01-16 00:56:54 +01:00
skuater
9b4044046e Handle arrow and page up/down keys on W32 2015-01-14 23:31:29 +01:00
jvoisin
4fd6ce62d5 Fix some gcc warnings 2015-01-13 02:07:44 +01:00
pancake
2b493cdbc6 Fix row-by-one on w32 cmd.exe 2015-01-12 16:31:12 +01:00
pancake
45a1eb5ca0 Implement w32 terminal size detection (fails on wine, untested on cmd.exe) 2015-01-12 16:06:11 +01:00
pancake
7aa5ae27c5 Fix w32 console line limit issue, some fixes for wine console 2015-01-09 12:47:40 +01:00
pancake
23776435a2 Fix #1714 - Add ~{} and ~{}.. RCons filters for JSON indentation 2014-11-22 01:51:51 +01:00
pancake
6d4529ffbf Add core.anal plugin a2f command. Fix a bug in x86.cs, align comments at right 2014-11-13 03:36:48 +01:00
pancake
954ee2d607 Fix #1563 - Display bug on izz | more and izz |less 2014-11-10 05:39:17 +01:00
Henrik Nordstrom
5c5114c542 cons: Simplify buffer management slightly in r_cons_printf
there is no need to check twice if the buffer is full.

In additition the first check (deleted) has an off by one error.
2014-11-03 02:25:22 +01:00
pancake
211688f537 Handle bp.cmd and RBreakpointItem->cmd in RDebugContinue (bps and traces)
- Add scr.echo
2014-10-30 22:58:51 +01:00
pancake
b91d1d9eca Fix #1556 - radiff2 -x dump issue 2014-10-28 11:54:58 +01: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
e3ef5f652c Fix scr.highlight on !OSX 2014-09-28 03:53:59 +02:00
pancake
9496ed2e05 More highlight fixes 2014-09-27 04:05:27 +02:00
pancake
7d8159a2e1 Fix crash in RCons.highlight 2014-09-27 03:51:04 +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
pancake
a18f7819d9 Fix the support for 0x0 sized terminals (adb shell) 2014-09-24 03:17:43 +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
deeso
c185ca44c8 Fixed a bug that did not correctly restart va_* after reallocating the r_cons_instance's data buffer for printing 2014-09-13 21:26:40 -05:00
pancake
7129805cb8 Avoid negative console resolutions 2014-09-14 01:07:15 +02:00
pancake
8ad662fa1a Fix oob read in RCons.flush() 2014-09-06 11:39:16 +02:00
pancake
0e5a82e10e Add newline to stderr if no one in last line inside RCons.flush 2014-09-06 00:24:03 +02:00
pancake
5150cc8684 Finally fix the wheel issues? 2014-09-04 23:52:05 +02:00
pancake
5e19db1748 Use write instead of eprintf for RCons.{cup|mouse} 2014-09-04 22:57:10 +02:00