Commit Graph

29622 Commits

Author SHA1 Message Date
Vitaly Bogdanov
88bdb74385 Mark libgdbr_t.server_debug field as deprecated 2023-01-08 22:54:39 +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
Vitaly Bogdanov
159e7d922a Replace eprintf by R_LOG_ calls inside GDB module 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
5750f88391 Reference doc/abi in DEVELOPERS ##doc 2023-01-08 19:42:29 +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
Mohamed Lemine Ould El-Hadj
6fb1e041d8 Use an authorized API call for the abi job to increase the rate limit ##build 2023-01-08 10:09:27 +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
pancake
aa63e120b2 Enable stack overflow check when recursive calls ##js
* `""js var a = foo; function foo() { a(); } a();`
2023-01-02 01:57:14 +01:00
pancake
695fe0831e Bump for r2papi-0.0.22 2023-01-01 18:12:40 +01:00
Mohamed Lemine Ould El-Hadj
07a937752a Remove condition on 'linux-static' job ##build 2022-12-31 10:58:30 +01:00
Mohamed Lemine Ould El-Hadj
1a8be05a48 Integrate ABI diffing into CI scripts ##build, closes #21055 2022-12-31 10:58:30 +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