dowdyph0
907412a94f
The value must be negative, for the information being properly prompted.
2017-09-07 16:33:38 +02:00
pancake
ca4011cefa
Fix #8165 - Implement afvd command
2017-08-09 22:55:15 +02:00
pancake
a62b33e939
Code cleanup for some var analysis code
2017-08-09 22:31:53 +02:00
pancake
67e8d08813
Fix #8142 - list variable names with afvn without args
2017-08-07 18:32:20 +02:00
pancake
56742aefd7
Fix #8077 - Fix issue when retype and rename vars
2017-08-07 18:17:02 +02:00
xarkes
926f024909
Improved MSVC support (WIP)
2017-05-09 14:25:57 +02:00
Álvaro Felipe Melchor
e8f80a165c
Remove fcn->vars and reindent anal/fcn.c var.c and flirt.c
2017-03-09 23:46:02 +01:00
oddcoder
43b1530ffc
fixing confusion between stack and maxstack ( #6959 )
2017-03-09 14:23:41 +02:00
pancake
37e79b3ba1
Implement afvR and afvW to list var read/write accesses
2017-01-25 00:06:44 +01:00
pancake
22dddd9704
Fix #5975 - Honor asm.varsub and asm.relsub with asm.ucase
2016-10-18 00:55:10 +02:00
pancake
cd26e34a7b
Blind fix #5938 - remove some __FILE__ references
2016-10-08 03:01:22 +02:00
oddcoder
fad94aa57f
fixing invalid json syntax ( #5884 )
2016-09-29 15:07:53 +02:00
Sven Steinbauer
2996538700
Fix #5633 - Change x == NULL
to correct syntax
2016-09-19 14:44:47 +02:00
pancake
d4ea3b2277
Fix #5642 - bring back the old afb behaviour
2016-09-14 16:42:23 +02:00
Ahmed Mohamed Abd El-MAwgood
9d6cf8d08c
merging afv* commands ( #5753 )
...
Due to the uniqueness of name of arguments and variables, They can be
used solely to identify every other piece of information (including the
base register type).
This will make the commands some how user friendly and more usable by removing one extra
letter from some commands.
2016-09-14 00:11:20 +02:00
BlueC0re
bf33929287
Feature/var struct offsets ( #5733 )
...
* delete variables which are shadowed by a structure field
* implemented varsub with structure fields (currently only depth of 1)
2016-09-12 22:43:05 +02:00
pancake
1ef0944cf5
Fix #5657 - aap segfaults
2016-08-31 03:17:51 +02:00
pancake
9a9e9326a5
Fix two null derefs in anal.var code
2016-08-22 14:52:27 +02:00
Ahmed Mohamed Abd El-MAwgood
29bf4e2fe2
fixing bugs with tp ( #5567 )
...
- Fixing (type matching with esil into non initialized stack)
- FIXING CIDS in anal_tp.c and var.c
- CID 1361741
- CID 1361734
- CID 1361731
2016-08-22 11:22:22 +02:00
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