Commit graph

102 commits

Author SHA1 Message Date
Ahmed Mohamed Abd El-MAwgood
ad1565d9e4 few enhancements for afv FIX #5459 (#5461)
replacing afv[bsr]n  with afvn
replacing negative sign `n` with `_`
being consistent across the documentations (args + locals = vars)
refactoring code
2016-08-09 00:17:42 +02:00
Ahmed Mohamed Abd El-MAwgood
b31dd80724 Args/vars the last commit (#5245)
renaming afa, afv and afe to afvb afvr, and afvs respectively
making arguments analysis obeys e anal.vars
improving the json format for args/vars
fixing varsub to use the new comands for x86 and arm
fixing var commenting commands to use the new commands var configuration
2016-07-01 16:15:29 +02:00
Álvaro Felipe Melchor
4b08d38cb1 more mem leak fixes 2016-06-29 10:11:25 +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
Jeffrey Crowell
2f6d778aef cleanup usages of r_str_newf to meet style guide 2016-06-15 19:42:03 +00:00
pancake
e032a48cbe Fix latest 26 COVs 2016-06-14 23:47:58 +02:00
Ahmed Mohamed Abd El-MAwgood
13d8e65426 Enhancing comments for vars/aegs (#5127)
Adding locality properity to variable and argument comments

the old implementation made use of the standard r_meta functions to create comments using the frame offset as the address. this caused problems because more than one function might have variable at the same offset (with respect to each ones stackframe). so they will overwride each others comments.

adding `base64:` feature

prevening CC from processing var/args comment (in wrong manner)
2016-06-12 23:39:40 +02:00
Maijin
f3ee978361 Fix typo Cr -> Cv
@oddcoder
2016-06-11 12:55:09 +02:00
Ahmed Mohamed Abd El-MAwgood
b7c4d1eeb0 enabling Commenting using both index as well as name (#5118) 2016-06-11 11:07:58 +02:00
Ahmed Mohamed Abd El-MAwgood
2d76ac0383 Implementing comments on arguments and vars (#5115) 2016-06-10 18:08:12 +02:00
pancake
a8d33e75a6 Add ?V? and ?Vq commands 2016-05-19 03:42:23 +02:00
pancake
6f243c47d7 Fix valgrind issues in Cs 2016-05-18 12:08:57 +02:00
pancake
21bb0d8050 Fix Cs/Cz parameters parsing 2016-05-18 02:29:41 +02:00
Riccardo Schirone
bcf696ea14 core/cmd_meta: remove very old code that breaks metadata tests (#4935) 2016-05-18 01:26:12 +02:00
Riccardo Schirone
eb8e9aaad1 core/cmd_meta: it can build again 2016-05-17 11:17:29 +02:00
pancake
2e06158c71 Handle -- in rarun2 2016-05-17 10:36:33 +02:00
Jeffrey Crowell
9518841434 refactor includes (#4757) 2016-05-03 04:52:41 +02:00
pancake
d1636fb175 Fix #4553 - e cfg.debug=true forces native 2016-04-08 03:40:53 +02:00
pancake
843fcf1e7d Implement Cz like Cs with automatic length detection 2016-04-08 03:30:21 +02:00
pancake
0e69bfd541 Add default noreturn functions, adjust xrefs and fix regression in type 2016-02-16 03:24:47 +01:00
pancake
5d210f526e Support array definitions of Cd 4[10] 2016-02-16 02:42:44 +01:00
pancake
6b79f915df Fix #4095 - VdW chopping down to 32bits 2016-02-10 11:45:25 -06:00
pancake
a224ffc1ac Fix #3829 - bug when removing a comment 2015-12-24 15:30:25 +01:00
Riccardo Schirone
c7a444cb39 core/cmd_meta: fix regression with format memory metadata 2015-11-24 12:45:43 +01:00
pancake
ba74db8e3a Initial implementation of CC, 2015-11-18 17:03:46 +01:00
jvoisin
876633c992 Implement CCj 2015-10-09 11:41:56 +02:00
pancake
b515a34676 More stdboolification 2015-09-14 12:35:38 +02:00
jvoisin
f7e426d281 Minor fixes for the previous commit 2015-09-04 15:35:37 +02:00
jvoisin
fbe8b6d938 Once again, clang-analyzer strikes! 2015-09-04 15:12:42 +02:00
pancake
8d0b8c6b78 Add CS command to manage meta-spaces 2015-06-15 04:19:29 +02:00
pancake
3205f530c6 Handle \n in CC 2015-06-02 00:27:59 +02:00
pancake
530a055941 Implement CC. and fix CC? 2015-06-01 00:55:18 +02:00
pancake
33a8338b97 Fix #2648 - Fix save/restore comments using base64, enhace default output and add CC? 2015-06-01 00:48:57 +02:00
pancake
515b2e77bc Fix about 40 COVs related to memleaks and buffer overflows 2015-03-21 01:27:54 +01:00
jvoisin
55f5c73008 Coverifix++ 2015-02-19 12:59:13 +01:00
jvoisin
b8cdd7c0f7 Even more coverifix 2015-02-11 21:51:13 +01:00
pancake
559c2cd25a Add '!' inside '#!' and make r_core_editor accessible from r_cons_editor. 2014-12-19 03:17:28 +01:00
Skia
4a8d7e6875 Refactor cmd_print_format into r_print_format
* Enable nested specific fields access for reading and writing
* Fix pf: json regression
2014-12-17 11:34:54 +01:00
pancake
d47b488a0f CL without arguments is an alias for 'CL $$' 2014-12-11 19:27:51 +01:00
pancake
3a87cc61c3 Fix support for dwarf on currentpath source files
Catch file-not-found exception when listing source lines
2014-12-10 23:21:55 +01:00
Henrik Nordstrom
b3b5f88257 Truncate strings to their field size
not all strings are zero terminated. Truncate strings to their
specified size.
2014-11-03 09:45:18 +01:00
Henrik Nordstrom
2c682c5b17 Correct save of metadata in project file
Corrects save of Cs, Cd, Cf, Cm meta commands

help text also slightly updated to match actual
working commands and syntax.
2014-11-03 09:45:10 +01: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
be74e633ca Fix Cs from projects 2014-09-23 11:55:11 +02:00
Jonathan Neuschäfer
f9294bfd0f Improve "C?" 2014-09-18 18:56:57 +02:00
pancake
227fb0242f Fix #1335 - Fix CC! 2014-09-15 10:18:00 +02:00
pancake
e161a915dd Fix #1276 - Extend 'Vd' to support more types #1276 2014-09-03 10:26:41 +02:00
jvoisin
bcbeb3c066 Fix some gcc warnings 2014-08-11 16:07:17 +02:00
pancake
131aaa487f Fix more ESIL instructions for x86 2014-08-08 02:11:23 +02:00
pancake
07917fb5e7 Add and use CCu to avoid dupped comments in project save/restore 2014-08-06 19:11:51 +02:00