8409 Commits

Author SHA1 Message Date
Fangrui Song
a8461613d1 Make wc- invalidate all (fully or partially) overlapping cache (#11241)
Fix the handling of [to] in wc- [from] [to]
2018-08-26 17:38:11 +02:00
sivaramaaa
aa435d9a57 Fix #11211, Change afvn syntax to [new_name] [old_name] (#11233) 2018-08-26 17:35:04 +02:00
Fangrui Song
61cc81e075 Fix "afcf" without arguments 2018-08-26 16:53:44 +02:00
Fangrui Song
ff0bc4aa3e Add $ command names beside case labels and update ?$? 2018-08-26 16:09:01 +02:00
Fangrui Song
019491bcbc Fix RStrBuf memleak in afta (#11251) 2018-08-26 14:16:14 +02:00
Fangrui Song
f54be0a086 Fix memleak in aat (#11257) 2018-08-26 14:10:04 +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
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
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
Paul I
b5044de59b Fix agw command (#11217) 2018-08-23 18:35:24 +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
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
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
Sepтем
2aaab8b56c Use RAsm.Op.get_asm() in RCore.Anal.has_refs() 2018-08-23 10:37:23 +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
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
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
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
radare
bc70bc25eb
Initialize RAsmOp and update acode->bin after hex (#11178) 2018-08-22 03:28:44 +02:00
Fangrui Song
d8a9bfba35 panels.c: fix -Wunused-variable (#11176) 2018-08-22 03:12:53 +02:00
Vanellope
fc87b46e21 Cursor is supported in the Zoom mode (#11172) 2018-08-21 23:45:13 +02:00
Andry
8649239e80 memleaks after sdb_querys calls fixed 2018-08-21 23:44:52 +02:00
Andry
f8826a492c Fix superfluous seek on error while -escr.interactive=0 (#11166) 2018-08-21 11:42:24 +08:00
vane11ope
4016763f54 Tab works for the zoom mode that rotates panels to be maximized 2018-08-20 23:03:09 +02:00
vane11ope
506c20e790 Refactoring positions to manipulate them later for many usages 2018-08-20 23:03:09 +02:00
Andry
3e678f57dd Fix #11145. Additional error handling (#11160) 2018-08-20 11:48:20 +02:00
Paul I
620affc89e Fix some warnings (#11152) 2018-08-20 14:52:02 +08:00
Vanellope
9629b53f36 Zoom Mode is supported (#11156) 2018-08-19 23:06:34 +02:00
sivaramaaa
19e456821b Initial work on Constrained types (#11144)
* Intial Work on Constrained types

* Use r_strbuf instead of fixed size buffers in afta
2018-08-19 23:05:54 +02:00
pancake
26d50c31da Fix memleaks in RBin 2018-08-19 16:39:55 +02:00
radare
0a16f30ba1
Implement om-.. (#11148) 2018-08-19 16:39:42 +02:00
Fangrui Song
dcf7dc74af Optimize sdb_const_anext and sdb_array_contains (#11139)
time (repeat 10 ~/Dev/Bin/radare2/release/binr/radare2/radare2 -p t1 -c
'' -Q a.out) => 1.35s -> 1.28s
2018-08-19 15:51:27 +02:00
Vanellope
0622edeb4f Vertical resizing is supported in Panels (#11146)
* resize vertically with the temporal command t
2018-08-19 15:50:54 +02:00
morbith-dqtz
fcb5a3e07f Fix offset to main_arena in libc6-2.27 x64_32 (tested in debian and kali 32 bits) (#11147) 2018-08-19 15:50:31 +02:00
Rafael Rivera
8128b0acb3 Fix uninitialized local causing rtc failures (#11136)
* Fix uninitialized local causing rtc failures

* Moved initialization per review

* Moved local per review

* Cleaned up json separator local
2018-08-19 15:11:23 +08:00
Khairul Azhar Kasmiran
374a4800e8 iee: apply rva to every use of hvaddr (#11130) 2018-08-19 05:58:54 +02:00
pancake
87a360f8ed Deprecate rop.nx and just use the search.in rules 2018-08-18 15:44:00 +02:00
Jacob Rosenthal
39f8c4cef5 Fix #11097 - avoid duplicate calls to r_core_get_boundaries_prot (#11103) 2018-08-18 13:45:15 +02:00
Khairul Azhar Kasmiran
bfb1b7d12e ie(j): revert hpaddr->haddr (#11121) 2018-08-18 13:43:22 +02:00