Commit Graph

401 Commits

Author SHA1 Message Date
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
a58789782d Finally fix the brainfuck emulator 2014-10-03 20:05:33 +02:00
pancake
0248e53fb6 Add scr.visual, Fix BinBios section loading (rva issue) 2014-09-28 03:27:22 +02:00
Jonathan Neuschäfer
5280575d49 Add anal.null, a new fallback analysis plugin 2014-09-28 01:03:53 +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
bd618dccf2 Implement RFlagBind and use it from RAnal. Add 'ask' command 2014-09-26 14:24:33 +02:00
pancake
a0e609e40d Fix ARM swstepping and breakpoints, add dbg.bpsize 2014-09-26 13:57:03 +02:00
pancake
0931f502ed Implement asm.demangle and bin.demangle, add 'fn' to display realname of flags 2014-09-24 03:01:18 +02:00
Fedor Sakharov
8f4b2cdf5b Fix cpp names demangling 2014-09-24 02:08:18 +02:00
pancake
2b313c832b Add asm.maxrefs to display xrefs in columns if they are too many 2014-09-23 10:15:19 +02:00
pancake
b0b16a7318 Allow af and df to resize+ redefine new function (anal testing) 2014-09-22 15:00:41 +02:00
Jonathan Neuschäfer
b87c3be119 "e asm.arch=nonexistent" should not change anal.arch 2014-09-18 18:56:57 +02:00
pancake
ae06dc24b5 Fix file2 and file3 fuzzed ELF files 2014-09-17 11:01:36 +02:00
pancake
a7395d5afc Add anal.nopskip config var 2014-09-14 11:52:30 +02:00
LemonBoy
61eaa5cafc Settle the pointer ownership issue once for all 2014-09-13 00:30:15 +02:00
Jonathan Neuschäfer
ef7a1e0ad0 Document the difference between "rasm2 -L" and "e asm.arch=?", in source
This difference could also be removed.
2014-09-13 00:17:37 +02:00
pancake
2369bad71a Fix code analysis loop and add anal.esil mode for r_core_anal_fcn() 2014-09-12 02:37:49 +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
pancake
610e8d879c Fix #1279 - Add scr.wheel to enable/disable mouse wheel 2014-09-03 23:13:41 +02:00
jvoisin
964441e4c7 Improves hud.path 2014-08-30 01:23:04 +02:00
jvoisin
7ec7dbd031 Add the hud.path key, closing #1263 2014-08-30 00:17:22 +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
0acdbd60fa Show Anal and Esil bits in rasm2 -L and 'e asm.arch=?' 2014-08-24 14:35:30 +02:00
pancake
6e98a3f584 Avoid null asm.arch or anal.arch 2014-08-23 02:01:20 +02:00
jvoisin
1cedbcd5da /R pop,pop,ret 2014-08-17 02:01:17 +02:00
jvoisin
da3265fba0 /R is now able to search in the middle of instructions 2014-08-14 02:33:45 +02:00
jvoisin
f6fca29437 Refactor the ROP gadget search
Depth can now be configured with search.roplen
2014-08-11 21:48:35 +02:00
jvoisin
bcbeb3c066 Fix some gcc warnings 2014-08-11 16:07:17 +02:00
condret
fd72d4ad78 refix #1163 2014-08-07 15:47:53 +02:00
condret
f3e5186d23 fix #1163 2014-08-07 15:43:05 +02:00
pancake
2c0d3fe469 Link anal.cpu to asm.cpu like .arch does 2014-08-07 01:57:10 +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
50e8e0e507 Add 'lp' command to 'load plugins' + some work on 'bin.laddr' 2014-07-30 11:14:26 +02:00
pancake
338fa079cd Sport ESIL traps and conditionals, better x86 esil and add asm.fcnlines config var 2014-07-21 04:18:27 +02:00
pancake
be34dbf9cd Honor dbg.profile in io/debug
$ cat p.r2
 arg1=/
 $ r2 -e dbg.profile=p.r2 -d ls
