2683 Commits

Author SHA1 Message Date
Giuseppe
514c8a22f6 Fix ESIL expression for x86 "call [esp]" (#9451) 2018-02-21 19:33:03 +08:00
Fangrui Song
d90575bad0 Remove an unsatisfiable check 2018-02-21 05:06:12 +01:00
Giuseppe
503203241e Fix ESIL for aarch64 ldp (#9443) (#9446) 2018-02-21 05:01:49 +01:00
Giuseppe
d08115b717 Fix #9197, wrong esil for aarch64 ldr (#9442) 2018-02-20 23:20:02 +01:00
Giovanni
0c776c0e71 warnings from lib (#9445) 2018-02-20 23:19:35 +01:00
Khairul Kasmiran
e7e544cbd8 bf, unbalanced '[': trap -> ill 2018-02-20 19:07:34 +08:00
Paul I
bb4f61580e Cleanup meson files (#9424) 2018-02-20 09:33:19 +01:00
Khairul Kasmiran
47a1596f3b strdup -> r_mem_dup 2018-02-19 22:06:34 +08:00
Khairul Azhar Kasmiran
d356d16a8e bf: allow loops of any size
* bf: allow loops of any size
* Consider unbalanced '[' insn as trap insn
* Using callback instead of directly linking to resize_read_buf func
2018-02-19 14:27:05 +01:00
pancake
1264e1c45e Fix xtensa esil emulation test 2018-02-18 00:14:37 +01:00
Michael Scherer
09c5f2c934 Fix typo in TMS320 DSP plugin (#9397) 2018-02-15 13:04:51 +08:00
pancake
9926909181 Fix delay slot emulation with ESIL on MIPS (by rewriting it) 2018-02-12 13:22:11 -06:00
pancake
4354526b89 Fix aop{jump,fail} regression in avr 2018-02-10 00:22:54 +01:00
pancake
5194e9012a Honor scr.color in Vbf 2018-02-09 13:59:27 +01:00
pancake
05915305a0 Fix build 2018-02-09 12:10:35 +01:00
Anton Kochkov
9aabb06939
Enable hexagon for Windows builds (#9337) 2018-02-07 14:57:32 +08:00
pancake
56f553b69a Honor anal.depth instead of harcoded value. Fixes aac in avr 2018-02-07 00:02:40 +01:00
Adrian Studer
6fa334607b 8051 fixed push/pop refs, simplified sfr calc (#9333) 2018-02-06 22:40:40 +01:00
Benno Fünfstück
61d1c1fa28 More avr fixes (#9329)
* fix(anal_avr): more decoder fixes

* feat(anal_avr): add sts instruction semantics

* feat(anal_avr): more 16 bit register names

They get used frequently by the compiler as 16-bit storage values, and it should
not hurt to have them even if some processors may not support them (not sure if
there actually are processors that don't)
2018-02-06 13:41:19 +01:00
Anton Kochkov
5f3c06b4b6 Hexagon - improve jumps analysis 2018-02-06 13:31:18 +08:00
pancake
c0d7477879 Blind fix for a null deref in cutter 2018-02-05 13:49:26 +01:00
pancake
79bac9c5d7 Fix #2983 - double-free issue in Java.RAnalOp.cases switch 2018-02-04 12:42:42 +01:00
Adrian Studer
207e8596cd refactor for riobind 2018-02-03 19:22:56 +01:00
Adrian Studer
60c396e401 adding r_io dependency to anal meson 2018-02-03 19:22:56 +01:00
Adrian Studer
c8c062dba9 fixing r_io dependency at the right place (ranal) 2018-02-03 19:22:56 +01:00
Adrian Studer
59ac699678 8051: adjusted sfr mapping 2018-02-03 19:22:56 +01:00
Adrian Studer
44d3873289 8051: allocate mapped memory 2018-02-03 19:22:56 +01:00
Benno Fünfstück
0739b0c823 fix(anal_avr): correct ESIL semantics of sbc
Rd-Rr-C must be computed as Rd-(Rr+cf), not Rd-(Rr-C) (which adds the
carry, instead of subtracting it).
2018-02-03 19:22:15 +01:00
Benno Fünfstück
ab16f7b322 avr: fix some esil instruction decoding bugs 2018-02-03 19:22:15 +01:00
pancake
6b053ccf59 Fix hexagon register profile 2018-02-02 23:03:14 +01:00
pancake
c6baeb5728 Fix symbol name encoding issue for JSON 2018-02-02 21:32:40 +01:00
Anton Kochkov
efcc2bef68 Hexagon QDSP6 v6 support - LGPLv3 (#9289) 2018-02-02 13:10:40 +01:00
Adrian Studer
02997bfaa2 8051: added configurable mapping of address spaces (#9275) 2018-01-31 09:48:25 +01:00
Adrian Studer
fa5d756211 removed %n$ constructs (#9261) 2018-01-29 13:04:20 +08:00
Adrian Studer
1ef740dbf3 Adding XRAM and IRAM base address to anal ptr (#9249)
* adding IRAM location offset to fix data XREF
* imm16 (dptr) typically is xram, not iram
* fixed escaping of % in div
2018-01-27 10:25:43 +01:00
pancake
2a5bb28a4c Fix anal.m68k plugin name and handle LINK, UNLK instructions properly 2018-01-26 23:44:28 +01:00
Adrian Studer
c4ed0924fe 8051: adding missing bit addresses (#9236) 2018-01-24 19:54:44 +01:00
pancake
5642883db9 Initial rework of sysregs 2018-01-24 15:12:33 +01:00
Anton Kochkov
18c633cb36 Initial work on CPU specific registers 2018-01-24 11:31:55 +01:00
Adrian Studer
2848fe6df2 8051 ESIL DIV, MUL, SUBB and CJNE (#9234)
* 8051 esil div, mul

* 8051 esil SUBB, CJNE carry
2018-01-24 11:28:18 +01:00
Adrian Studer
cdda904a27 8051 esil rework almost done (#9231) 2018-01-23 02:04:18 +01:00
pancake
b57fe402c7 Remove noisy printfs and use more calloc 2018-01-22 17:44:33 +01:00
sivaramaaa
d9e8c50e8d
Added warning msg for maxbbsz (#9230) 2018-01-22 17:57:55 +05:30
Maijin
bf1fb2d31f Expose all the AVR cpu in e asm.cpu 2018-01-21 16:38:41 +01:00
Benno Fünfstück
cceed42134 fix(anal_avr): calculate offset of ldd/std correctly (#9226)
The offset/not offset bit is the last bit of the first nibble, not the last
of the second nibble (see AVR instruction set manual).
2018-01-21 14:57:41 +01:00
Benno Fünfstück
4726c59ad5 feat(avr): add ATxmega128a4u CPU (#9227) 2018-01-21 14:56:22 +01:00
sivaramaaa
cffb7eba22
Drop ujump hacks (#9224)
* Drop ujump hack

* Remove anal.pltujmp config var
2018-01-20 19:48:51 +05:30
Adrian Studer
11f2b8c5eb 8051 esil cleanup (#9220) 2018-01-19 19:27:04 +01:00
pancake
be5f6a87d2 Fix last covs 2018-01-19 16:05:10 +01:00
Adrian Studer
c6cb2eb7d4 8051: fix esil for mov direct,direct (#9207) 2018-01-17 01:12:13 +01:00