2121 Commits

Author SHA1 Message Date
Gerardo García Peña
813361df4c Support for modifying the incoming value in operation RAnalEsilCallbacks::hook_reg_write(). (#5977) 2016-10-18 16:59:38 +02:00
pancake
c39266beb7 Add atoi in default anal types 2016-10-18 02:09:45 +02:00
pancake
daafeda5e1 Fix call xrefs in arm+thumb 2016-10-18 01:08:52 +02:00
pancake
22dddd9704 Fix #5975 - Honor asm.varsub and asm.relsub with asm.ucase 2016-10-18 00:55:10 +02:00
pancake
0811234588 Dont fuck with old capstone 2016-10-17 17:19:43 +02:00
Maijin
31ff46507b typo in windows-type 2016-10-17 14:49:58 +02:00
Maijin
b386477deb Add WORD and PADDR in types-windows
Add WORD and PADDR in types-windows
2016-10-17 14:36:05 +02:00
pancake
990620feea Fix #5978 - Fix segfault in types 2016-10-17 14:09:10 +02:00
Maykeye
486434036a Fix #5960 - What to push shall be put on stack before changing sp 2016-10-14 12:03:24 +02:00
Gerardo García Peña
2f87024db4 Added SBR opcode. 2016-10-13 16:25:52 +02:00
Gerardo García Peña
c82c411724 New instruction SBIW. 2016-10-13 16:25:52 +02:00
Gerardo García Peña
452e2fdb77 Added new AVR instructions (SBI, SBIC, SBIS) and new op family class. 2016-10-13 16:25:52 +02:00
Gerardo García Peña
803f4f2a4f SBCI and SBI opcodes. 2016-10-13 16:25:52 +02:00
Gerardo García Peña
a26964eb7a Added OR, ORI and ROR. 2016-10-13 16:25:52 +02:00
Marc
65af037198 Fix Dalvik imports and symbol ordinals 2016-10-11 14:28:46 +02:00
Gerardo García Peña
b2ad3302e2 Gif me moar Anal AVR Opcodes (#5943)
* CPI, CPC and RCALL bugfixed.
* RJMP bugfixed
* Added LSR and MOV. Index table resorted again.
* Added MUL, MULS and MULSU.
* Implemented NEG opcode.
* By default copy values from atmega8
2016-10-11 12:09:10 +02:00
Álvaro Felipe Melchor
84b4b1b8f6 fix regression 2016-10-10 21:09:30 +02:00
pancake
3ae8b9813b Get rid of some %\d$ constructions in anal_8051.c for #3944 2016-10-10 10:20:51 +02:00
pancake
cd26e34a7b Blind fix #5938 - remove some __FILE__ references 2016-10-08 03:01:22 +02:00
Gerardo García Peña
3ab7b326cf More memory AVR operations (LDS/LPM) 2016-10-06 12:21:52 +02:00
Gerardo García Peña
1ff73d3cb2 Fixed LCALL for x64 (#5930) 2016-10-06 11:08:39 +02:00
pancake
4bbc825de9 Add sync optype and refix the jmphint glitch 2016-10-06 03:38:28 +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
pancake
ce0753130a Add more arm64 regs, fix movk esil 2016-10-05 23:07:58 +02:00
Gerardo García Peña
5ea9899f06 Fixed LJMP, added support to segments in JMP, fixed LCALL. (#5920) 2016-10-05 16:03:58 +02:00
Marc
4e3849c905 Remove invalid anal str for const-class instruction. Fix #5911 (#5913) 2016-10-05 16:02:08 +02:00
pancake
c1b4cd666f Do not run aav in aa on ARM 2016-10-05 16:01:16 +02:00
Álvaro Felipe Melchor
2be521421b Add merge sort algorithm into r_list (#5917) 2016-10-05 15:59:41 +02:00
Gerardo García Peña
9ea972b218 Fixing LCALL for x86 16/32 bit (#5910) 2016-10-05 02:50:40 +02:00
pancake
3c22cbfa7c Fix #5890 - Assume pushed executable addresses as CODE references 2016-10-04 21:03:11 +02:00
pancake
150ebc3c26 Add long-to-double instruction for anal.dalvik 2016-10-04 15:55:04 +02:00
pancake
9eb1a2903b Enforce hexpair parsing rules. To fix rahash2 -S foo without s: 2016-10-04 15:46:46 +02:00
pancake
f3176a1174 Fill the op.type field for STOS and LODS on x86.cs 2016-10-04 11:53:33 +02:00
Álvaro Felipe Melchor
8cbfaf8dbc Fix NULL dereference in search_reg_val 2016-10-02 02:10:37 +02:00
Álvaro Felipe Melchor
b1ee53bf2a change addr alignment 2016-10-01 12:05:35 +02:00
Álvaro Felipe Melchor
f807f13fca Fix relsub for arm and esil 2016-10-01 12:05:32 +02:00
Gerardo García Peña
4971aca917 It's raining AVR anal ops, hallelujah! (#5888)
* Implemented opcodes FMUL, FMULS, FMULSU.

* Implemented IJMP and ICALL.

* Added opcodes LAC, LAS and LAT.
2016-09-29 23:46:14 +02:00
pancake
ec25d8475c Disable syscall emulation in esil by default 2016-09-29 19:39:59 +02:00
oddcoder
fad94aa57f fixing invalid json syntax (#5884) 2016-09-29 15:07:53 +02:00
Markus Lottmann
c02be8da7d Correction of ESIL code generated for ROL, ROR and OR instructions on X86 (#5873)
* Esil equivalent of x86 cmp instruction now set the overflow flag.

* Fixed ESIL code generated for ROL instruction.

* Fixed ESIL code generated for OR instruction.
2016-09-29 09:41:33 +02:00
Gerardo García Peña
ccda50b1a2 More opcodes for AVR anal plugin (#5875)
* More opcodes for AVR anal plugin:

New ops BREAK, BST, CBI, COM, CPSE, DEC, LD, LDD, INC, SBRC/S, STD, EIJMP, EICALL and ELPM.

Heavy bugfixing and refactorization.

Emit cycles warning only one time.

working on FMUL

* Removed strcasestr() and bzero() moved to memset()

* Bugfixes (avr tests were broken).
2016-09-29 09:39:04 +02:00
pancake
18ac22ea6e Fix #5872 - uninitialized free in pdj 2016-09-28 16:47:33 +02:00
alvaro_fe
413ff4313a Fix some coverities 2016-09-27 18:56:34 +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
radare
1923ee74ef Fix #5698 - Support memrefcalls in xrefs and hotkeys common on w32 bins 2016-09-26 23:13:49 +02:00
pancake
956bd21ef1 Fix #4311 - Allow ESIL to change BITS from core 2016-09-26 17:04:44 +02:00
Álvaro Felipe Melchor
3a5444f3ca Fix warnings 2016-09-26 13:24:00 +02:00
Markus Lottmann
8abffec384 Esil equivalent of x86 cmp instruction now set the overflow flag. (#5851) 2016-09-26 13:03:08 +02:00