2014-07-09 03:48:47 +02:00
pancake
8b74f1ffcf Merge Rarun2 into RSocket and use it from dbg.profile in Core 2014-07-09 02:24:31 +02:00
pancake
f0824ce120 Add scr.fileprompt config option 2014-07-04 01:44:14 +02:00
pancake
ae10614e6a Better grepcol char 2014-07-02 23:18:50 +02:00
pancake
1433960315 Make e asm.arch=? grepcol friendly 2014-07-02 23:10:12 +02:00
pancake
cd96d509b3 asm.trace should be false by default 2014-07-02 18:12:07 +02:00
jvoisin
8823dcc253 Fix #1096 aka. removing asm.profile 2014-07-02 17:47:44 +02:00
dequis
c3c11dc0ba Add r_config_node_desc to fix potential null derefs in core/config.c
It's the same as r_config_desc but takes a node instead of a name.

And adapt the macros in core/config.c to use this function instead of
just doing r_config_node_set_etc()->desc.
2014-07-02 08:38:22 -03:00
dequis
d59c0a804f Add missing return R_TRUE to cb_dbgstatus to fix segfaults 2014-07-01 22:44:39 -03:00
pancake
fe8b4db8c6 Add dbg.status to display drd and pi on prompt 2014-07-02 02:36:41 +02:00
pancake
b5dfb81da8 Fix #1073 - anal reg profile used even on debug mode when switching asm.bits 2014-06-26 10:27:10 +02:00
pancake
2490e54e77 Add asm.syntax=regnum (alias for capstone NOREGNAME) 2014-06-25 15:44:33 +02:00
pancake
d98acc233d Add V& key to rotate between asm.bits 2014-06-25 03:07:54 +02:00
pancake
0afb84c3dc Add http.dirlist (defaults to false) 2014-06-22 14:57:54 +02:00
jvoisin
5e9e4b368c Close #1046 2014-06-21 14:56:48 +02:00
pancake
28dbf31892 Show warning when trying to disable the sandbox 2014-06-14 02:52:56 +02:00
pancake
1dcce40a8f Minor coverity fixes 2014-06-13 12:06:29 +02:00
pancake
b3e8b3152b 8051 is a 8bit cpu, set asm.bits when asm.arch doesnt supports current value 2014-06-10 11:48:02 +02:00
pancake
6aba134a7e Finish s/io.ffio/io.ff/ 2014-06-10 11:20:17 +02:00
pancake
22f2754d1c s/io.ffio/io.ff/ 2014-06-07 01:50:07 +02:00
pancake
eabf76cb1e Enable io->autofd by default and set if no curfd is set 2014-06-03 17:10:38 +02:00
condret
0f9495400d add io->autofd 2014-06-03 17:06:56 +02:00
pancake
7bbca3c2bf Add and implement search.contiguous config var 2014-05-31 13:44:52 +02:00
pancake
dd67819923 Fix ioff, merge RCore.ffio into and add a workaround for baddr 2014-05-28 19:32:29 +02:00
pancake
5e33a8a282 Initial huge refactoring of r_io still work in progress 2014-05-28 04:34:12 +02:00
pancake
7751882675 Add io.raw which is set when debugger mode is enabled 2014-05-25 02:23:33 +02:00
jvoisin
e0a10f2c15 Fix CID 1135065 2014-05-22 12:57:03 +02:00
pancake
879f295365 Fix bin.rawstr (rabin2 -zz), some offsets wrong in PE 2014-05-19 02:41:53 +02:00
pancake
2494e22a4d Add rawio support in RIO (allows to open /dev/sda f.ex), Add io.enforce=0|1|2|3 2014-05-18 02:19:11 +02:00
pancake
65d7da74c7 Handle dbg.bep=? 2014-05-07 23:21:34 +02:00
deeso
3adcb54f17 Overhauled how files are loaded. Now *all* files use an IO plugin the default one is mmap'ed 2014-05-01 20:13:57 -05:00
pancake
7028b225bd Added 'VV' command to run the visual graph mode 2014-04-29 03:54:20 +02:00
jvoisin
3ec7f596c5 Yara is now working :) 2014-04-28 18:42:39 +02:00
pancake
d7ff0e46be Implement 'ej' to dump config in json and update uncrustify 2014-04-28 11:54:01 +02:00
pancake
b49195f2df Fix lot of warnings 2014-04-28 11:53:22 +02:00
Dani Martínez
8d24df4bd2 Handle search.in=? and file.loadmethod=? 2014-04-27 12:01:51 +02:00
jvoisin
29dfad4f0c Add yara support 2014-04-26 04:45:57 +02:00
deeso
d5908941fb Steps toward fixing the reopen of a file being debugged 2014-04-24 18:21:40 -05:00
deeso
dd07844436 Fixing some Null Dereference Bugs courtesy of coverity 2014-04-22 18:39:17 -05:00
Fedor Sakharov
4dfadcb968 change bin.dwarf default to true 2014-04-21 19:28:46 +04:00
pancake
db42789d62 Make the http server work on w32 (^C not handled yet) 2014-04-21 12:55:34 +02:00
pancake
774ccc71a0 Fix asm.arch=?asf issue, implement asm.syntax=? 2014-04-11 02:22:41 +02:00
pancake
bb531643ca Fix asm.arch=? asm.cpu=? and add hex.pairs option 2014-04-10 22:18:26 +02:00
pancake
ec58f84572 Add asm.bytespace=true config variable 2014-02-25 01:35:23 +01:00
pancake
c43f369e19 Fix scr.fps 2014-02-24 23:22:54 +01:00
pancake
2590e997b1 Fix r_sys_now() and implement scr.fps 2014-02-24 16:10:12 +01:00
pancake
630a1f8603 Rename 'rdb' to 'projects' in ~/.config/radare2/ 2014-02-22 02:36:24 +01:00
condret
fbd6269b0c Add cpu-cycles 2014-02-14 00:53:54 +01:00
Ilya V. Matveychikov
b2d8514c72 Add support for setting cpu value for anal module
Now, anal has it's own `anal.cpu` config value. It can be used to
support multiple CPUs handled by one analysis module.
2014-02-06 01:19:23 +04:00
jvoisin
65bb8c5ec6 Coverity fixes #590
- Sandbox r2agent
- Check a return value
- Add missing parentheses
- Add missing parentheses
- Fix a division by zero
- Fix a wrong assignation
2014-02-02 23:58:50 +01:00
pancake
1f1367382b Add 'aos' to sdb-ize the esil, file.suppress_warnings renamed to file.nowarn 2014-01-31 02:02:51 +01:00
Adam Pridgen
e6fe3354d9 Fixing coverity issues for io_zip, hanging caused by infinite loop in disasm.c,
and io map collisions (which adds file.loadalign, file.loadmethod (append or fail),
and file.suppresswarnings.
2014-01-25 23:48:22 -06:00
pancake
579856e7b9 Implement 'wu' and add support for nocolor in 'cu' 2014-01-26 04:33:21 +01:00
pancake
8fd6a825ff Autodetect erica utils openURL utility for http.browser on iOS 2014-01-20 03:03:45 +01:00
pancake
8fd105b721 Redesign scr.{fix_}{columns|rows} 2014-01-09 00:29:00 +01:00
pancake
008cae68cd Implement scr.null in RCons 2014-01-08 23:44:05 +01:00
pancake
223563a8ac Increase default max block size to 32MB 2014-01-04 02:15:27 +01:00
pancake
35d14529a4 Fix minstrlen issue with elf binaries and Cd -X 2013-12-29 03:42:18 +01:00
pancake
da33633680 Fix #491 - Project untrusted input
- Fix various project related issues
- Do not save in directories. Projects are file + file.d/
- Do not show division by zero issue (e cfg.foo=/bin/ls)
2013-12-28 02:34:15 +01:00
pancake
f1114fa600 Fix #476 - pr . segfaults (control tailcall depth) 2013-12-22 01:54:46 +01:00
pancake
02b0202042 s/anal.plugin/anal.arch/g 2013-12-07 14:25:15 +01:00
Adam Pridgen
38c9af46b0 Fix the bin.minstrlen bug by adding a callback and refereshing strings when this value changes 2013-12-05 23:51:17 -06:00
pancake
2186875a55 Fix #411 - Fix asm.tabs and write test cases 2013-12-04 00:47:34 +01:00
pancake
7a8b342f5c Add asm.esil boolean to show esil instead of opcodes 2013-11-13 01:51:15 +01:00
pancake
f1c9943df2 Fix #313 - Add bin.baddr and r2 -B to set base address for r_bin 2013-11-06 01:32:24 +01:00
jvoisin
0d683351c2 Fix #292 - Overhaul config.c 2013-11-05 02:58:00 +01:00