Sebastian Reichel
e9383b1441
Arch independent data in share ( #6183 )
...
* magic data is architecture independent
* fcnsign data is architecture independent
* opcode data is architecture independent
* syscall data is architecture independent
* hud data is architecture independent
2016-11-12 11:08:34 +01:00
pancake
db60f158dd
Fix #6061 - an->tn and fix some regressions in tn/tna
2016-11-02 00:50:22 +01:00
Francesco Tamagni
f41f74c527
Fix #4497 - Recursive function emulation
2016-10-24 14:31:03 +02:00
Álvaro Felipe Melchor
5b95f046f8
s/r_list_merge_sort/r_list_sort
2016-10-06 00:00:52 +02:00
Álvaro Felipe Melchor
fd542c75bb
changes into merge sort to reassemble behaviour with sort
2016-10-06 00:00:50 +02:00
Álvaro Felipe Melchor
2be521421b
Add merge sort algorithm into r_list ( #5917 )
2016-10-05 15:59:41 +02:00
alvaro_fe
b61cd6f22a
Fix build
2016-09-27 00:44:14 +02:00
dequis
069391dd05
Fix leak in r_anal_noreturn_at_name
2016-09-27 00:28:21 +02:00
pancake
d1088fa95d
Add radiff2 -S to specify which column to sort for code diffing
2016-09-22 20:33:26 +02:00
Jayakrishna Menon
5c64af6ea7
beautify code
2016-09-22 19:30:15 +02:00
Jayakrishna Menon
6c71de7b11
implementing sorting of code diff
2016-09-22 19:30:15 +02:00
saucec0de
c908e0f818
Fixing ds in x86 ( #5802 )
...
* Fixing ds in x86
* Several updates due to new OP_TYPE
2016-09-22 13:42:06 +02:00
Ahmed Mohamed Abd El-MAwgood
6c47f5a20d
Basic merge of no return function with types db ( #5774 )
2016-09-20 21:54:44 +02:00
pancake
b966a8ddce
Only recache hints if database changes. Huge speedup in pd
2016-09-20 11:34:08 +02:00
Paul
30a0987c0a
Various analysis enhancements
...
* Updated anal.nonskip is updated
* Possible infinite recursion fix
* anal.hpskip is added (false by default)
* mips fix; build fix; flag_exist_at callback is added
* nopskip fix
* asm.leahints fix
2016-09-05 20:42:04 +02:00
Vlad Ivanov
19d4154e39
anal_xtensa: initial ESIL support
2016-09-01 22:50:28 +02:00
pancake
fd0810fbf1
Fix memleaks in av, lot of anal code cleanup and do not always allocate bb->diff
2016-08-22 18:32:18 +02:00
Álvaro Felipe Melchor
dc5673ec3a
Fix regression with the arm/thumb changes ( #5464 )
...
Now we build a list of ranges (RAnalRange) based on anal hints to handle the
bits in a better way in the case of arm/thumb
Now instead of asm.bits that rules the whole binary we can define ranges with
anal hints
2016-08-10 18:49:44 +02:00
Alexandru Razvan Caciulescu
61518c2646
xrefs dir path fix
2016-08-01 12:55:47 +02:00
Ahmed Mohamed Abd El-MAwgood
2dbb3d8fc6
Calling convention profiles in SDB ( #5358 )
2016-07-27 13:50:14 +02:00
Ahmed Mohamed Abd El-MAwgood
5586355bb8
autoloading windows types when file is windows executable ( #5304 )
...
and few other adjustements
2016-07-07 00:14:06 +02:00
Ahmed Mohamed Abd El-MAwgood
85dcb19dae
fixing type link consumes no bytes ( #5288 )
...
implementing initial api for types
Adding types profiles for x86 and x86_64 architectures
2016-07-05 22:44:53 +02:00
pancake
bfa8eb740a
Optimize callconv and fix two bugs related to op_pos
2016-06-17 18:38:25 +02:00
pancake
fb3be2c58f
Do not nullify RAnalOp after fini()
2016-06-17 15:52:57 +02:00
pancake
f8b5a6602a
Boolify anal.xrefs/projects
2016-06-14 01:40:46 +02:00
Damien Zammit
5e1ad580db
build: fix warnings
2016-05-08 12:21:11 +02:00
Damien Zammit
af0a865d9f
WIP - Totally remove host endianness dependence
...
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
Andrey Torsunov
60de2dc6b4
Fix couple of memory leaks. Issue #2772 . ( #4725 )
2016-04-28 10:47:50 +02:00
pancake
20b49f1615
Implement stackptr analysis in MIPS and add ALIGN stackop type
2016-04-13 23:33:30 +02:00
NaveenBoggarapu
4c04b98b47
few memory leaks fixed
2016-04-13 21:55:48 +02:00
pancake
b54614d292
Use anal reg profiles from debug.esil
2016-04-08 00:54:15 +02:00
pancake
740e43eadd
Fix some segfault and consistencies
2016-04-04 01:59:30 +02:00
pancake
802a793074
Fix even more memleaks
2016-04-04 01:03:31 +02:00
Lukas Dresel
1977400d73
Added short and long long types to t command
2016-04-03 01:15:49 +02:00
Matthieu Tardy
bb84bbc276
Fix memory leaks in rabin2 and libr
2016-03-06 23:17:44 +01:00
pancake
16018c273d
Fix possible null deref if corrupted plugin loaded
2016-01-19 00:35:13 +01:00
pancake
40e08dbd89
Get rid of _Bool
2015-12-01 12:39:12 +01:00
pancake
d91df64286
Initial support for 'an' aka no-return analysis points
2015-11-12 13:47:44 +01:00
pancake
72b27776d7
Initial support for function signatures using pf and initial symbol tables
2015-10-30 03:07:22 +01:00
pancake
42bc18703a
Implement asm.pcalign and min/max opsize info
2015-10-14 02:11:53 +02:00
pancake
8eb71af9ed
Internal reg prefix is now $, 85008 for curpc, TRAP for traps
2015-09-14 11:31:54 +02:00
pancake
4c99bb6845
Refactor reflines and support asm.linesup for longer disasm
2015-09-08 23:21:35 +02:00
pancake
90c22d90ab
Fix #3162 - Duplicate(or more) on analysis warnings
2015-09-07 00:30:48 +02:00
Riccardo Schirone
34ef49631e
core/anal: refactoring
...
* core/anal: refactoring of r_core_anal_op
* core/anal: refactoring of r_core_anal_bb + some comments to R_API fcns
* anal: use noncode as boolean
* core/anal: clean r_core_anal_fcn
* core/anal: split r_core_anal_fcn to improve readability
* core/anal: simplify code
2015-08-11 08:57:01 +02:00
Riccardo Schirone
6b47a68c91
core/anal,cmd_anal;anal/bb,data,fcn: general cleaning
...
* core/cmd_anal: extract cmd_anal_all function
* core/anal;anal/bb,data,fcn: indentation
* core/anal;anal/anal,data,fcn: remove dead code
* core/anal: remove macros in the middle of function
* core/anal: avoid blocks in the middle of functions
* core/anal: fix macro name R_ANAL_BB_HA_OPS -> R_ANAL_BB_HAS_OPS
* core/anal: fix if/else if/else
* core/anal: remove r_ prefix from static functions
2015-08-11 08:57:01 +02:00
shuall
0807686d86
#3052 all printf member functions changed to cb_printf
2015-08-09 03:25:05 +02:00
Anton Kochkov
ac72978de7
Fix #3034 - tf command
2015-08-05 01:51:25 +03:00
pancake
c334632809
Add anal.noncode to avoid analyzing data by default
...
Fix double-free in core/anal.c
2015-07-05 01:44:45 +02:00
pancake
693ba387a0
Initial support for ESIL pins to emulate entire functions
2015-06-30 11:14:54 +02:00
pancake
e147a21be9
Fix some of the alloc-check bugs reported in #2772
2015-06-17 12:36:08 +02:00