Commit graph

94 commits

Author SHA1 Message Date
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
Ahmed Mohamed Abd El-MAwgood
2d76ac0383 Implementing comments on arguments and vars (#5115) 2016-06-10 18:08:12 +02:00
Sven Steinbauer
8da8ad740f Cleanup fixes
* For commit comments and compiler errors
* Fixes for PR comments
* fix some "infer fixes" commits

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +02:00
Sven Steinbauer
9e6d4f2709 Anal infer fixes
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +02:00
pancake
2e06158c71 Handle -- in rarun2 2016-05-17 10:36:33 +02:00
pancake
3ccdfbd6e8 Add asm.(symbol|section).col and honor meta in reflines 2016-04-08 02:56:42 +02:00
pancake
c9514302bf Fix some lifecycle memory leaks 2016-04-03 23:52:36 +02:00
Álvaro Felipe Melchor
fdfd8801c9 update meta info when the key exists 2016-02-11 07:30:09 -06:00
Álvaro Felipe Melchor
27d60454a4 Fix #4096 2016-02-11 07:30:09 -06:00
condret
edc7ec2c61 fix a few warnings 2016-01-27 12:39:50 +00:00
pancake
a224ffc1ac Fix #3829 - bug when removing a comment 2015-12-24 15:30:25 +01:00
pancake
ccfee9fcca Fix many important issues reported by clang-analyzer 2015-11-22 11:27:45 +01:00
pancake
ba74db8e3a Initial implementation of CC, 2015-11-18 17:03:46 +01:00
pancake
baf63a0cba Reduce RBinSymbols memory (smaller footpronum) 2015-11-09 03:41:07 +01:00
pancake
075efefd15 Add VF_ HUD for flags and comments 2015-10-08 14:01:07 +02:00
pancake
cd767ccaf4 Fix Android build 2015-09-24 03:36:06 +02:00
pancake
8eb71af9ed Internal reg prefix is now $, 85008 for curpc, TRAP for traps 2015-09-14 11:31:54 +02:00
shuall
0807686d86 #3052 all printf member functions changed to cb_printf 2015-08-09 03:25:05 +02:00
pancake
e147a21be9 Fix some of the alloc-check bugs reported in #2772 2015-06-17 12:36:08 +02:00
Álvaro Felipe Melchor
53badd517d Fix COVs 2015-06-17 00:22:40 +02:00
pancake
c3fa3d2c35 Fix r_meta_get_string() comments issue in disasm 2015-06-15 05:09:02 +02:00
pancake
8d0b8c6b78 Add CS command to manage meta-spaces 2015-06-15 04:19:29 +02:00
pancake
5954f6e046 Fix #2716 - sdb, rmkdir and console issues on w32 2015-06-11 12:12:22 +02:00
pancake
6756b88b0f Implement the triple-at operator @@@ for functions, regs, threads ... 2015-06-01 03:05:15 +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
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
jvoisin
a60d82b800 Fix a lot of warnings for GCC
Less than 20 warnings remaining on my x86_64 GCC 4.9.1
2014-10-26 13:50:58 +01:00
pancake
e161a915dd Fix #1276 - Extend 'Vd' to support more types #1276 2014-09-03 10:26:41 +02:00
Jody Frankowski
002cbf065c Rename zp to zn 2014-08-17 12:21:04 +02:00
pancake
07917fb5e7 Add and use CCu to avoid dupped comments in project save/restore 2014-08-06 19:11:51 +02:00
pancake
7cca3f0668 Fix wrong comments in listing 2014-08-05 03:11:09 +02:00
pancake
5f3dda2bc2 Optimize loading big binaries, mostly for PE ~20x faster 2014-08-05 01:42:22 +02:00
pancake
9368fc7253 Bump capstone again and fix some warns 2014-07-02 17:14:32 +02:00
pancake
29ee197638 Optimize RMeta.add() and bump sdb for updated optimizations 2014-05-22 02:15:26 +02:00
pancake
e6d60b3ae6 Hack to avoid invalid strings in meta.. needs better workaround 2014-05-16 14:56:39 +02:00
jvoisin
76fbd4119c Fix some gcc warnings 2014-05-08 23:20:42 +02:00
Fedor Sakharov
339877abc9 meta: If type is comment, access key at meta.C.addr instead of meta.addr 2014-05-06 20:17:54 +04:00
jvoisin
5293da18b5 Fix CID 1134868 2014-04-29 02:46:36 +02:00
jvoisin
35880299c2 Fix a missing return
Makes coverity happy
2014-04-21 20:17:22 +00:00
pancake
f288cb811b Better r2048, more random refactoring for anal sdbization 2014-03-31 04:42:55 +02:00
pancake
bc344eea1d Add r2048 game in V! command. Initial sdbization of fcn vars 2014-03-31 03:06:45 +02:00
pancake
609122eac9 Update to sdb 0.9 (array api changes) 2014-03-26 04:16:03 +01:00
pancake
fb98bc1335 More sdbization for comments and hints (-250LOC) 2014-03-12 02:44:49 +01:00
pancake
f7bdfb2bbc Fix #575 - Thanks @montekki - plus other enhacements
- Use ↑ for utf8 backlines
- Support multiple RAnalMetas on every line in disasm.c
- Use sdb in disasm to retrieve RAnalMetas instead of api
2014-03-08 02:36:33 +01:00
pancake
e3b77a26ee Update return value of sdb_foreach callbacks 2014-03-08 01:06:31 +01:00
pancake
b001eed6bb Update sdb for an array iteration optimization 2014-03-06 02:31:31 +01:00
pancake
c8b18c5597 Nest some SDBs and make them accessible via 'k' command 2014-03-05 03:52:42 +01:00
pancake
a43bc1e59d Some more fixes for the sdbization of RAnalMeta 2014-03-04 18:36:04 +01:00
pancake
d664e7b7de Initial SDBization of RAnalMeta... 2014-03-04 12:23:52 +01:00
pancake
070bc97286 Fix #582 - Escape binary strings in output error message 2014-02-23 01:56:26 +01:00