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
Riccardo Schirone
c09e60843e
Fix old uses of @@ and @@@ ( #409 )
2021-01-25 00:34:58 +01:00
Riccardo Schirone
1b3c152452
Use space between 'so' and argument ( #401 )
2021-01-25 00:34:58 +01:00
Anton Kochkov
87d5855d35
Prevent NULL pointer dereference
2021-01-25 00:34:58 +01:00
pancake
90b5748289
Improve derizin script
2021-01-25 00:34:58 +01:00
Briand Djoko
f57677b554
Add additional ELF header fields to rz-bin output ( #372 )
2021-01-25 00:34:58 +01:00
yossizap
4b6abb88ee
Added windows rebase tests ##test
2021-01-25 00:34:58 +01:00
pancake
148cdb9665
Fix UB with undeflow on anal.x86_cs
2021-01-25 00:32:45 +01:00
pancake
2c207c534a
Fix Cydia - Disable AVR plugin ##build
2021-01-25 00:18:23 +01:00
condret
a8b86d15e8
Some memory access sanitization for anal_x86.cs ##emu
2021-01-24 23:29:17 +01:00
Fangrui Song
0d4d8c083f
radiff2: drop MODE_DIST ( #16986 )
...
MODE_DIST (-s) is the same as MODE_DIST_LENVENSTEIN (-ss) but much slower.
Drop it. Make MODE_DIST_MYERS (-sss, faster than MODE_DIST_LENVENSTEIN) take its place (-s).
The original comment was incorrect (-s is not Eugene W. Myer's algorithm). It is correct now.
* drop buggy Levenshtein and rename the original
* fix tests
Co-authored-by: eagleoflqj and Maskray
2021-01-24 22:17:25 +01:00
pancake
2e1d0579d7
Fix 18264 - honor graph.font in more places ( #18276 )
2021-01-24 21:52:23 +01:00
pancake
c30bb618d2
Fix invalid left shift on dalvik parser
2021-01-24 19:54:26 +01:00
pancake
778b5e041e
Fix tcc in the CI, their latest GIT contains non-executable configure script
2021-01-24 19:45:05 +01:00
pancake
1d9a6d3338
Fix #18274 - Fix crash in r2 *.wasm ##bin ( #18275 )
2021-01-24 19:44:32 +01:00
pancake
c889cbadf7
Fix build for capstone5 ##build ( #18273 )
2021-01-24 19:09:43 +01:00
pancake
ce4e941043
Fix HUGE bottleneck in the WebAssembly pseudo disassembler and analyzer ##disasm ( #18269 )
2021-01-24 18:30:36 +01:00
pancake
cd6a439151
Add support for RAnal.ESIL plugins ##esil ( #18206 )
2021-01-24 16:39:45 +01:00
Liumeo
a79bf446fa
Use pj in debug ##refactor ( #18270 )
2021-01-24 16:07:30 +01:00
Liumeo
14fee1797b
Fix memleak in test_r2pipe & test_esil_dfg_filter ( #18271 )
2021-01-24 00:17:02 +01:00
Murphy
51b8a74636
Fix mg when file exists and cannot be created ( #18272 )
2021-01-23 22:13:55 +01:00
Murphy
8245e459f4
Add support to stream files using mg ( #18253 ) ##fs
...
* Fix return values to int
* Add support to mg to read files in chunks
* Add support fs_io plugin when read files in chunks
* Change return value to in in read and write of r_fs_plugin_t
* Refactor code of mg command to support streaming
* Truncate destination file if exists
* Removing warnings due to incompatible pointer
* Add offset and size optional parameters to mg cmd
* Fix mg arguments management
* Fix some return values in fs
* Fix and refactor code to read files by chunks using mg
* add format changes
* Using r_num_math to parse the args
* Fixing fs_r2 to remove some warnings
* Remove some debug messages
* Update libr/core/cmd_mount.c
2021-01-23 17:16:39 +01:00
pancake
2d2cef076c
Dont demangle with libs unless requested ##bin ( #18268 )
2021-01-22 15:53:24 +01:00
pancake
5dedf4aa63
Fix crash when wasm file contains symbols with large names ##bin ( #18261 )
2021-01-22 12:07:35 +01:00
pancake
c76558c031
Add bin.cache evar to use io.cache when bins need to patch relocs ##bin ( #18247 )
2021-01-22 11:06:42 +01:00