25405 Commits

Author SHA1 Message Date
pancake
8413fd630a Improve .fill and rasm2 -hh with documented directives ##asm 2021-02-04 01:03:58 +01:00
pancake
3a262b31ea asan-fuzz skip archos tests 2021-02-03 23:55:00 +01:00
pancake
b6d1476674
Reduce stackframe in fcn_recurse ##anal
* This function is called recursively for each basic block
* Limits the size of functions that can be analized (anal.depth)
* The r2 -A Ch34 almost works now.
* Moving from stack to heap is not the right solution
2021-02-03 18:55:18 +01:00
pancake
545f9197f1
Fix the archos regression in the CI (#18327) 2021-02-03 12:07:14 +01:00
condret
89ff9aaf6e
Implement esil syscalls #18029 ##anal (#18144) 2021-02-02 19:58:21 +01:00
pancake
9d7c56ab25 Fix binary mask shifting undefined behaviour issue in anal.arm64 2021-02-01 23:14:34 +01:00
pancake
d2e62ed672
Fix #18316 - ?0 and ?1 were a bad idea, move to ?t (#18321) 2021-02-01 15:05:19 +01:00
pancake
35731c185c
Add print, println, and placeholder for printf and printfln ##cons (#18320) 2021-02-01 13:36:29 +01:00
pancake
80d81c553b
Add /cu[qj*] and r_search_find_uds API ##search 2021-02-01 12:42:03 +01:00
pancake
d2730a441c Relax asan ci 2021-02-01 02:47:43 +01:00
pancake
ccfea838b9 Fix asan crash and r2r regression 2021-01-31 23:42:19 +01:00
pancake
8cf1adfb27
Fix and comment the broken debugger tests after last gha update (#18317)
* Add R2R_SKIP_ARCHOS env var handling in r2r to fix TCC suite
2021-01-31 23:00:38 +01:00
pancake
306d6aa996 Fix few warnings and sort w command switch 2021-01-31 19:51:25 +01:00
ChD1
c70f38325a
Added messages if pf. can't set value ##print 2021-01-31 16:32:43 +01:00
pancake
f80c847376
Introduce w32 and w64 in the CI ##build 2021-01-31 00:40:40 +01:00
pancake
ae0a733d5e Add tests for pf.write 2021-01-30 01:18:48 +01:00
pancake
569f1f2fb0
Add Windows ZIP in the CI (#18310) ##build 2021-01-30 00:20:16 +01:00
pancake
8f72e726c3 Fix create_r2.bat 2021-01-30 00:17:55 +01:00
ChD1
6187be3be6
Fixes in ae command handler and some null derefs (#18307) 2021-01-29 19:49:41 +01:00
Keegan Saunders
590eaa6852
Assign radare2 binr target ##build (#18306)
This way, when radare2 is used as a subproject with cli=enabled, the
radare2 executable can be referenced

Co-authored-by: Keegan Saunders <meme@users.noreply.github.com>
2021-01-28 18:39:50 +01:00
condret
8be384cf6c Remove dead function signatures ##IO 2021-01-28 16:27:43 +01:00
condret
ecb6b64777 Update esil.md 2021-01-28 01:58:34 +01:00
ChD1
2f1488656d
Add hidden aeaB by using switch instead of ifelse chain + divbyzero issue fixed 2021-01-27 17:52:29 +01:00
ChD1
580bdf2c52
Fix some bugs in dex.c, marshal.c, panels.c and other code optimization and fixel (#18297) 2021-01-27 10:53:50 +01:00
pancake
09cbd3d914
Fix unused argument warning spotted in r2cutter (#18300)
Co-authored-by: pancake <pancake@nopcode.org>
2021-01-27 10:53:03 +01:00
pancake
eb09312b83
Fix iCj for mach0 ##bin (#18298) 2021-01-27 00:34:14 +01:00
Gordon M
f63fc2c34c
Update debian.sh (#18299)
The flag as given is a typo. This corrects things.
2021-01-27 00:20:51 +01:00
Keegan Saunders
0939e57001
Support statically linking system OpenSSL ##build (#18296)
For projects that use radare2 as a subproject, allow OpenSSL to be
compiled statically into radare2 so the linker does not attempt to link
a dynamic library during static linking.

Co-authored-by: Keegan Saunders <meme@users.noreply.github.com>
2021-01-26 17:51:50 +01:00
Kamil Rytarowski
9d761f6a88
Avoid array subscript type issues (#18295)
Cast char to unsigned char for standard reasons and security purposes.

Fixes build issues on NetBSD.
2021-01-26 13:08:58 +01:00
Kamil Rytarowski
73bb7fdd66
Avoid overwriting LDFLAGS (#18294)
Append, instead of setting -lkvm for BSD platforms.
2021-01-26 10:55:54 +01:00
Kamil Rytarowski
de01f2d7db
Define PYC_ROOT and WASM_ROOT (#18290) ##build
Avoid passing -I as this is a non-portable construct.

Caught in pkgsrc on NetBSD.
2021-01-25 22:22:39 +01:00
condret
c5240b1a3d Fix wrong documentation of rep cmpsb esil expression in esil.md 2021-01-25 19:43:37 +01:00
pancake
a8f9be987b Release 5.1.0 - codename: lasagna 5.1.0 2021-01-25 15:41:12 +01:00
pancake
27da0d4db9
Upload android-arm64 artifact and disable memleak checks in meson-asan testruns ##ci 2021-01-25 15:29:22 +01:00
Kamil Rytarowski
f9c99f1cd5
Fix shell portability issue (#18288)
Caught in pkgsrc on NetBSD.
2021-01-25 15:16:49 +01:00
pancake
ad66121556 Initialize the ndk once and for arm64 for now 2021-01-25 12:41:17 +01:00
pancake
320f322da3
Fix #18256 - Double free in RBin.DEX.libs (#18286) 2021-01-25 12:39:48 +01:00
pancake
36d63b46f6
Fixes for the android-ndk-installer script and the android-arm64 CI job (#18287)
Co-authored-by: pancake <pancake@nopcode.org>
2021-01-25 12:30:57 +01:00
pancake
98868585c9
Use r_core_flag_get_by_spaces() in getFunctionName() ##rizin (#18285)
Co-authored-by: Paul I <pelijah@users.noreply.github.com>
2021-01-25 11:57:34 +01:00
pancake
85edbad0aa
Add WIP android-arm64 ACR build and other CI improvements ##ci
* Fix macos test
* Add cabextract for pdb tests
* Add android-ndk-installer script
* Using NDK r21d
2021-01-25 11:34:08 +01:00
pancake
f6f7728cf4
Implement history filtering for dietline ##cons (#18283) 2021-01-25 03:28:37 +01:00
pancake
51145a117a Fix some of the last coverities related to UAF and OOBREAD 2021-01-25 03:08:33 +01:00
Qijia Liu
b8afdf8d7d Fix memleak in db/formats/mangling/mangling 2021-01-25 02:37:21 +01:00
pancake
07b466f61b Warn once about the missing anal.cc ##anal
* fix anoying warning on archs with dynamic or unknown regprofiles
2021-01-25 00:55:09 +01:00
Alexis Ehret
5b1b0c0da6 Fix dead increments 2021-01-25 00:34:58 +01:00
Paul I
59ad3b3c0b COFF: handle empty sections (#447) ##bin 2021-01-25 00:34:58 +01:00
Paul I
77455b1c64 Fix memleaks in ESIL op handlers (#438) 2021-01-25 00:34:58 +01:00
Paul I
8e622bc4df RTable: replace UT64MAX with dashes for X specifier 2021-01-25 00:34:58 +01:00
Anton Kochkov
ef462a4800 Some clang-format improvements ##indent
* Fix for clang-format parsing error
* Align consecutive macros for clang-format
* Dont align escaped newlines
* Use spaces for some alignment
* Add clang-format script
2021-01-25 00:34:58 +01:00
Giovanni
e55d7c033b Patching AVR ao wrong output on rjmp instruction (#415)
* Patching AVR ao wrong output on rjmp instruction
* Fixed test output
* Add AVR RJMP test

Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2021-01-25 00:34:58 +01:00