45 Commits

Author SHA1 Message Date
Álvaro Felipe Melchor
87724384d1 added r_cons_break_{push/pop} to handle ^C better
Besides an UAF has been fixed afecting only ELF
2016-11-21 16:56:12 +01:00
Álvaro Felipe Melchor
e14b2a37d6 fix r_cons_get_buffer to avoid return trash 2016-11-18 13:14:57 +01:00
Maijin
1e88b67c1f Add zign.prefix fix #6213 2016-11-17 15:49:29 +01:00
Maijin
32124965f1 Rename eval zign Fix #6212 2016-11-17 15:31:37 +01:00
Álvaro Felipe Melchor
6f2b0e5b64 more coverities 2016-09-29 12:56:13 +02:00
h4ng3r
053efaa938 fix some coverity issues 2016-09-29 12:56:11 +02:00
pancake
490d2a498a Fix #2571 - dcs is working again 2016-09-26 13:40:25 +02:00
Álvaro Felipe Melchor
3a5444f3ca Fix warnings 2016-09-26 13:24:00 +02:00
zlowram
6235c67757 Honored search.in in z/ command Fixes #5691 (#5843) 2016-09-25 21:22:20 +02:00
zlowram
27922b17fe More zignature fixes (#5795) 2016-09-18 23:07:48 +02:00
pancake
b806494c9d Fix #5748 - Add zs as an alias for z/ 2016-09-18 22:34:03 +02:00
zlowram
f9b70631b2 Fixed some issues from #5718 (#5791)
* Fixed some issues from #5718

- Confirmation message for number of lines to print will not appear
anymore if the output is redirected to a file.
- "signature too small" message will be printed to stderr instead of
stdout, so will not appear on zignature file.
- Previous flagspace will be restored after running `.z` or `z/`
commands.

* Changed fprintf (stderr,... to eprintf
2016-09-18 13:28:26 +02:00
pancake
dad6847883 Add zG exact-match zignatures support 2016-09-04 14:13:08 +02:00
pancake
07656c523b Fix #5684 - Add cfg.minzlen to force minimum length as valid zignatures 2016-09-04 14:02:27 +02:00
pancake
e3e95d1f4c Implement optimized zo command 2016-09-04 13:54:37 +02:00
pancake
e6324bcc62 Add zo command and fix build 2016-09-04 13:44:02 +02:00
pancake
a74fed4fdf Fix infinite loop in r2 -e cfg.editor=- -c- -- 2016-08-25 17:46:08 +02:00
Álvaro Felipe Melchor
7df4fc3ce4 Fix some coverities 2016-08-24 22:02:38 +02:00
zlowram
97103102f4 Fixed warnings (#5579) 2016-08-22 13:26:35 +02:00
zlowram
8a08de39ec Improvements on zignatures generation and new mataching command
- Generation of zignatures were to specific to be useful. They were
generated by getting the first 128 bytes of the functions defined,
as is. Now, it generates more generic signatures by getting the
whole function bytes and masking out all the operands.

- New z. command, that performs zignature match by function. It
works for a given offset with @ addr, so with @@ fcn* it can be
run against all detected functions of the bin.
2016-08-22 10:48:56 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
Jeffrey Crowell
c145740030 replace r_cons_printf("%s\n",p) r_cons_println(p)
move from 10% of code in vfprintf to just 6% \o/ for simple tests of r2
-c "aaa" -q /bin/ls
2016-06-26 00:52:03 -04:00
Riccardo Schirone
8727840e90 anal/fcn: use getter/setter to access the size of a RAnalFunction
This is one of the first steps to improve analysis. This way we'll have
one single place to change if we want to change the meaning of the
"size" field. (size -> realsize)
2016-05-19 01:50:50 +02:00
Jeffrey Crowell
9518841434 refactor includes (#4757) 2016-05-03 04:52:41 +02:00
Dax
b8b0b3e73e Adjusted zignature help 2015-12-27 17:05:29 +01:00
Dax
31a9be7b98 Validate z/ input 2015-12-27 17:05:29 +01:00
Dax
e350505f7b Implemented 'zp' command 2015-12-24 12:24:05 +01:00
pancake
9523a37b53 Autocompletion for 'z' commands 2015-11-13 01:41:09 +01:00
pancake
3de77ad6e6 Initial support of dbg.libs/unlibs for Linux/OSX 2015-10-22 04:48:56 +02:00
jvoisin
20d11bf92d Add json output with zj 2015-10-14 21:26:26 +02:00
pancake
b8224a153f Fix #3471 - Show number of matches in 'z' 2015-10-14 16:55:55 +02:00
Álvaro Felipe Melchor
3f9b84ac04 Fix #2736 2015-06-14 23:15:51 +02:00
pancake
ef5d47f573 Honor sandbox in 'z', add zB to generate raw byte signature 2015-05-19 10:17:52 +02:00
pancake
e6e3ae84f4 Increase max function size of 256KB, Handle ^C in z/ and better output 2014-09-30 03:52:29 +02:00
pancake
e879ae63fa Fixes for 'z' signature matching commands 2014-09-30 03:38:24 +02:00
Jody Frankowski
f227d254cc Add a flirt signature parser, scan and dumper. 2014-09-14 18:25:58 +02:00
Jody Frankowski
002cbf065c Rename zp to zn 2014-08-17 12:21:04 +02:00
Jody Frankowski
c8af9cb1cd Rename prefix to namespace 2014-08-17 02:20:28 +02:00
jvoisin
bc04cb6825 Add some zignatures goodies
- z-prefix is now working
- z doesn't forget to count things
- help is improved
2014-06-23 12:05:27 +02:00
jvoisin
15dcbfefad Colorize zignatures 2014-06-21 10:32:25 +02:00
pancake
5e33a8a282 Initial huge refactoring of r_io still work in progress 2014-05-28 04:34:12 +02:00
pancake
dc2690e529 Support get/set introspection in 'pf' and handle scr.stride in px
Rename pf$ to pf.
Add support for introspecting and setting named pf fields
Introspection supports get and set
Add scr.stride property for 'px'
Initial work on slist
Add judy arrays implementation (not integrated)
2013-02-01 03:15:48 +01:00
Anton Kochkov
e43a1f921d Deep integration of complex types - build fixed 2012-07-22 12:41:53 +04: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
d37de2367d * Split libr/core/cmd.c 2012-02-27 02:40:27 +01:00