Commit Graph

25413 Commits

Author SHA1 Message Date
pancake
75a61f2abd
Move nios2 away from anal ##arch 2023-01-09 00:43:55 +01:00
pancake
f22f051ce7 Fix memleak in r2pm 2023-01-08 23:31:07 +01:00
pancake
b79e9da819 Add R2PM_NEEDS and auto-install system build deps if possible ##r2pm 2023-01-08 22:54:02 +01:00
Vitaly Bogdanov
e433acc266 Remove libgdbr_t.server_debug flag and =g! command
After replacing eprintf by R_LOG_ calls one can enable GDB server
packets logging using `e log.level=5` command.
2023-01-08 20:07:38 +01:00
pancake
1fec545ed9 Fix git check before cloning the repo ##r2pm 2023-01-08 20:06:59 +01:00
pancake
25865cb778 Remove build warnings spotted in termux and improve install instructions 2023-01-08 20:06:59 +01:00
pancake
f2d2fe2e3c Fix UAF in oc ##crash 2023-01-08 10:49:50 +01:00
pancake
466fa80d2c Implement RCore.cmdCallAt() + minor improve internal cmd calls ##api
* Use getb/setb for scr.html
2023-01-08 10:49:50 +01:00
Jules Maselbas
e2b46ce83a Use R_ANAL_OP_DIR* enum value instead of hardcoded values 2023-01-07 22:55:13 +01:00
Jules Maselbas
48c9edaed6 Use R_ARRAY_SIZE in r_anal_op_family_from_string 2023-01-07 22:55:13 +01:00
Jules Maselbas
a137e23cc2 Balance spacings in braces ##indent 2023-01-07 22:55:13 +01:00
Jules Maselbas
7b079507fe Make r_anal_optype_{to,from}_string use the same optypes array ##analysis
Some optypes that where only in the switch of r_anal_optype_to_string
have been added to the optypes array. Also use the macro R_ARRAY_SIZE
instead of using a define with a hardcoded number.
2023-01-07 22:55:13 +01:00
Jules Maselbas
4841de240c Fix typos and improve comment in kvx_op 2023-01-06 13:52:36 +01:00
Jules Maselbas
717142e468 Add missing licence in header kvx.h 2023-01-06 13:52:36 +01:00
Jules Maselbas
dff51accdb kvx: update generated opc decoding structures 2023-01-06 13:52:36 +01:00
Jules Maselbas
a2bf1149a5 Fix script used to generate opc decoding struct for kvx
instruction loopdo was matching the load regex.
instruction sbf* (sub from) was matching the store regex.
instruction prefixed with x* have been removed (xld, xs, xcopy).
add missing sbf, neg
2023-01-06 13:52:36 +01:00
pancake
961f0e7239
Fix ANSI Escape Sequence Injection vulns via DWARF ##vuln
* Reported by @solid-snail via huntrdev
* BountyID: 583133af-7ae6-4a21-beef-a4b0182cf82e
* Reproducer: dwarf_test_func_patched
2023-01-06 12:55:15 +01:00
pancake
634219b2e5 Minor hexdump optimization, use more cmdCall and minor cleanups 2023-01-05 17:52:30 +01:00
pancake
fff7d4b1d0 Add experimental r2.cmd0 and r2.call0 for qjs ##js 2023-01-05 12:19:51 +01:00
pancake
71dfd4d833 Fix profiling RCore.cmdCall() via ?t"" ##shell 2023-01-05 12:19:51 +01:00
Ole André Vadla Ravnås
3ead2117be Fix emulation of the arm64 tst instruction ##esil 2023-01-03 22:20:56 +01:00
pancake
1100e12169
Add missing space in string, minusculpe typo fix 2023-01-02 02:10:42 +01:00
pancake
39086d18ca Add help message for the quote command "? ##shell 2023-01-02 02:09:45 +01:00
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