2704 Commits

Author SHA1 Message Date
Florian Märkl
59e4408d70 Move VTables from Core to Anal (#9638) 2018-03-09 20:02:39 +08:00
pancake
8f43e155c4 Fix warning and remove graph layer warning message 2018-03-07 00:51:49 +01:00
pancake
6f7d72f12c Fix undeletable function bug. Test: af+ $$ foo; af- $$ 2018-03-06 21:47:08 +01:00
Khairul Kasmiran
f5f9ee39d3 Moved read_at into RAnal 2018-03-06 22:26:02 +08:00
Khairul Kasmiran
2244152360 new_read_window 🡒 read_at 2018-03-06 22:19:57 +08:00
Khairul Kasmiran
3d1689bd3c modify_read_window → new_read_window 2018-03-06 20:18:25 +08:00
Paul I
9c0d682e60 Meson: Invoke python via <python3> module + some little fixes (#9594)
* Meson: Invoke python via <python3> module

* Meson: Added version check

* Meson: Disable git output for capstone cloning command
2018-03-06 08:28:40 +01:00
Khairul Kasmiran
3819134003 Cannot initial declare in for loop 2018-03-05 21:04:38 +08:00
Benno Fünfstück
18bffe1257 feat(anal_avr): implement opcode masking for improved zignatures (#9569)
AVR instruction encoding is weird, we really need custom masking to get useful
zignatures.
2018-03-05 11:39:48 +01:00
Benno Fünfstück
6c77168732 feat(anal_avr): add missing opcode info (val, ptr) (#9568) 2018-03-05 11:23:03 +01:00
Anton Kochkov
6a41524599 Revert "char* is a pointer (#9580)"
This reverts commit d57ae7ae1b6f9bed66077b41c261967324b8bc22.
2018-03-05 12:33:11 +08:00
Guillaume Valadon
d57ae7ae1b char* is a pointer (#9580) 2018-03-05 00:18:42 +01:00
Paul I
13f7013696 Meson: Added sdb building/installation rules (#9575) 2018-03-05 00:10:28 +01:00
Benno Fünfstück
61198eca8f fix(anal): use r_anal_op_free instead of free for op (#9565) 2018-03-04 21:54:44 +01:00
Florian Märkl
5e1f811ec0 Fix meson indentation (#9567) 2018-03-03 22:08:37 +01:00
Florian Märkl
95a1b75784 Install Headers and .pc Files with Meson (#9548)
Use meson pkgconfig for .pc files

meson 0.44

Install same headers as acr
2018-03-03 20:00:18 +08:00
pancake
b3d465f38e Fix build and move anal.setHints from plug to the anal loop 2018-02-27 19:13:12 +01:00
Khairul Azhar Kasmiran
cf4efd5984 resize_read_buf -> modify_read_window (#9507) 2018-02-26 10:01:25 +01:00
Khairul Azhar Kasmiran
bcb7dcf717 bf: fix crash when unbalanced loop and no aes (#9495) 2018-02-24 19:17:00 +01:00
xarkes
7e98502666 Code refactoring for the color palette handling
* RConsPrintablePalette initialization
* Remove scr.rgbcolor
* Added RColor support to cons_pal_parse
* Added warnings about pal_set and missing event_update
* Code cleaning (char* to RColor), less rgb_parse
2018-02-23 19:00:47 +01:00
pancake
41506c65d8 Add asm.bbinfo for debugging op_pos 2018-02-23 10:45:53 +01:00
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