Commit Graph

25390 Commits

Author SHA1 Message Date
Fraser Price
dfbfb75bb2
Rework of the function merging ##analysis
* Solve segfault when merging functions using new two-way algo
* Add checks for if r_anal_get_block_at fails
2022-12-31 10:56:04 +01:00
meme
4a8d7b0d3c License Plan 9 code as MIT ##bin 2022-12-30 20:10:07 +01:00
meme
47e44a159b Add Plan 9 line number information ##bin 2022-12-30 20:10:07 +01:00
meme
b395a96082 Add Plan 9 calling conventions ##anal 2022-12-30 20:10:07 +01:00
meme
1a27bfd641 Fix load address of arm64 kernel ##bin 2022-12-30 20:10:07 +01:00
pancake
494fe91985 Basic blocks are not modified if not initialized ##anal
* Fixes "Reanalyze (Y/n)" prompt in visual after project reloading
2022-12-30 19:20:14 +01:00
pancake
f977ab17f8 Register RArch plugins to be loaded dynamically ##arch 2022-12-30 18:20:24 +01:00
pancake
a6bb0b6c15 Upgrade to r2papi-0.0.20 2022-12-30 11:09:01 +01:00
pancake
658cfd6566 Update r2papi-0.0.18 with many new apis 2022-12-29 23:49:32 +01:00
pancake
739b297a5d Improve error messages in the qjs repl ##js 2022-12-29 23:15:11 +01:00
pancake
f663fb0298 Implement dpt. command to print the current selected process ##debug 2022-12-29 23:14:29 +01:00
pancake
b11fecf7e8 Rename qjs's dir function to dump ##js 2022-12-29 22:35:42 +01:00
pancake
3b4b60ceec Implement LAj and LAq commands to list arch plugins ##shell 2022-12-29 22:06:12 +01:00
pancake
6947b2efeb Implement uname -h, -m, -b, -j ... ##shell 2022-12-29 21:45:09 +01:00
pancake
35e5337428 Handle unknown subcommands for t ##shell 2022-12-29 21:44:51 +01:00
pancake
f27b8d9bfb Support loading/unloading multiple QJS plugins ##js
* This is a hacky and experimental feature, without
* breaking the ABI for all the Core plugins this is
* not possible to be done properly, so i'll keep it
* until 5.9, also rlib api is also unable to unload
* plugins, which will require more breaking changes
2022-12-29 21:29:16 +01:00
pancake
e4e73cefef Remove global in util/lib and just use RLogLevel ##globals 2022-12-29 21:29:16 +01:00
pancake
db405b93e3 Add some more checks for null derefs related to io bank relocs 2022-12-29 17:12:17 +01:00
pancake
842f809d4e Fix null deref in io.bank ##crash
* BountyID: 075b2760-66a0-4d38-b3b5-e9934956ab7f
* Reported by @coolkingcole
* Reproducer `POCbank`
2022-12-29 17:08:22 +01:00
pancake
5c0bde8ea0
Add --with-ssl-crypto, rename --with-openssl to --with-ssl ##build (#21213)
* Expose the use_ssl_crypto option for meson
* Add SSL builds in the CI
2022-12-29 16:57:00 +01:00
pancake
297126b871 Add R2_DEBUG_NOPAPI env var ##tools 2022-12-29 14:49:17 +01:00
pancake
7fd869d05e Update typescript compiler and move r2plugin into r2 ##js
* Update to the latest r2papi0.0.14 adds wip esil apis
* Support more js profiles with a global exports var
2022-12-29 14:49:17 +01:00
kyufie
129a38f946 Fix ARM assembler for blt, ble, cmn, tst, and teq instructions ##asm 2022-12-29 11:39:15 +01:00
pancake
99b72288bf Add test for gb srcs/dsts json and valtype ##anal 2022-12-28 13:21:05 +01:00
nmeum
cabba7329b
meson: Install various missing files ##build
While switching our Alpine Linux radare2 package from the GNU autotools
build system to the meson build system I noticed that the meson build
system doesn't install several files which were previously installed by
the GNU autotools buildsystem. This patch adds the missing files to the
corresponding meson.build files.
2022-12-28 13:05:46 +01:00
pancake
d2c8770995 Fix #21205 - Missing object definition for aoj ##json 2022-12-28 10:43:14 +01:00
pancake
98c68ddc1a pdrj shouldnt be modifying the current seek ##shell 2022-12-28 10:30:59 +01:00
pancake
66b7c94b2b Dont call r_anal_cond_tostring with null cond 2022-12-28 00:27:22 +01:00
pancake
77c3797c71 Extra checks and enforce the singleton core plugin ##js 2022-12-27 13:35:02 +01:00
pancake
15a92dbd0a Improve typescript entrypoint logic detection ##js 2022-12-27 12:48:38 +01:00
pancake
dd8a58a07d Initial support for javascript core plugins ##js 2022-12-27 12:03:02 +01:00
pancake
031da1be8f Fix disp negative unsigned gcc12 warning in arm.cs 2022-12-26 21:45:56 +01:00
pancake
64bab85043 Oops missing comma 2022-12-26 21:34:27 +01:00
pancake
3a0ad160b0 Fix R2PM_DEPS first time issue ##r2pm
* Fixes the problem of r2ghidra-sleigh not being
* installed when installing r2ghidra
2022-12-26 21:31:04 +01:00
pancake
7307347b26 Report better errors on first r2pm setup ##r2pm
* error if curl|wget, git and make are not available
* check if the pkgdb have been downloaded and inform accordingly
2022-12-26 21:16:56 +01:00
pancake
59dddb52a4 Fix RFile.path() when $PATH contains no colon ##api
* Fixes r2 -d on termux
2022-12-26 20:48:57 +01:00
pancake
3ba5ff5c9a Show error when passing un-even hexpair to rasm2 ##tools 2022-12-26 11:36:44 +01:00
pancake
08a9b55ba3 Upgrade r2papi-ts from 0.0.4 to 0.0.10 ##js 2022-12-26 11:33:40 +01:00
pancake
7a879ce490 Support typescript Main namespace and pass --allowJs ##js 2022-12-26 11:32:26 +01:00
pancake
3ee3d9dd80 Add -j command as an alias for js: ##shell 2022-12-26 11:31:38 +01:00
pancake
45605fce9d Implement pvp and wvp to print and write pointers ##print
* Uses wv8/wv4 depending on asm.bits
2022-12-26 11:18:01 +01:00
pancake
e9ea4b46ae Improve json output for mlj - mountpoint type and delta ##fs 2022-12-26 11:14:50 +01:00
pancake
8a3c0bc8ba Fix #21196 - e?? not printing config var 2022-12-24 17:52:01 +01:00
pancake
bdb1e7227d Fix fortune message for #md5 and add ph: variant of "ph " ##print 2022-12-24 16:41:29 +01:00
pancake
341695d158 Fix wasi builds 2022-12-23 13:27:26 +01:00
pancake
f801ee7ada Initial experimental support for portable qjs packages ##r2pm 2022-12-23 13:09:49 +01:00
pancake
9fcd0ef668 Add the ability to run qjs scripts with r2 -je ##shell 2022-12-23 13:09:46 +01:00
pancake
e8a86a28e4 Add proper warning when building libbochs on 64bit 2022-12-23 12:14:14 +01:00
pancake
bf4bf7c8f5 Fix minor warnings spotted by the windows build 2022-12-23 01:09:00 +01:00
0x8ff
2ba957950a Fix multiple typos in ios-syscalls.txt ##anal 2022-12-23 01:06:05 +01:00