Khairul Azhar Kasmiran
184a67abac
For utf-8 locale, check LC_ALL, LC_CTYPE and LANG in sequence instead ( #15326 ) ##cons
2019-10-22 19:21:20 +02:00
Riccardo Schirone
dd871daf96
Fix a couple of ASAN issues ( #15324 )
...
* Fix out-of-bound read when searching for the last part of buf
* Fix out-of-bound read in case the input does not contain anything else
2019-10-22 10:52:29 +02:00
pancake
44b7de0a13
Try to disable utf8 on mac/travis
2019-10-21 00:30:55 +02:00
pancake
74958b8e88
Fix oobread in strlen with clusterfuzz-testcase-minimized-ia_fuzz-5767342952284160.dms
2019-10-21 00:25:53 +02:00
Paweł Łukasik
d62ae602a4
Fix #15152 - Support old Java attribute format ( #15317 ) ##bin
2019-10-20 23:44:15 +02:00
Qian
dc39e93be3
Fix post-indexed memory access for str instructions on ARM ( #15298 ) ##asm
2019-10-20 23:41:56 +02:00
Stefan Ilic
3f41b744c6
Fix leak in lib.c ( #15319 )
2019-10-20 23:37:10 +02:00
David CARLIER
ba17532cd1
Setting the upper address limit for OpenBSD ##io_self ( #15318 )
...
Here it is more an additional 'safety blanket' as sysctl
call would fail once reached then end of the address mapping
anyway.
2019-10-20 23:36:55 +02:00
Florian Märkl
87665bafd5
Install r_str_conspool.h with meson ( #15316 )
2019-10-20 15:13:27 +02:00
Florian Märkl
80c74d7aa7
Replace r_str_const* with RStrConstPool ( #15300 )
...
* Add RStrConstPool
* Replace RAnal.consts with RStrConstPool
* Remove useless r_str_const() calls
* Kill more r_str_const()
* Remove r_str_const() from Java
* Remove r_str_const() from Canvas
* Remove r_str_const() from mach0
* Remove r_str_const() from PE
* Kill r_str_const* completely
2019-10-20 12:31:45 +02:00
Florian Märkl
f9002e6624
Fix ptrace io plugin open ( #15314 )
2019-10-20 12:31:17 +02:00
David CARLIER
406e34d7f4
Checking pid if attached on FreeBSD implementation #io_ptrace ( #15311 )
2019-10-20 12:21:06 +02:00
Paul I
c5aa976847
Remove needless strdup() calls in r_config_set_i() ( #15313 )
2019-10-19 13:15:30 +02:00
Fritz Reese
852164211f
Fix #15304 - Fix radare2 build for kernels without THP support ( #15305 )
2019-10-19 01:49:01 +02:00
Fritz Reese
f4b0ec9623
Fix #15302 [rasm2/armass] Correctly propagate errors from thumb_assemble ( #15303 ) ##asm
2019-10-19 01:48:14 +02:00
Riccardo Schirone
219eefbd5d
Simplify r_bin_open_io function ( #15307 ) ##bin
...
* remove file_sz field from r_bin_file_new_from_buffer and r_bin_file_xtr_load_buffer
* remove all the messy buffer size handling and just rely on r_buf_size
2019-10-19 01:46:22 +02:00
Anton Kochkov
0f430b5871
Fix #15296 - *BSD builds ( #15309 ) ##build
2019-10-19 01:28:01 +02:00
neuracr
5fd8afcad3
Fix #15237 - pvzj output. ( #15310 )
2019-10-19 01:22:46 +02:00
Paul I
dac5229965
Avoid reloading of cc sdb - huge speedup ( #15306 ) ##anal
2019-10-19 01:21:02 +02:00
yossizap
d9fa409563
Added support to thread switching in linux and fix r_debug_select ##debug
2019-10-17 19:21:58 +02:00
Khairul Azhar Kasmiran
82122971d6
Rename set_meta_min_if_needed() to set_meta_if_needed() ( #15299 )
2019-10-17 18:16:01 +02:00
Riccardo Schirone
b7aa0c5792
buf_ref: make sure the reference buffer does not exceed the parent size ( #15288 )
2019-10-17 02:39:31 +02:00
the-remmer
2d143a8316
Add support for hex escaped litterals in regular expressions ( #15291 ) ##search
...
Example: /e /(\x77\x30\x30\x74){2}/ searches for "w00tw00t"
2019-10-17 02:38:21 +02:00
Riccardo Schirone
3055bbfd09
Remove unused offset argument in RBinOptions
2019-10-17 02:31:16 +02:00
dok
830889bb88
Use utf8 block character in progressbar
2019-10-17 02:30:44 +02:00
dok
a585dbc2d9
Fix progressbar rounding error
...
An extra char was added when the percentage was 100, caused by
what I believe is a rounding error. An int is good enough here.
By removing the double it fixes the min and max macros beeing used
with a mix between integer and double, and the double beeing used
in printf as a decimal value.
2019-10-17 02:30:44 +02:00
David CARLIER
cbc5c77813
Fix possible command overflow #r2agent ( #15293 )
...
Detected with asan on macOS.
2019-10-17 02:30:02 +02:00
Francesco Tamagni
9466e1cd71
Implement ESIL for arm64 UBFX ##anal ( #15290 )
2019-10-17 02:29:23 +02:00
yossizap
f6bda32cb9
Fixed ptrace 'Operation not permitted' errors ( #15287 ) ##debug
2019-10-16 13:08:38 +02:00
pancake
3092db1e3e
Handle R_ANAL_OP_MASK_DISASM in RISCV.GNU
2019-10-16 12:24:25 +02:00
GustavoLCR
73d555dbed
Also use LANG env var to check for UTF-8 output support ( #15257 ) ##cons
2019-10-16 12:12:26 +02:00
GustavoLCR
50174972fd
Move UTF-8 setting logic to scr.utf8 config callback on Windows ( #15273 ) ##cons
2019-10-16 12:11:52 +02:00
pancake
3be447f2c5
Fix debugger build for native GNU/Linux on RISC-V ##debug
2019-10-16 09:29:37 +00:00
Joseph Griego
9cffc195f4
Support > 4GB ELF files ##bin
2019-10-16 01:57:41 +02:00
Florian Märkl
da18e5aadc
Make RAnalFunction.cc come from RAnal String Pool ##anal ( #15281 )
2019-10-15 15:53:05 +02:00
dav1901
56d3ca7743
Fix a use-after-free bug ( #15282 )
2019-10-15 15:52:20 +02:00
dav1901
a88d3303e1
Minor code fixes ( #15276 )
2019-10-15 02:54:35 +02:00
yossizap
d8e08bc7ea
Fix incomplete drr/drrj formatting when r_core_anal_hasrefs fails ( #15277 ) ##debug
2019-10-15 02:54:20 +02:00
dav1901
9de5481098
Fix few memory leaks and null dereferences ( #15271 )
2019-10-14 12:47:40 +02:00
GustavoLCR
bf15aa7a4e
Fix #15267 - Fix jump shortcuts on Windows ( #15270 )
...
* Revert " Fix #12921 - Impl. r_cons_arrow_to_hjkl for Windows ##cons"
This reverts commit 7f86ef243c582b8f731c9f5e10ab0622439d4201.
This fixes #15267
* Re-Fix #12921 - Impl. r_cons_arrow_to_hjkl for Windows
This time only translate arrows in the function.
This is so that __cons_readchar_w32 does not return inputs that we are
not interested in that caused the #15267 regression.
2019-10-14 12:47:17 +02:00
hmht
48ca0e7ace
Add additional [indirect] access syntax for 8051 ( #15272 ) ##asm
...
8051 natively uses an '@' prefix for indirect access, which is
a bit awkward is r2, so it should also support the bracket syntax:
xrl a, @r0
xrl a, [r0]
Additionally, I refactored the argument tokenization so that it's all done
up-front, making everything easier to work with, saving about 800 LOC.
2019-10-14 12:45:26 +02:00
yossizap
3b8b754cdf
Add current thread field to dptj ( #15268 ) ##json
2019-10-13 22:48:36 +02:00
radare
30e737356f
Deprecate the use of anal plugins that doesnt handle mask.disasm ##anal ( #15262 )
2019-10-13 22:47:39 +02:00
Paul I
fedc6f6779
Fix memleaks in libr/util/table.c ( #15253 )
2019-10-13 22:45:13 +02:00
Khairul Azhar Kasmiran
17cdb75f14
Add jumptable support for main() in bins/elf/analysis/ls-alxchk ( #15266 ) ##anal
2019-10-13 22:38:23 +02:00
condret
77e73c16f7
add 8bit register dereferencing for 2 operand instructions in mcs96 disassembler
2019-10-13 20:28:17 +02:00
Stefan Ilic
76e825ad07
Fix leak in autoname_imp_trampoline ( #15263 )
2019-10-13 12:53:56 +02:00
Khairul Azhar Kasmiran
dc59b5e7dc
Add jumptable support for main() in bins/elf/ls.odd ( #15233 ) ##anal
2019-10-13 02:17:56 +02:00
pancake
f6265e131f
Run .dr* in visual prompt in cfg.debug is set ##visual
2019-10-12 23:56:16 +02:00
Cyrill Leutwiler
2298b49f73
add afoj and afdj ( #15254 ) ##anal
2019-10-12 23:17:32 +02:00