radare
bf5e302881
Add anal.ex option, cleanup and improve the Java support ##anal
...
* Current java implementation of the analysis is not working well
* RBin.Java doesnt updates the vsizes because it seems to break things. wip for another PR
* Added anal.ex option to use extensions or not
2019-05-08 18:26:11 +02:00
pancake
e311b9c810
Refix
2019-05-07 04:43:29 +02:00
pancake
9085503996
Fixes for ppc analysis with capstone5
2019-05-07 04:43:29 +02:00
pancake
2c126c8805
ADD BP and SN for the ppc reg profile. Also fix some null derefs on invalid esil expressions
2019-05-06 22:38:51 +02:00
radare
f10da2e8ef
Fix #13975 - aho issue not showing bytes ##disasm
2019-05-06 18:44:53 +02:00
radare
f7d61f3c1f
Honor asm.pseudo in 'pi' ##disasm
2019-05-06 16:22:52 +02:00
David CARLIER
cdbc158db3
Sign hash, possible mem leak fix. ( #13942 )
...
Avoiding creating an entry if the type is not known (at the moment).
2019-05-01 18:57:55 +03:00
pancake
b8a71cfe67
Fix UB in esil shift
2019-04-29 04:21:21 +03:00
pancake
04af34ca8b
Initial work on refactoring RParse
2019-04-25 17:01:20 +02:00
condret
536e84ba28
remove PICK/RPICK from esil
2019-04-23 12:45:54 +00:00
condret
f9de740685
remove last use of PICK
2019-04-23 12:14:01 +00:00
condret
e66d55e325
remove one use of PICK from sh-esil
2019-04-23 11:21:03 +00:00
bart1e
cfafa9a9e8
Fill op->src[0] and op->dst in x86 and improve arg analysis with it ##anal
...
* Changed can_affect_bp a little
* Fixed xor reg, reg issue
* Small fix in rargs detection
2019-04-21 12:17:10 +02:00
David CARLIER
db8ea60fed
Fixing most likely a typo ( #13817 )
2019-04-19 09:59:15 +02:00
condret
277b26f97c
Fix esil test that I broke yesterday ( #13777 )
2019-04-16 09:34:25 +02:00
pancake
97eb757a17
Fix ELF main detection for ARM binaries ##bin
2019-04-14 23:11:06 +02:00
condret
7323caf817
Remove use of RPICK in sh-esil ( #13747 )
2019-04-14 23:05:44 +02:00
radare
ad3689b34d
Add the ability to set some registers readonly ##anal
2019-04-14 21:04:56 +02:00
bart1e
022550293c
Fix #12867 - Identify BP usage in x86 functions to improve var analysis ##anal
2019-04-14 17:40:53 +02:00
Rene Laemmert
e25ddef4a0
Preventing two little segfaults in zdiff
2019-04-14 17:04:12 +02:00
condret
7ac7d9c931
Remove all remaining uses of RPICK in avr-esil ( #13733 )
2019-04-14 13:36:52 +02:00
pancake
9c767c3b42
Implement ESIL for CPUID on x86.cs ##anal
2019-04-14 00:07:51 +02:00
pancake
f70bb2f63e
Fix crash in rasm2 -a 8051 -d
2019-04-13 22:19:22 +02:00
David CARLIER
6051c55b26
Fix potential DF and irrelevant resource freeing
2019-04-12 19:21:29 +02:00
radare
c52856626c
Implement /am and add initial support for PAC instructions ##anal ( #13716 )
...
* /am is like /c but only search for instructions and uses R_ANAL_MASK_DISASM
* Added new op family: R_ANAL_OP_FAMILY_PAC; (see /af)
2019-04-12 13:12:10 +02:00
radare
6e0e5cea0d
Honor more anal hints in the anal loop ##anal
2019-04-12 12:53:24 +02:00
radare
0ed7742073
Update capstone to use the NEXT branch ##disasm
2019-04-12 11:24:08 +02:00
rene
726e459043
added bswap to esil in x86
2019-04-12 10:42:09 +02:00
condret
c76ba8860c
more RPICK removal from avr esil (fmuls and fmulsu)
2019-04-12 02:45:10 +02:00
condret
c1c75f76d7
more RPICK removal from avr esil (mul and fmul)
2019-04-12 02:45:10 +02:00
radare
a7dffe0240
Add anal.ignhintbits to only obey asm.bits and ignore hints ##anal ( #13696 )
2019-04-11 04:34:34 +02:00
pancake
e8b49918ab
Add an option for anal.loads ##anal
2019-04-11 00:07:26 +02:00
pancake
fe262e3ff6
Load instructions now set a data meta ##anal
2019-04-11 00:07:26 +02:00
condret
ec16533b84
Cleanup avr-esil for inc and dec (also RPICK-removal) ( #13693 )
2019-04-10 21:38:50 +02:00
radare
48db157935
Fix random crash on x86.cs on exit when used with r2frida ( #13692 )
...
* better leak on exit than crash in capstone/frida
2019-04-10 18:11:54 +02:00
condret
a5dbd3b413
More RPICK removal in avr esil ( #13687 )
2019-04-10 12:20:50 +02:00
condret
1d40c3825e
Remove unnecessary RPICK in avr.esil ##esil
2019-04-09 21:56:14 +02:00
David CARLIER
9a2462620e
Few UAF fixes ##esil ( #13678 )
2019-04-09 21:32:34 +02:00
Andrew D'Addesio
4198e18687
arm: Remove redundant op->type assignment ( #13683 )
2019-04-09 21:31:39 +02:00
condret
00c1e3697c
Add esil_weak_eq and make an operation ##esil
...
* Deprecate esil_write_internal
* $z, $b, $c, $p, $o, $s, $ds, $jt, $js, $r, $$ are now ops
* Remove R_ANAL_ESIL_PARM_INTERNAL
2019-04-09 11:37:04 +02:00
Andrew D'Addesio
fcd10cc52d
arm: Cleanup br instruction handling
...
The cleaned up code fixes the following issues:
1. "bx pc" should always change to ARM mode (bits=32), never
Thumb mode (bits=16), since PC is always even.
2. Use (addr & ~3LL) + pcdelta for all PC-relative arithmetic.
and removes checks for "b reg"/"bl reg"/"bx imm"/"bxj imm" as
these instructions don't exist.
2019-04-08 21:53:15 +02:00
Andrew D'Addesio
05998cdfbb
arm: Move brace postfixing to bottom of function
...
The analop_esil/analop64_esil functions have to wrap braces around the
ESIL expression if there's a condition code. Instead of only printing
the closing brace on certain instructions (which may differ from
arm_prefix_cond one day), print it regardless of the instruction.
2019-04-08 21:53:15 +02:00
Andrew D'Addesio
04a4cc2faf
arm: Move op analysis from anop_esil to anop
...
This matches how other archs do it, such as x86.
2019-04-08 21:53:15 +02:00
radare
b67a28bd3a
Make zignatures database more flexible, add realname, comments and xrefs ##sign ( #13655 )
...
Use more r_return and a lot of code cleanup, but still not finished, more PRs to come
2019-04-08 16:13:44 +02:00
pancake
0096dbfdb0
Hide one more emulation warning under esil.verbose
...
* Invalid asr shift of 32 at 0xdbb6
2019-04-05 17:48:49 +02:00
radare
bef53de046
tfc->tcc and tcc in sync with t*c ##types
2019-04-05 17:44:46 +02:00
radare
1125bf7476
Initial import of the WIP zdiff algorithm ##diff
2019-04-05 15:34:43 +02:00
pancake
e454df3e73
Add more fcn types, new api r_str_fmtargs and af- is af-$$ ##anal
2019-04-05 00:52:24 +02:00
pancake
905888f793
Add more basic types from libc ##types
...
Thanks to anal.types.verbose
2019-04-04 16:55:08 +02:00
pancake
c52ccdff50
Fix null deref in types when invalid db and add more basic libc ##types
2019-04-03 19:06:52 +02:00