Commit Graph

19401 Commits

Author SHA1 Message Date
radare
1e68ed43d3
WIP Fix #11208 - Add some more spacing when asm.shortcuts=0 (#11297)
* Do not save asm.marks twice
2018-08-29 20:18:08 +02:00
Riccardo Schirone
6a66a9701e mdmp: fix googlefuzz crash (#11298) 2018-08-29 20:17:28 +02:00
radare
40b5ab41db
Fix some wrong ESIL expressions for x86 (#11302) 2018-08-29 18:35:00 +02:00
Vanellope
937c713481 The menu Debug->Locals works now (#11301) 2018-08-29 18:34:38 +02:00
Neven Sajko
44ecf2f01b Do not hardcode 9 for SIGKILL (#11299)
Changes 9 with SIGKILL as 'kill' operand.
2018-08-29 18:18:14 +02:00
Riccardo Schirone
e6e12f42d5
Fixes #10903: slow bins (#11294)
* mach0: use ut32 because those fields are unsigned in Mach0
* bin_mach0: do not process section if it cannot be read
* bin_vsf: detect infinite loop
2018-08-29 15:19:21 +02:00
nico
23b2f88d89 Add stackframe to afij output (#11284) 2018-08-29 10:53:29 +02:00
Riccardo Schirone
5f40210e0e
core/core: do not use VLA (#11293) 2018-08-29 09:27:22 +02:00
Vanellope
eccc36f6b2 Autocompletion is supported for setting configs such as e search.in=raw (#11287) 2018-08-29 10:20:31 +08:00
Khairul Azhar Kasmiran
65ebf72e66 Fix #11227 - Fix another clusterfuzz crash (#11291) 2018-08-29 10:19:33 +08:00
pancake
b4d37e99a0 Fix pxd regression 2018-08-28 15:58:30 +02:00
Rene Laemmert
37508ed71b added possibility to execute r2 commands on syscall hit (#11283) 2018-08-28 15:56:07 +02:00
Riccardo Schirone
0488526d07
travis archos (#11262)
* Dockerfile.travis: install glibc.i686 to execute 32bit binaries
2018-08-28 15:41:23 +02:00
pancake
eb0e0462a2 Add missing help for pxd? 2018-08-28 14:22:09 +02:00
pancake
d60f94fa58 Add missing r_asm_op_get_buf 2018-08-28 14:12:20 +02:00
morbith-dqtz
3afc8cd8c1 heap tcache flgs fixes (#11282)
* now glibc tcache parsing if checked by a config flag, no more preprocessor

* * calls r_resolve_symbol to recompute malloc_state offset
* fix cpu autodetect for tcache flags
2018-08-28 13:00:38 +02:00
Florian Märkl
caf18865df Use waitpid with WNOHANG in lang_pipe_run() (#11278) 2018-08-28 10:35:50 +02:00
Jacob Rosenthal
eecaf1493f Finish converting arm s110 syscalls (#11280) 2018-08-28 10:35:30 +02:00
Neven Sajko
634f7e54d0 remove unused define (#11277) 2018-08-27 21:40:39 +02:00
pancake
01e164cde2 Fix build on Linux 2018-08-27 17:19:01 +02:00
David CARLIER
1dd1e45e46 Fix few compilation warnings. (#11276) 2018-08-27 16:38:37 +02:00
Khairul Azhar Kasmiran
4042f87239 Fix iM paddr when it's from the main symbol (#11253) 2018-08-27 16:09:32 +02:00
Riccardo Schirone
cd7930dbe5
util: try to guess function name only when it contains "dll_" (#11236)
* util: interpret fcn name only if it has "dll_" prefix

Before this patch, a function automatically renamed to "sub.strlen_123"
was identified as a call to strlen, thus the strlen signature was added
as a comment next to a call to that function. This patch prevents that
behaviour.

* ctype: try to identify names with _ at the beginning
2018-08-27 14:13:38 +02:00
Fangrui Song
e2df259a8e Fix some warnings (#11271) 2018-08-27 09:16:29 +02:00
Fangrui Song
95c4f1ffb9 Remove r_io_buffer* (#11239)
There are already r_io_cache* (r_io_t::cachemode) and r_io_desc_cache* (r_io_t::__cache). There is no place for this extra cache layer.
2018-08-27 00:51:44 +02:00
pancake
ff08c059da Kill the isThumb checks (s110-arm-16 half converted) 2018-08-26 23:08:44 +02:00
Jacob Rosenthal
3afabed74d arm thumb syscalls use aop.val instead of a register 2018-08-26 23:08:44 +02:00
morbith-dqtz
e09306ab99 Make glibc tcache parsing if checked by a config flag, no more preprocessor (#11266) 2018-08-26 22:50:30 +02:00
Fangrui Song
97e6808335 Simplify af- & r_anal_fcn_del (#11244)
r_anal_fcn_del should not treat UT64_MAX differently.
2018-08-26 19:15:10 +02:00
Iru Cai (vimacs)
26e58cff07 Add ESIL for bt, btc, btr, bts on x86 (#11264) 2018-08-26 18:28:35 +02:00
Fangrui Song
f0e7f535c0 Fix memleak in r_core_get_boundaries_prot call sites (#11265) 2018-08-26 18:25:34 +02:00
Fangrui Song
9a42bbd388 esil.c: fix memleak (#11256) 2018-08-26 18:25:13 +02:00
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
bf4d95d41e Fix minor -fsanitize=pointer-overflow when addr=0 && vaddr=UT64_MAX (#11252)
ubsan reports this when calling

    r_core_esil_step (core, UT64_MAX, NULL, NULL);

in anal_tp.c:r_core_anal_type_match. This does not matter in reality, but silent it anyway.
2018-08-26 16:05:06 +02:00
Neven Sajko
810c575f6f msp430 analysis: support emulated branch instr (#11259)
This fixes the bug with moves to PC register not being recognized as
jumps.
2018-08-26 16:03:02 +02:00
Florian Märkl
a214324311 Add __pycache__ to gitignore (#11260) 2018-08-26 16:00:52 +02:00
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