Commit Graph

313 Commits

Author SHA1 Message Date
radare
c8356abb03
Add zign hash using sha256 (#11822) 2018-10-15 19:13:18 +02:00
radare
9e9dd12a4c Delete nowarn (#11694)
* NYI means not-yet-implemented
* Kill file.nowarn configuration variable
2018-10-01 15:55:08 +08:00
radare
47297f6d0a
Initial implementatil of asm.tailsub (#11696) 2018-09-30 11:41:19 -04:00
radare
28bdc63a7d
Add asm.usercomments to disobey asm.comments (#11620) 2018-09-22 16:06:04 +02:00
pancake
41ec949204 Fix #11112 - Rename {srwx,flags,perms} to perm. (-21 LOC)
Unify R_IO, R_BIN, R_BP, .. into R_PERM_* using 1 letter syntax
2018-09-22 11:31:45 +02:00
Tarzter
8a7700c154 Adds graph.json.usenames to configure whether use names or addresses while getting call graph in json format. (#11568) 2018-09-18 08:15:26 +02:00
radare
945e9566fb
Fix #11455 - Implement internal less pager with scr.pager=.. (#11548)
* Use full screen in r_cons_less (last line was not used before)
2018-09-17 12:15:12 +02:00
morbith-dqtz
5c6b976343 linux_heap_glibc: refactor (#11541) 2018-09-17 02:00:39 +02:00
radare
486c61529c
Implement the "underscore command" 2018-09-16 22:50:56 +02:00
Neven Sajko
4a722e80d8 Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
Khairul Azhar Kasmiran
95f75f3aa9 cmd.load: Run when binary is loaded (#11483) 2018-09-12 23:12:52 +02:00
morbith-dqtz
1ee0b58709 11471 Quick fix, setting dbg file via config (#11476) 2018-09-12 11:56:01 +02:00
pancake
be913de0f4 Add minor tweaks for r2wars from @skuater and the cfg.r2wars option 2018-09-05 13:37:20 +02:00
Rene Laemmert
37508ed71b added possibility to execute r2 commands on syscall hit (#11283) 2018-08-28 15:56:07 +02:00
morbith-dqtz
3afc8cd8c1 heap tcache flgs fixes (#11282)
* now glibc tcache parsing if checked by a config flag, no more preprocessor

* * calls r_resolve_symbol to recompute malloc_state offset
* fix cpu autodetect for tcache flags
2018-08-28 13:00:38 +02:00
Fangrui Song
95c4f1ffb9 Remove r_io_buffer* (#11239)
There are already r_io_cache* (r_io_t::cachemode) and r_io_desc_cache* (r_io_t::__cache). There is no place for this extra cache layer.
2018-08-27 00:51:44 +02:00
morbith-dqtz
e09306ab99 Make glibc tcache parsing if checked by a config flag, no more preprocessor (#11266) 2018-08-26 22:50:30 +02:00
sivaramaaa
19e456821b Initial work on Constrained types (#11144)
* Intial Work on Constrained types

* Use r_strbuf instead of fixed size buffers in afta
2018-08-19 23:05:54 +02:00
pancake
87a360f8ed Deprecate rop.nx and just use the search.in rules 2018-08-18 15:44:00 +02:00
radare
d2995a13b4
Improve search.in= boundaries (#11109)
* Improve the SearchBoundaries
- Honor vaddr/paddr
- Parse rwx strings instead of hardcoded strings
- Kill io.sections.* and add bin.sections
* PA search boundaries should at work with the debugger mode
* Kill io.sections and improve search.in with dbg.maps
* Simplify maskMatches
* Fully kill io.sections in search.in and add bin.section
* Expose page permissions in search boundary list and remove dead code
2018-08-16 18:00:21 +02:00
Luca Di Bartolomeo
c076e12941 Add "save to file" to ag*w commands + colorize comments like ";arg1" (#10860)
* Colorize comments like ';arg1' as var type comments

* Choose path for saving dot graph

* Fixed ag? help

* Remove addr argument from most of ag* commands

* Fix: gcc warnings in r_core_graph_cmd + use vartype comments in cmd_type

Refactor: Move r_core_graph_cmd from cconfig.c to cmd_anal.c and make it static

Refactor: moved getViewerPath() to cmd_anal.c too

* Refactor: rename r_core_graph_cmd to graph_cmd

* Refactor: many small refactors of ag* commands in cmd_anal.c

Refactor: solve merge conflict in cconfig.c

Refactor: other small refactorings in cmd_anal.c

* Fix: wrong merge in cconfig.c and updated ag? help
2018-08-05 03:35:50 +08:00
sivaramaaa
e6796bf812 Add a verbose option for afta to increase visibility on missing database input (#10897) 2018-08-02 21:25:34 +08:00
pancake
eb355771f5 Disable graph.dotted by default 2018-08-01 14:40:07 +02:00
Paul I
56a960ea3a Some fixes for ag command:
* Fix r_file_path() on Windows
* Fix bug in r_core_graph_cmd()
* Use explorer.exe as picture viewer on Windows
2018-08-01 01:02:38 +01:00
pancake
6fc94b8ea5 Unset iova when cfg.debug is set, dunno who broke that. io.debug needs to be killed 2018-07-31 11:26:18 +01:00
cyanpencil
29955c4c0d Add '#' key to toggle graph hints
Refactoring

Small fix

Fix for windows in graph.c
2018-07-29 12:48:15 +08:00
mandlebro
3e55b5f57d Default esil.breakoninvalid to false 2018-07-27 18:51:44 +08:00
mandlebro
2f01fd8890 Change esil.breakoninvalid default to true 2018-07-27 18:51:44 +08:00
mandlebro
527c366c79 Added esil break on invalid instruction variable 2018-07-27 18:51:44 +08:00
cyanpencil
4ac4873100 Dotted lines only for conditional jumps
Set graph.dotted default true + refactor in canvas_line.c
2018-07-27 02:12:50 +08:00
cyanpencil
fc26f2a04e Use dotted lines in graph 2018-07-27 02:12:50 +08:00
cyanpencil
b9be6c9a8c Added r_file_globsearch and zfs **.sig support
Updated zf? help

Removed debug eprintf
2018-07-27 01:26:34 +08:00
sivaramaaa
c5928fabda Add profile to specify format specifications for different programming languages/compiler 2018-07-23 11:18:12 +08:00
cyanpencil
8cb110efa3 Add function argument colors to palette 2018-07-18 00:07:48 +02:00
pancake
95d346b611 Fix #10674 - pzq and gcc build 2018-07-09 01:13:29 +02:00
Luca Di Bartolomeo
e209b9147a Improve jmptbl edges, second try (#10662)
* Improve jmptbl edge positioning

* Merged edges with the same origin/destination

* Fix callgraph
2018-07-08 09:29:56 +02:00
cyanpencil
b747592598 Add asm.flags.real option disabled by default 2018-07-05 00:55:51 +08:00
radare
50e1c69874
Kill anal.split config variable (#10619) 2018-07-04 15:51:37 +02:00
Khairul Kasmiran
145ce4a741 Default asm.imm.str to true 2018-07-03 11:52:32 +08:00
radare
bb0bad34ef
Bring back 'e io.pava' (EXPERIMENTAL)
$ r2 -e io.va=0 -e io.pava=1 -s 0x1bcd -c 'pd 5;px' /bin/ls
2018-07-02 12:19:13 +02:00
radare
7747da5b2f
Kill anal.bb.split variable (asume true is good and by default) (#10522) 2018-06-27 21:20:23 +02:00
pancake
895fd8fe35 Try anal.jmptbl=true 2018-06-26 23:07:21 +02:00
pancake
dae1ac91df Add anal.endsize (changes nothing by default, but fixes bugs if set to 0) 2018-06-25 00:31:28 +02:00
Khairul Kasmiran
47d8debf68 Minor rearrangement 2018-06-21 18:33:39 +08:00
Luca Di Bartolomeo
38bb81f98b Revert to old graph edges positioning (added an option) (#10430) 2018-06-20 17:49:25 +02:00
pancake
0a53903aba Fix e asm.arch=?~udis after r2pm -i x86udis 2018-06-13 01:20:41 +02:00
Luca Di Bartolomeo
b119dad829 Add asm.lines.jmp and make asm.lines config var for all lines (#10254)
* First substition asm.lines with asm.lines.jmp
* ds->show_lines with ds->show_lines_jmp
* revert wrong substitutions
* rename asm.lines.jmp to asm.lines.bb
2018-06-04 16:03:58 +02:00
Luca Di Bartolomeo
12cbb24980 Add asm.xrefs.fold to avoid gigantic graph nodes (#10243) 2018-06-03 01:14:22 +02:00
pancake
cfa6aa4720 Refix Makefile and remove harmless eprintf 2018-05-30 18:47:45 +02:00
cyanpencil
8a65873b64 Fix graph.from graph.to behaviour
Updated graph.from graph.to help

Updated visual help

Removed cmd.graph unused config variable

Whitespace cleanup
2018-05-24 00:15:35 +02:00