17595 Commits

Author SHA1 Message Date
Khairul Kasmiran
cf94c32f3a Removed code unnecessary due to dcf3db025085c45124ec21890550a4ef19bd015c 2018-03-14 20:26:00 +08:00
Khairul Kasmiran
dcf3db0250 Refix #9666 - lines with comments do not use Unicode reflines 2018-03-14 20:13:49 +08:00
Oscar Salvador
b4f1124a88 Fix: coredump generation for huge programs (#9680) 2018-03-14 13:08:17 +01:00
Oscar Salvador
58369b86f5 Some fixups for #9682 (#9688) 2018-03-14 13:08:01 +01:00
Adrian Studer
3983af51c5 Few improvements to 8051 memory mapping (#9686)
* update memory map when idata/sfr/xdata regs change
* set address space name on map
* fix regression, remove debug output
* fix regression, enable map name
2018-03-14 13:07:22 +01:00
vdf-git
42b5bbd882 Arm thumb/thumb selector for the armass (#9681)
* added function to translate number to imm12
* added function to get thumb shifts easily
* added selector, newfangled implementation of adc
* add bitmask for command suffixes
* added new routine for parsing suffixes to opcodes. Error check added in getnum. Bugfixes.
2018-03-14 13:07:03 +01:00
pancake
3c9879656e Use r_syscall_ref to avoid dblfree-or-leak issue 2018-03-14 12:58:16 +01:00
pancake
9c4dc3b3c7 Fix leaks in RSyscall.srdb 2018-03-14 12:41:39 +01:00
pancake
1b30ca283c Fix RPrint.strconv_mode memleak 2018-03-14 12:37:11 +01:00
pancake
6b633ae0aa Handle recursive pdc calls 2018-03-14 12:31:16 +01:00
pancake
2f310ab38f Initial implementation of cmd.pdc to select pseudo-decompiler 2018-03-14 12:25:37 +01:00
pancake
2a4efecd39 Initial import of the CoreUndo API and uc command 2018-03-14 12:12:44 +01:00
Anton Kochkov
cd5f69b094 Fix UB in ESIL 2018-03-14 14:40:52 +08:00
cyanpencil
bc5ade54a1 removed incorrect return (#9685) 2018-03-14 11:09:27 +08:00
Lowly Worm
f91bd2d323 update asan.sh to actually take the env for ASAN 2018-03-13 19:08:29 -07:00
pancake
ea69b70568 Fix uninitialized optypes_list issue in cmd_debug 2018-03-13 19:50:30 +01:00
Khairul Kasmiran
d0baa8ebd3 Fix #9666 - lines with comments do not use Unicode reflines 2018-03-13 22:40:21 +08:00
Vasco Franco
e16c35bc66 Refactores function r_str_split_list to receive the character to split by (#9672) 2018-03-13 13:49:49 +01:00
Farid AYOUJIL
cc7fc36f27 Adding help for redirection (#9679) 2018-03-13 11:52:38 +01:00
pancake
f85480fe28 Fix #9676 - Infinite loop in ecs with scr.color=2 2018-03-13 11:52:09 +01:00
pancake
b9ece3d6b0 Fix #9665 - Backwardly handle scr.color={bool} 2018-03-13 11:40:19 +01:00
G4mb1t
a7b59ecedb Add support for extended regex in asm search (#9675) 2018-03-13 09:45:06 +01:00
Paul I
b282418ef7 Meson: use more built-in options (#9678) 2018-03-13 07:54:33 +01:00
Theophile VALLEE
14fd6b620e change coding style tab width to 4 (#9670) 2018-03-13 10:48:15 +08:00
zlowram
b91169efcc Honor CFLAGS on the static build test compilation (#9677) 2018-03-13 10:38:38 +08:00
Anton Kochkov
9c964ab0b0 Anal - whitespace fixes 2018-03-13 10:35:04 +08:00
Farid AYOUJIL
7f79630a48 Fix rahash2 entropy to show non truncated double (#9629) 2018-03-12 23:45:39 +01:00
Florian Märkl
ca2ef8a438 Minor Code Style Changes in RTTI 2018-03-12 23:34:34 +01:00
Florian Märkl
086c3a144e Add anal.cpp.abi 2018-03-12 23:34:34 +01:00
Florian Märkl
f95432fceb RTTI: Read MSVC Base Class Array, Better Printing 2018-03-12 23:34:34 +01:00
Florian Märkl
1138cd06a0 RTTI: Read MSVC Type Descriptor 2018-03-12 23:34:34 +01:00
Florian Märkl
8fb26b919b VTable End on Reference 2018-03-12 23:34:34 +01:00
Florian Märkl
d39970e83b RTTI: Read MSVC Class Hierarchy Descriptor 2018-03-12 23:34:34 +01:00
Florian Märkl
94b486cf3e RTTI: Read MSVC Complete Object Locator 2018-03-12 23:34:34 +01:00
Khairul Azhar Kasmiran
6716f10886 Improve scr.strconv help (#9668) 2018-03-12 16:05:12 +01:00
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