Commit Graph

20679 Commits

Author SHA1 Message Date
pancake 58f0d8343a
Fix segfaults in fuzzed bins (#16538) 2020-04-12 12:16:51 +02:00
pancake fdb75d3bf9
Fix memory leak in /ad/ using r_regex api wrongly ##search (#16537)
* /ad/ in /bin/ls ate 9 extra MB that was never freed
* This is about 400 bytes for each instruction disassembled
2020-04-12 10:53:41 +02:00
pancake 63e8984ab8
Fix double free and uaf in pe parser (#16540) 2020-04-12 10:52:43 +02:00
Florian Märkl 95fa7a3215
Fix dup af+ removing function from hts (#16526) 2020-04-12 04:34:10 +02:00
karliss 1ff6331a33
Don't use colors in json mode and fix some bugs. (#16529)
* fix color being overwritten with "" in loop, resulting in only
endcolor being printed
* rrstr memory leak
2020-04-11 19:48:19 +02:00
Khairul Azhar Kasmiran 9227c6790f
Fix #16433 - Support movabs for x86_64's MOV r64, imm64 (#16527) 2020-04-11 23:34:44 +08:00
pancake 9079a7bd96
Fix #15978 - segfault when using r2pipe webserver + local visual (#16508) 2020-04-11 01:57:39 +02:00
pancake e9eb1a2ab3
Fix #16432 - openbsd fork+attach EBUSY issue ##debug (#16505)
* Implement is_pid_already_attached() for OpenBSD
2020-04-11 01:56:50 +02:00
Florian Märkl 0a2f9dd29e
Fix Build on NetBSD (#16520) ##build 2020-04-11 01:52:19 +02:00
Liumeo 75bc5ec905
y already >=0 (#16512) 2020-04-10 09:02:35 +02:00
pancake 067bf11e98
Fix #16109 - Add R_SYS_ARCH for s390x ##ports (#16471) 2020-04-10 08:09:41 +02:00
Liumeo fbd2e4469e
Fix LGTM warning in UTF8 handling (#16507) 2020-04-10 12:02:08 +08:00
pancake af51074455
Fix #16455 - `iij` asserts for ld-uclibc with a null import ##bin (#16509)
* Fix asserts in `iij` for ld-uclibc with a null import ##bin
* Add test for `iij` on ld-uclibc
2020-04-10 12:00:30 +08:00
Liumeo 388df51df2
Fix LGTM alert in yank command (#16506) 2020-04-10 11:47:52 +08:00
pancake b759a0b206
Fix #15165 - Assert in empty esil string for ARC emulation (#16510) 2020-04-10 11:46:54 +08:00
Khairul Azhar Kasmiran f31e6ca527
Fix #16283 - Continue as normal even if detachee is not found (#16500) 2020-04-09 23:07:03 +02:00
pancake d3bbfa95c6
Fix #16327 - Search in range with io.va=false ##search (#16496) 2020-04-09 22:47:27 +02:00
Anton Kochkov a9090ff62b
Remove unnecessary newline in version (#16494) 2020-04-09 19:08:17 +02:00
Liumeo e7ae72cf9c
keep ut16 (#16499) 2020-04-09 19:02:11 +02:00
Liumeo e70bb7c206
table_size should be ut64 (#16501) 2020-04-09 19:00:22 +02:00
Itay Cohen 742fd214cc
Remove debug leftovers in cbin (#16504) 2020-04-09 18:59:45 +02:00
pancake c567465db2
Fix #16495 - Broken build (#16502) 2020-04-09 18:34:03 +02:00
Liumeo 3caf98ecb2
Keep two vars in dex as ut16 (#16487) 2020-04-09 11:06:24 +02:00
Paul I bd4e3f8bdb
Add rust lang support to iD command (#16490) ##bin 2020-04-09 11:05:38 +02:00
pancake e4818cd5e5
Fix #16418 - Implement blind main detection on endbr+mov files ##bin 2020-04-09 11:49:39 +08:00
Liumeo 2154e13c50
DEX - Keep original type (#16486) 2020-04-09 11:47:46 +08:00
Frédéric Tobias Christ 3563cc33cb
Fix shellcode path customization (#16384) ##egg 2020-04-09 00:44:36 +02:00
Florian Märkl 011a49c6c7
Remove one level of indirection from PJ (#16484) 2020-04-08 23:09:19 +02:00
Alexis Ehret 60ee0daa91
Implement r_table_uniq as API and query (#16385) ##util 2020-04-08 20:34:05 +02:00
Paul I 7fd737b5ac
Fix COFF symbols/imports info (#16446) ##bin 2020-04-08 20:22:26 +02:00
Alexis Ehret 1c29509145
When computing ELF relocations, use DYNAMIC segment if available (#16419) ##bin 2020-04-08 20:20:23 +02:00
pancake a52506a362
Fix #16210 - Show error message and update help for `we` ##io (#16427)
* Fix wen command for io.va=true, add two tests
2020-04-08 14:22:01 +02:00
pancake 72d1021462
Fix #14371 - Make wfs paired with wts, rename wfs to wfx ##io (#16470) 2020-04-08 14:13:12 +02:00
pancake acc52dec2a
Fix #16305 - UAF in @@@{r,i,f,s,S,b} as well as add some help for `oc` (#16473) 2020-04-08 14:00:36 +02:00
pancake 57c68c752c
Fix #16389 - r2r -qv and r2 -v to show version and quiet versions (#16472) ##tools 2020-04-08 13:56:52 +02:00
Francesco Tamagni f9864efc09
Make dyldcache accelerator info optional ##bin (#16469)
* Make dyldcache accelerator info optional ##bin

This allows to open dyld cache files from iOS 13.4 for which
apparently the accelerator info are missing.

What’s lost when this info is missing is the ability to efficiently
detect which single library depends on which other libs when
performing the filtering.

That means that for iOS 13.4 library caches, the user has to
manually specify all the dependencies in the filter.
2020-04-08 12:21:00 +02:00
Liumeo 850115b8c8
Removed unnecessary blocksize check (#16465) 2020-04-08 11:46:16 +08:00
Liumeo 3a95531bea
Pass arg by pointer in anal.ws (#16468) 2020-04-07 23:51:53 +02:00
pancake 4e08d7b01e
Better fix for #16281 (#16460) 2020-04-07 23:47:11 +02:00
Liumeo 479e026565
meaningless const return for built-in type (#16463) 2020-04-07 23:46:33 +02:00
pancake ab05f06287
Some random cleanups in RUtil (#16457) 2020-04-07 14:07:40 +02:00
Florian Märkl 6d633a96a9
Run Fuzz Tests with r2r (#16456) 2020-04-07 13:27:19 +02:00
pancake 282e9da656
Fix #16436 - OOBREAD in argv with rasm2 -E (#16458) 2020-04-07 12:56:06 +02:00
Florian Märkl 9a2effd5ed
Use RPVector for io->maps - speedup map traversal ##io
- The 64K section bin now loads in 15s instead of 26s
2020-04-07 12:43:41 +02:00
Liumeo 51573ddb58
pointless comparison of ut16 to 0 (#16451) 2020-04-07 11:35:27 +02:00
Itay Cohen d5893f9575
Show realnames on function's signature when enabled ##disasm 2020-04-07 10:26:46 +02:00
pancake 4fbb986436
Fix #16281 - Do not load system-wide plugins twice ##core (#16431) 2020-04-07 11:29:34 +08:00
Liumeo d41bc2b878
Comparison always false (#16444) 2020-04-06 22:47:27 +02:00
pancake e484762fe0
Fix #16266 - Fix two warnings (#16426) 2020-04-07 00:39:51 +08:00
Florian Märkl 5c31876093
R2R for Windows (#16410) ##test 2020-04-06 17:40:46 +02:00