Commit Graph

207 Commits

Author SHA1 Message Date
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +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
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
pancake
1629dd2b64 Remove two unused fields in RAnalOp and some deadcode 2016-06-17 14:26:24 +02:00
pancake
f96f00d62d Fix #5158 - Merge r_db into r_util 2016-06-17 12:19:16 +02:00
pancake
24aec5be8c Fix all latest COVs 2016-06-07 10:03:04 +02:00
pancake
4f51606b6d More osx-ppc build fixes.. 2016-06-06 16:55:15 +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
hummypkg
60a7e601cc add some missing MIPS pseudo instructions, fix others (#5022) 2016-05-27 16:12:27 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
hummypkg
9043c1faeb Allow local variable detection for mips (#4960) 2016-05-21 12:24:42 +02:00
hummypkg
a6bc0b39f5 Fix pseudo-code fro mult(u) - add mfhi, mflo, mul; implement ESIL mul op (#4943) 2016-05-18 15:58:04 +02:00
hummypkg
77a6d2a9f6 fix pseudo output for MIPS sw ... (xx) (#4941) 2016-05-18 14:15:28 +02:00
hummypkg
c54760269b Fix MIPS pseudo code for move op. (#4940) 2016-05-18 12:12:53 +02:00
Damien Zammit
632dccc217 Remove LIL_ENDIAN macro and configure option
TODO: Remove other endian cruft from:
- hashing algs
- judy
- squashfs
- grub
- tms320

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-06 10:21:55 +02:00
Ahmed Mohamed Abd El-MAwgood
f6c24f426f Adding support for handling sp registers at parsing 2016-05-05 15:48:00 +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
Riccardo Schirone
26fc8f92ef libr: remove some unused variables and functions 2016-04-27 12:59:45 +02:00
pancake
13c820a7c5 More old ppc mac fixes 2016-04-27 11:03:33 +02:00
pancake
8cd8ac3b0e Workaround to show fastcall args 2016-04-23 19:25:31 +02:00
pancake
280abd4f77 ARM can't hwstep by default 2016-04-22 10:15:22 +02:00
pancake
0dd92ebbf1 Add comments in pdc and arm.pseudo fixes 2016-04-22 10:15:17 +02:00
pancake
3dde2588ac Fix memory leak and spacing in parse.x86.vars 2016-04-21 23:18:36 +02:00
pancake
0012530df6 Simplify AND x,x,y esil on mips 2016-04-21 03:41:09 +02:00
NaveenBoggarapu
4c04b98b47 few memory leaks fixed 2016-04-13 21:55:48 +02:00
Álvaro Felipe Melchor
cd85e12a31 fix some memory leaks 2016-03-31 23:01:02 +02:00
pancake
a461bbc536 Fix #4304 - asm.filter for m68k 2016-03-22 12:45:05 +01:00
pancake
dc33b03011 Handle movk and movz in the arm64 assembler and pseudo disassembler 2016-03-17 17:26:08 +01:00
Evan Shaw
288763f69a Count hex digits as numbers in parse filter
Without this we chop off number operands as soon as a hex digit is seen.

Also fix and use a previously unused macro.
2016-03-17 11:13:30 +01:00
pancake
8a45a43a86 Initial import of the m68k.pseudo plugin 2016-03-15 12:29:53 +01:00
pancake
fba4d03fef Fix #4206 - Enhance asm.relsub for x86 2016-03-06 11:41:49 +01:00
pancake
9000fdf2f9 Fix #4192 - Fix crash with r2 -av810 -cpd - 2016-02-28 17:50:13 +01:00
pancake
c545af6fbf Honour asm.ucase with asm.filter on filtered local vars 2016-02-25 22:36:26 +01:00
pancake
384cfb1042 Fix last coverities 2016-02-16 02:08:09 +01:00
Maijin
69c3ffa9e6 Change default syscall ahi S 2016-02-03 17:51:55 +01:00
Maijin
8571a9c2ba Add ahi for syscall numbers fix #4068 2016-02-03 17:05:03 +01:00
pancake
3a2a713775 Implement ahi 32 for IP address hints 2016-02-03 12:29:32 +01:00
Martin Heistermann
92c17e08c6 Fix a few MIPS pseudocode mistakes.
Special thanks to maijin in the #radare IRC for pointing out this
file to me.
2016-01-28 23:16:38 +01:00
pancake
ececf1dcc6 Use snprintf and pnumleft in the ahi2 filter 2016-01-07 13:11:05 +01:00
DZ_ruyk
010e997c3e Fix for issue #3766 2016-01-07 12:38:00 +01:00
pancake
5132a499c2 Fix many coverities 2015-12-31 17:10:02 +01:00
pancake
1d8b761ca1 Various static and iOS related build issues are now fixed 2015-12-28 02:01:45 +01:00
pancake
d49f6dcf7b Fix #3781 - 64bit ahi issue 2015-12-22 22:59:57 +01:00
pancake
2c047083e3 Fix asm.filter issue in some ARM64 instructions 2015-12-19 17:04:01 +01:00
Riccardo Schirone
065728c42d parse/p: fix asm.relsub when replaced string is longer than original
fix #3768
2015-11-27 20:37:19 +01:00
pancake
7b7400c392 Support ansi and rgb in rparse 2015-11-24 01:24:47 +01:00
pancake
b172333386 Another isspace regression for ahi 2015-11-23 23:55:44 +01:00
pancake
0f5740d1a5 Fix regression introduced in ahi 2015-11-23 23:33:50 +01:00
pancake
653e09a0aa Fix #3746 - Handle immbase anal hint in all number bases 2015-11-23 23:04:49 +01:00
pancake
96990424cc Fix #3737 - crash in ahi 1 for huge 64bit nums 2015-11-23 12:45:30 +01:00