19162 Commits

Author SHA1 Message Date
Fangrui Song
019491bcbc Fix RStrBuf memleak in afta (#11251) 2018-08-26 14:16:14 +02:00
Fangrui Song
05fd10fd53 Fix memleak in elf.c symbols_by_ord_size (#11255) 2018-08-26 14:15:36 +02:00
Fangrui Song
f54be0a086 Fix memleak in aat (#11257) 2018-08-26 14:10:04 +02:00
Paul I
0ba26fb3d6 Add R2_GLOBAL_RC (#11258) 2018-08-26 14:09:32 +02:00
Fangrui Song
764a3ccbcb Fix fatmacho tests
The map [0, r_io_desc_size) (if exists) should have the lowest priority (be inserted first) so we move it here from the bottom.
2018-08-26 02:02:02 +02:00
Fangrui Song
d3442c3897 Fix binheap comparator & omp
This fixes the 3 XX tests in 9280cabb15
2018-08-26 02:02:02 +02:00
Vanellope
286387ff57 Fixed the resizing issue of panels when the canvas is resized. (#11242)
* Fixed the resizing issue of panels when the canvas is resized.

* fixed meaningless code
2018-08-26 01:54:22 +02:00
Vanellope
7fde5b1582 Fixed some coverity issue (#11243) 2018-08-26 01:54:08 +02:00
pancake
6b31a30ce6 Implement support to encode 'dex [16bitreg]' in x86.nz 2018-08-25 13:58:40 +02:00
Fangrui Song
ec18a7aa65 io: remove preprocessor skipped ranges (#11231) 2018-08-25 11:11:49 +02:00
Lowly Worm
a2a7b911de add afbc for exposing a "colorize" api to bbs; addresses #8588 (#11224)
* add afbH for exposing a "highlight" api to bbs

* fix comments from pancake/xvilka

* fix indent

* fixup help text for afbh

* rename afbh->afbc

* fixup offset of color
2018-08-25 11:11:12 +02:00
Florian Märkl
56c07e1a96 Fix a leak in VTable search 2018-08-25 11:10:53 +02:00
Fangrui Song
21b54017d8 io: remove unnecessary r_io_map_cleanup 2018-08-25 11:10:40 +02:00
kij
10265a0507 Remove 2 bashisms, unsure about the last. (#11189) 2018-08-24 15:57:18 +02:00
Fangrui Song
703ae306cc Extract bin_write_elf.c common parts to bin_write_elf.inc 2018-08-24 15:57:05 +02:00
Fangrui Song
e7de8b082f Extract bin_elf.c common parts to bin_elf.inc and #include bin_elf.inc instead of bin_elf.c 2018-08-24 15:57:05 +02:00
Jacob Rosenthal
a0afac029e Fix #11223 -aeim.fd use sdb instead of flagspace as database (#11225) 2018-08-24 15:56:16 +02:00
Rene Laemmert
d28fa768f3 Removed access to r_io_section in core (#11222) 2018-08-24 15:55:04 +02:00
Anton Kochkov
483495787f
Add Core Infrastructure Best Practices badge
See https://www.coreinfrastructure.org/ and https://bestpractices.coreinfrastructure.org/en for more information.
2018-08-24 10:09:46 +08:00
radare
44627091d3
Fix memleaks in radare2.c (#11221) 2018-08-24 00:20:08 +02:00
Paul I
b5044de59b Fix agw command (#11217) 2018-08-23 18:35:24 +02:00
Jacob Rosenthal
f82b289822 arm syscalls: nordic s110 softdevice support 2018-08-23 16:41:34 +02:00
pancake
cba35157c6 Fix leak in RAnal.ws and make Vbe work 2018-08-23 15:07:21 +02:00
pancake
7b046e5f4a Fix crash reported by Maijin
> r2 -qc "2aa ; axfj @ 0x100001321" /bin/ls
2018-08-23 15:05:38 +02:00
pancake
095f28dfdf Fix #11215 - Ve is already in Vbe 2018-08-23 14:46:54 +02:00
David CARLIER
7291666948 Fix #11184 attempt. (#11216) 2018-08-23 14:43:35 +02:00
d4em0n
5bf0352dda Fix arm jump table issue #11099 (#11168) 2018-08-23 14:41:58 +02:00
Khairul Azhar Kasmiran
6436cc5934 Fix rabin2 -ee paddr (#11210) 2018-08-23 14:33:26 +02:00
Florian Märkl
2883398942 Fix #11081 - Transient Tasks (#11214)
* Make r_th_free() not kill the thread
* Transient Tasks
* Add transient info to & list output
* Use refcounting for Tasks
2018-08-23 13:49:28 +02:00
Neven Sajko
2f40ff93ce msp430 disassembly: clean up and bug fix (#11202)
General cleanup of opcode selection and invalid opcode handling. Also
fixes the bug of two-operand instructions being decoded as six-bytes
long instead of four bytes long (#11000). Also fixes some out of bounds
reads.

Fixes #11000
2018-08-23 13:05:41 +02:00
Vanellope
7ab842ddbf Autocompletion for afcf (#11209) 2018-08-23 13:04:40 +02:00
pancake
9ff89a4370 Add Visual Graph cursor mode to choose (move vs pan) actions
* c    changes visual graph cursor value
* hjkl moves nodes or pans the canvas
* HJKL means faster scrolling
2018-08-23 12:50:17 +02:00
pancake
79a896286b Fix #11204 - VVr toggles jmp/lea hints like Vr does 2018-08-23 11:56:56 +02:00
pancake
2eca7347d6 Implement default value for op->cycles 2018-08-23 11:40:53 +02:00
pancake
b44de89906 Add op->cycles for ARM32 2018-08-23 11:40:53 +02:00
Sepтем
2aaab8b56c Use RAsm.Op.get_asm() in RCore.Anal.has_refs() 2018-08-23 10:37:23 +02:00
Fangrui Song
3f0b38873d Reland #11181: replace sort_attrs (insertion sort) with a single insertion (#11201) 2018-08-23 01:35:18 +02:00
securisec
e7028d4e84 A better version of white theme (#11200) 2018-08-23 00:36:24 +02:00
exokortex
20e1be2e95 provisional fix for buffer out of range in ds_print_meta_infos (#11203) 2018-08-22 22:52:25 +02:00
exokortex
208361b514 fix index out of bounds (#11197) 2018-08-22 22:50:05 +02:00
exokortex
49b9ffcf9d Remove random change of buffer len that results in index out of bounds in subsequent code (#11198) 2018-08-22 17:15:24 +02:00
pancake
d2a6415556 Revert "Replace sort_attrs (insertion sort) with a single insertion (#11181)"
This reverts commit 884f05764652e2ac12e108a26e765bfbfa445986.
2018-08-22 13:50:35 +02:00
Khairul Azhar Kasmiran
8a5d6195a0 Fix bin_mdmp.c -Wstringop-truncation warnings for #10338 (#11192) 2018-08-22 13:19:27 +02:00
radare
1c83586844
Fix rabin2 -H on 32bit mach0 binaries (#11190) 2018-08-22 13:15:43 +02:00
Florian Märkl
64e3b63b3f MSVC RTTI class name demangling (#11171)
* Add r_anal_rtti_msvc_demangle_class_name()
* Add avrD command
2018-08-22 13:15:28 +02:00
pancake
33a01a57f4 Address review comments from MaskRay, ret2libc and xvilka 2018-08-22 11:43:05 +02:00
rene
045dae8406 Fixes pdi, hellocxx test, cmd_rop, helloworld-gcc-elf, elf-riscv64 2018-08-22 11:43:05 +02:00
pancake
6d05365f30 Make RAsmOp use RStrBuf instead of fixed-size buffers
* Seems to work, but there are many things to improve and fix
* Fixed some bugs (overflow, sandbox bypass, ..)
* Exposes some memleaks and bad api usages.
* Refactor all the things! \o/
* Fix z80, tms320 disasm and x86.as
* Care about memleaks
* Support meson
* And fix more tests related to pda and pdj and m68k
2018-08-22 11:43:05 +02:00
Fangrui Song
f7341d1949 cmd_meta: add command names beside case labels (#11182) 2018-08-22 11:17:08 +02:00
Fangrui Song
884f057646 Replace sort_attrs (insertion sort) with a single insertion (#11181)
Fixes #11164
2018-08-22 11:10:22 +02:00