radare2/libr/anal
Dirk Eibach 405524d2f8 Make segment granularity adjustable (#9631)
* core: Make segment granularity adjustable

Segments in x86 real mode have 16 byte granularity(4 address bits).
There are however systems (namely the Vautomation/ARC Turbo 186 cores)
that use 256 byte(8 address bits) instead to allow access to 16MiB memory.

Unfortunately fixed granularity is hard coded in lots of places in r2.

This patch adds asm.seggrn configuration and fixes the hardcoded
assumptions in core.

Signed-off-by: Dirk Eibach <eibach@gdsys.cc>

* anal_x86_cs: Make segment granularity adjustable

Fix hard coded segment granularity assumptions in capstone
anal module.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
2018-03-12 12:37:35 +01:00
..
arch Hexagon - improve jumps analysis 2018-02-06 13:31:18 +08:00
d Meson: Invoke python via <python3> module + some little fixes (#9594) 2018-03-06 08:28:40 +01:00
p Make segment granularity adjustable (#9631) 2018-03-12 12:37:35 +01:00
anal_ex.c Code cleanup and fix analysis regression in Java code 2017-09-02 01:57:13 +02:00
anal.c fix(anal): use r_anal_op_free instead of free for op (#9565) 2018-03-04 21:54:44 +01:00
bb.c Add asm.bbinfo for debugging op_pos 2018-02-23 10:45:53 +01:00
cc.c Load types and cc info on asm.arch change 2016-08-16 11:59:34 +02:00
cond.c Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
cycles.c
data.c Code refactoring for the color palette handling 2018-02-23 19:00:47 +01:00
diff.c Fix radiff2 tests 2017-09-02 18:50:38 +02:00
esil2reil.c Fix regression in r_snprintf 2017-11-28 22:43:17 +01:00
esil_stats.c Support for modifying the incoming value in operation RAnalEsilCallbacks::hook_reg_write(). (#5977) 2016-10-18 16:59:38 +02:00
esil_trace.c Bump sdb to fix hash collision issues 2017-01-14 22:02:33 +01:00
esil.c Honor scr.color in Vbf 2018-02-09 13:59:27 +01:00
fcn.c Fix undeletable function bug. Test: af+ $$ foo; af- $$ 2018-03-06 21:47:08 +01:00
fcnstore.c Use ht_* from sdb in fcnstore.c 2017-02-24 23:42:17 +01:00
flirt.c First step in removing fcn->refs/xrefs (#9157) 2018-01-09 20:38:08 +01:00
hint.c Fix build and move anal.setHints from plug to the anal loop 2018-02-27 19:13:12 +01:00
labels.c Fix minor issues by clang-analyzer (#7303) 2017-04-18 14:03:42 +02:00
Makefile Move VTables from Core to Anal (#9638) 2018-03-09 20:02:39 +08:00
meson.build Meson: enable Propeller and Java (#9639) 2018-03-09 20:05:47 +08:00
meta.c Fixed Csj for Cs8 strings 2017-12-30 15:46:48 +08:00
op.c Fix #2983 - double-free issue in Java.RAnalOp.cases switch 2018-02-04 12:42:42 +01:00
pin.c Fix some memleaks, warnings and null derefs pointed out by clang analyzer 2017-07-10 11:20:03 +02:00
ref.c Fixed axtj/axfj extra null byte. (#9018) 2017-12-15 01:12:54 +01:00
reflines.c Fix #6852 - up lines are now more beautiful 2017-10-31 02:14:00 +01:00
session.c Add a comment on the stepback functionality to warn user about how broken is it 2017-11-15 01:13:29 +09:00
sign.c Introduce r_sys_prefix 2018-01-16 11:58:47 +01:00
state.c Remove configure-plugins dependency for the make meson 2017-05-26 02:43:53 +02:00
switch.c Fix #2983 - double-free issue in Java.RAnalOp.cases switch 2018-02-04 12:42:42 +01:00
types.c Fix regression in r_snprintf 2017-11-28 22:43:17 +01:00
value.c Fix #6162 - Renames r_str_concat to r_str_append 2017-03-16 22:29:49 +01:00
var.c The value must be negative, for the information being properly prompted. 2017-09-07 16:33:38 +02:00
vtable.c Fix vtables detection 2018-03-12 18:28:05 +08:00
xrefs.c Fix #9042 - Remove spaces from delta flags in ax 2017-12-22 15:56:34 +01:00