Commit Graph

15129 Commits

Author SHA1 Message Date
Khairul Azhar Kasmiran
f925b2a5b4 Cast to void * in R_FREE (#9692) 2018-03-14 20:00:40 +01:00
pancake
c2c8257c06 Bring back an ugly buffer pack access issue to make it work 2018-03-14 19:59:25 +01:00
Florian Märkl
564aaf6e48 Add cundo.c to Meson (#9694) 2018-03-14 19:54:44 +01:00
pancake
debcd1387e Fix memleaks in disasm.c 2018-03-14 19:52:09 +01:00
pancake
c03c04eb0a Fix an undefined behaviour in RParse.filter 2018-03-14 19:45:33 +01:00
pancake
351436fb54 Bring back another memleak fix 2018-03-14 18:43:49 +01:00
pancake
f7689564a6 Fix memleak regressions 2018-03-14 18:35:32 +01:00
pancake
5366f843ea Revert "Fix some more memleaks in disasm and fix issue in str overlap"
This reverts commit a902df837b.
2018-03-14 18:32:17 +01:00
pancake
5a171f1450 Fix memleak in RCore.anal_refs and fix regression 2018-03-14 18:31:55 +01:00
pancake
a902df837b Fix some more memleaks in disasm and fix issue in str overlap 2018-03-14 16:07:30 +01:00
pancake
18f805d296 Fix 18K leak in anal.x86.cs 2018-03-14 15:43:59 +01:00
pancake
6d455d1b01 Fix leak in RConsPal.rainbow 2018-03-14 15:37:37 +01:00
pancake
dc74fbd746 Fix more memleaks 2018-03-14 15:31:08 +01:00
pancake
0feefceab3 Fix another memleak in RSyscall 2018-03-14 14:49:05 +01:00
Khairul Kasmiran
bd3465c9a3 Fixed free const warning 2018-03-14 21:01:40 +08:00
Khairul Kasmiran
cf94c32f3a Removed code unnecessary due to dcf3db0250 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
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
Anton Kochkov
9c964ab0b0 Anal - whitespace fixes 2018-03-13 10:35:04 +08: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