Ahmed Mohamed Abd El-MAwgood
12dbe30cbb
Fixing coverity CIDs ( #5516 )
...
fix CID 1361617
Resource leaks (RESOURCE_LEAK)
/libr/core/tp.c: 148 in stack_clean()
Var iable "str" going out of scope leaks the storage it points to.
fix CID 1361612
Null pointer dereferences (NULL_RETURNS)
/libr/core/tp.c: 178 in r_anal_type_match()
Dereferencing a null pointer "op".
fix CID 1361611
/libr/anal/var.c: 112 in r_anal_var_retype()
/libr/anal/var.c: 125 in r_anal_var_retype()
Dereferencing a null pointer "fcn".
fix CID 1361610
Incorrect expression (IDENTICAL_BRANCHES)
/libr/core/cmd_anal.c: 1616 in __anal_reg_list()
Dereferencing null pointer "fcn".
2016-08-15 09:54:25 +02:00
Ahmed Mohamed Abd El-MAwgood
4f413e7720
initial support for type matching ( #5480 )
...
Enabling stepping over
Basic (sym.imp.*) call catching routines
Fixing esil tracing bug and verbosity
Adding some apis for handling function prototypes and abstacting sbd queries
Fixing the double execusion bug in esil tracing
passing types into vars for `stack`
fixing trailing spaces
doing the regester branch
doing the stack_rev
2016-08-13 12:09:14 +02:00
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
pancake
3e5f636869
Fix Vcdn to rename local vars - reported by @ret2libc
2016-08-08 01:00:47 +02:00
Ahmed Mohamed Abd El-MAwgood
7c8414f585
FIX #5392 display values of args and locals in debugger ( #5417 )
2016-07-29 19:35:34 +02:00
Ahmed Mohamed Abd El-MAwgood
67af958e63
FIX #5324 vars/args display 0 in afi and afll and add in aflj
2016-07-19 21:50:55 +02:00
Álvaro Felipe Melchor
0522b93047
Fix null dereference
2016-07-08 23:28:21 +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
Álvaro Felipe Melchor
3cedcc1c4b
Trying to fix memleaks ( #5218 )
...
* Trying to fix memleaks
* fix null dereference in r_anal_var_list
2016-06-28 23:14:16 +02:00
Ahmed Mohamed Abd El-MAwgood
3bac42eda7
Improving variables on ARM (16, 32, 64) ( #5146 )
...
removing argument detection extension used in af now args are seperately detected by afCa
aa = af + afCa
using aliases as well as real registers
rewritten varsub
Fixing some of Arm esil and optimizing them for arg/var detection
2016-06-20 15:22:09 +02:00
Ahmed Mohamed Abd El-MAwgood
000c602348
FIX #5096 ( #5101 )
2016-06-08 18:13:36 +02:00
Ahmed Mohamed Abd El-MAwgood
7f48af3332
re construction argument/var commands ( #5082 )
...
afa for base pointer arguments/vars
afe for stack pointet arguments/vaes
afv for registers
fixing the J and \0 suffix
using the right register indexer
fixng the negative offsets of afa
fixing the afa afe afv views of pdf
fixing errors in aa
fixing the stack bases arg/var
fixing the varsub
fixing afa*
fixing afat
making afx- space neutral
enabling register renaming at varsub
updating the built-in help
adding r_reg as dependency for r_parse
2016-06-06 00:33:42 +02:00
dx
58c5a333c0
Fix a few anal leaks ( #5076 )
...
Mostly sdb_get() calls turned into sdb_const_get(), but there are
others.
2016-06-03 15:33:08 +02:00
pancake
613d7e488d
Fix afvj | json_pp
2016-05-24 02:39:39 +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
Ahmed Mohamed Abd El-MAwgood
eb185abff4
adding intital support to --omit-frame-pointer FIX #3735 ( #4742 )
...
* adding intital support to --omit-frame-pointer FIX #3735
* makeing afCa arch independent to some extent
2016-05-01 14:48:04 +02:00
Andrey Torsunov
60de2dc6b4
Fix couple of memory leaks. Issue #2772 . ( #4725 )
2016-04-28 10:47:50 +02:00
pancake
73b639e2af
Comment noisy debug printf from @oddcoder
2016-04-25 00:06:52 +02:00
oddcoder
6a47bb5c29
Adding afAj and fixing typo in the afA output
2016-04-12 15:54:16 +02:00
Ahmed Mohamed Abd El-MAwgood
febb482077
FIX #4204 : Implement fastcall function arguments ( #4596 )
...
FIX #4204 : Implement fastcall function arguments
2016-04-10 20:59:11 +02:00
Álvaro Felipe Melchor
cd85e12a31
fix some memory leaks
2016-03-31 23:01:02 +02:00
Riccardo Schirone
1336a7dff3
anal/fcn: rename local variables to use hex offset
2016-02-23 02:35:47 +01:00
Riccardo Schirone
e72f5ed0ae
anal/op: add var field to RAnalOp to store the local used by op
...
anal: save writes/reades of vars/args and fix x86 stackop analysis
2016-02-23 02:35:47 +01:00
pancake
5132a499c2
Fix many coverities
2015-12-31 17:10:02 +01:00
pancake
e91024c279
Fix #3827 - Implement r_anal_var_delete_byname()
2015-12-28 02:01:41 +01:00
pancake
2c047083e3
Fix asm.filter issue in some ARM64 instructions
2015-12-19 17:04:01 +01:00
pancake
69b974eca3
Fix afv-*
2015-12-15 02:08:53 +01:00
pancake
71536f3fd9
Fix #3833 - af[av]t to change type of variable
2015-12-14 02:25:07 +01:00
Riccardo Schirone
0407aab9c5
core/core: add afvn autocompletion
...
cons/dietline: add support for autocompletion in the middle of the
input, without destroying the other part of the string
2015-11-27 12:57:39 +01:00
pancake
e05955cd1a
Fix #3410 - afv-* crash
2015-10-03 20:16:23 +02:00
pancake
8dad09e24e
Fix #3365 - afvn was not working
2015-09-28 03:28:21 +02:00
pancake
da3264250c
Honor ^C in aae
2015-09-25 18:38:16 +02:00
Jeffrey Crowell
9f892f1eed
fix some COV
2015-09-17 00:48:07 -04:00
pancake
0cf36cbc6d
Fix #3289 - Fix graph arg/local in JSON
2015-09-17 01:47:40 +02:00
pancake
49975ccf95
Fix #3286 - Use stdbool.h
2015-09-14 02:08:31 +02:00
shuall
0807686d86
#3052 all printf member functions changed to cb_printf
2015-08-09 03:25:05 +02:00
PSi
1755a81172
Add anal_var_delete
2015-07-11 02:25:49 +03:00
BlueC0re
c13f5aa9ff
Fix variable name/type swap on command print. fixes #2844
2015-06-27 15:37:52 +02:00
zlowram
f9bf92afed
Fix #2650
2015-06-02 02:58:06 +02:00
pancake
d0dba67fb7
Fix build
2015-06-01 01:09:21 +02:00
pancake
c27327cac5
Fix #2648 - save restore arg/var name and type
2015-05-31 23:46:32 +02:00
Álvaro Felipe Melchor
0131971e11
Memleak in RAnalVar
2015-04-29 12:25:02 +02:00
Jeffrey Crowell
29d583df60
fix some warnings
2015-04-01 21:10:49 -04:00
Álvaro Felipe Melchor
2afcbbaee0
Fix #2188
2015-03-30 17:29:52 +02:00
pancake
d991769935
Better vars naming, Add e cmd.fcn.{new|rename|delete}
...
- Bump sdb from git
2015-03-16 02:52:26 +01:00
jvoisin
176c0c01b2
Fix previous commit
...
:<
2015-01-14 02:59:05 +01:00
jvoisin
8ac1616daf
Fix some coverity issues
2015-01-14 02:53:34 +01:00
pancake
391676dc39
Cleanup the pdb_downloader function (-40LOC)
2014-12-14 23:04:50 +01:00