Commit Graph

17560 Commits

Author SHA1 Message Date
Khairul Azhar Kasmiran
b2f301fb07 Disasm now honors str.escblash (#9667) 2018-03-12 15:54:05 +01:00
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
Vasco Franco
2aa613b4e8 Implementation of dsuo (step until opcode type). Improvement of help. Closes #2227 (#9661)
* dsu help message improved (mentioned in #2227)
* only missing the function itself
* implemets step until opcode
* fixed debug loop limiter
* for loop initial declaration removed
2018-03-12 12:33:54 +01:00
Oscar Salvador
b5fa54eba7 Fix: omn wasn't expecting an id (#9662) 2018-03-12 12:33:03 +01:00
Oscar Salvador
2b7afb9264 Fix: grab regstate on i386 (#9663) 2018-03-12 12:32:44 +01:00
Anton Kochkov
f30df2c19d Add print format for size_t, fix warns 2018-03-12 19:01:54 +08:00
Anton Kochkov
114f59a7e0
Fix vtables detection 2018-03-12 18:28:05 +08:00
G4mb1t
bc3b63276d Fix cmd /c/j to print json (#9651)
* Fix cmd /c/j to print json

* Fix parameter passed to r_core_asm_strsearch
2018-03-12 09:29:06 +01:00
zlowram
0716a903cc Honor CFLAGS and LDFLAGS in static build script (#9660)
The CFLAGS and LDFLAGS were being overwritten and didn't allow
modification of such variables for adding other compiling and
linking options (e.g. compile with address sanitizer + coverage)
2018-03-11 23:35:40 +01:00
Vasco Franco
13c02fdcea Fixed json output of /Af command in cmd_search.c (#9657) 2018-03-11 19:29:43 +01:00
pancake
5da2685463 Prefix ec escape code with x1b to not look weird 2018-03-11 17:38:21 +01:00
redmed666
2ecaaf4939 Switch cases for imul and idiv when there is only 1 argument (like for mul operation) (#9654) 2018-03-11 16:12:26 +01:00
Khairul Azhar Kasmiran
4b7ee94873 r_name_filter: treat \a as special char too (#9655) 2018-03-11 16:10:54 +01:00
Khairul Azhar Kasmiran
60a9825f3c
esil: inline x86 esi pic thunk (#9642)
* esil: inline x86 esi pic thunk

* Initialize buffer and check return value of read_at
2018-03-11 21:36:29 +08:00
Khairul Azhar Kasmiran
6eaf7bafa9 Escape \v and \a in disasm (#9645) 2018-03-11 14:32:28 +01:00
Vanellope
cbe4c2a92e refactored and cleaned up bunch of unnecessary codes. (#9650)
* refactored and cleaned up bunch of unnecessary codes.
2018-03-11 10:23:44 +01:00
Paul I
8e48fe4012 Meson: Update list of anal/asm/bin plugins (#9640)
* Meson: Update list of anal/asm/bin plugins

* Meson: Add ebc to list of plugins
2018-03-11 09:11:18 +01:00
Florian Märkl
e61339a3d0 More VTables (#9646)
* List vtable methods without fcn, Merge r_anal_list_vtables() and r_anal_list_vtables_all()

* Additional info in av*
2018-03-10 21:28:27 +01:00
fcasal
0cf304a4f7 Added wcj to wc? (#9644) 2018-03-10 14:46:47 +01:00
fcasal
2f88594ea8 Fix JSON output of wcj (#9643) 2018-03-10 14:15:29 +01:00
Abdel-Rahman A
4dffa5cd2e Fix JSON output of Lsj (#9641) 2018-03-09 15:16:31 +01:00
Paul I
69e655fd49 Meson: enable Propeller and Java (#9639) 2018-03-09 20:05:47 +08:00
Florian Märkl
59e4408d70 Move VTables from Core to Anal (#9638) 2018-03-09 20:02:39 +08:00
Abdel-Rahman A
cad295e740 Add JSON output to Ls command (#9637) 2018-03-09 09:01:16 +01:00
pancake
1c1cad1d94 Minor improvement in r_cons_set_raw 2018-03-09 03:01:05 +01:00
pancake
a82887bd0d Fix crash in pdR 2018-03-09 03:00:56 +01:00
Abdel-Rahman A
10c5d39b8d Add missing commas in oLj output (#9634) 2018-03-09 02:41:21 +01:00
Florian Märkl
eba2a797be Make vtables independent of arch 2018-03-09 02:41:00 +01:00
Florian Märkl
052c82ec6e Add VTableContext 2018-03-09 02:41:00 +01:00
pancake
e43691959c Fix RBin.bf suggested commands 2018-03-09 02:02:26 +01:00
pancake
e553927a41 Improve pdR results in a quick and dirty way 2018-03-09 02:01:05 +01:00
cyanpencil
cd719d120b Implement pluggable dietline history. Use it in Vo (#9591) 2018-03-09 00:33:33 +01:00
vdf-git
5fa1b0d218 Arm assembler thumb/thumb shift (#9621) 2018-03-09 00:32:19 +01:00
Florian Märkl
706b6ddf56 Minor VTables Enhancements (#9633) 2018-03-09 01:02:47 +08:00
Florian Märkl
ff6073fae2 Ignore files from CLion and CMake (#9632) 2018-03-08 15:26:31 +01:00
Khairul Kasmiran
c7e38939bd Moved init of core->anal->read_at into r_core_init() 2018-03-08 22:05:05 +08:00
pancake
bbb4fb263b Add autocomplete for the vim command 2018-03-08 11:10:41 +01:00
Riccardo Schirone
c939bbc058 cons/canvas_line: fix back and straight edges (#9630)
Without this patch, the last piece of those lines was missing.
2018-03-08 10:50:36 +01:00
Vanellope
3ef95a0856 Fix V! stack pane stuck (#9596)
* Got the fix i added back to ansi crop so that the api works like the way it should
* Fixed all the glitches at once!
2018-03-08 01:01:09 +01:00
Alan Yee
0462485c28 Update README.md (#9626)
Made explicit HTTPS calls
2018-03-07 23:55:05 +01:00
Riccardo Schirone
a5811d1a2b Fix #9612 - Skip dummy nodes in graph navigation (#9622)
- This reverts commit 747de793c3.
- And skip dummy nodes for VVtf
2018-03-07 22:14:12 +01:00
Vasco Franco
a4de64b169 Fixed null pointer deref in p_format.c (#9623)
Fixed null pointer deref in the command 'pf E' when it didn't receive an argument.
2018-03-07 21:59:20 +01:00
pancake
b323f78dc5 Fix a heap overflow (non-null terminated string) in RCons.rgb_str() 2018-03-07 18:08:19 +01:00
pancake
6428824bc6 Fix asan issue with graph initialization 2018-03-07 12:47:39 +01:00
Anton Kochkov
d1c5cda030 Fixes from JMPTBL PR from Alvaro (#9614) 2018-03-07 11:26:31 +01:00
pancake
8b70bc30d6 Add some more fortunes 2018-03-07 11:04:26 +01:00
radare
31aace6748
Handle anal.nopskip in aab (#9619) 2018-03-07 11:03:17 +01:00
pancake
cac712d5e3 Add wfs and wff, and help for wf? 2018-03-07 10:55:45 +01:00
pancake
e7be837e79 Implement r2pm cache to make r2pm r2-independent 2018-03-07 09:56:09 +01:00
Oscar Salvador
474e56c4b0 Temporary fix for reading regstate from CORE (#9615) 2018-03-07 09:40:33 +01:00