Commit Graph

27710 Commits

Author SHA1 Message Date
pancake
b77b92b31d Fix glitch in scr.html when scr.color=1 ##cons 2022-04-19 20:32:35 +02:00
pancake
1e10eb92f0 Remove broken and outdated graph webui ##webui 2022-04-19 16:44:22 +02:00
pancake
a253f61c97 Update the www/m webui with latest versions of all the frameworks ##webui
* Thanks to FrenchYeti for cleaning up the build system of
* all the radare2-webuis and fixing some xss bugs in the
* material webui. Next update will happen before the release
2022-04-19 16:11:35 +02:00
pancake
664e8800d6 Remove all the deprecated abi apis 2022-04-19 15:40:29 +02:00
pancake
dd44ca5d89 Rename the handler_old leftovers to follow the r2 coding style 2022-04-19 15:40:29 +02:00
pancake
41a2d144e5 Add afci command and improve afc? help message
* Document `afcll` command.
2022-04-19 15:40:29 +02:00
pancake
c77f1581da Now that assert api uses RLog API there's no need to append a newline 2022-04-19 15:40:29 +02:00
pancake
a9c8b8914c Show proper error when no function found in afv ##shell 2022-04-19 15:40:29 +02:00
Lazula
724d23a6c0
Refactor, fix, and test dd command (#19842)
* Test dd commands
* Improve dd help text
* Move dd command into a self-contained function
* Take correct arguments for ddr and ddw
* Add O_CREAT to dd+ flags for python-style automatic creation
* Add permission checks to ddr and ddw

Linux debug file descriptor info bugfixes (`linux_desc_list()`)

* Fix normal files being reported as sockets due to inaccurate S_IFSOCK check
* Fix file descriptor permission reporting
* Implement offset checking functionality
2022-04-19 07:43:54 -05:00
pancake
cef87fbc7c RLog cleanup, dont use log is a libc function 2022-04-19 11:14:57 +02:00
pancake
e7816e4d67 Improve RLog API and usage, document R2_LOG_ vars in r2 -hh ##core 2022-04-19 11:14:57 +02:00
pancake
81c9013454 Expose R_WEAK attribute and minor cleanups
* Fix memleak in cbin.relocs
2022-04-19 11:14:57 +02:00
pancake
9598fe5592
Use wx+ instead of wx;s+16 in pc* command ##print 2022-04-19 01:50:37 +02:00
pancake
0034d2c177
Add RAnal.use in RAnalBind to use it from RAsm ##analysis 2022-04-19 01:50:13 +02:00
Lazula
fc00c929c4 Honor help text capitalization 2022-04-19 01:49:12 +02:00
Lazula
1c5cbeaf45 Update tests 2022-04-19 01:49:12 +02:00
Lazula
81afa3aa98 Improve dx help and add dxa test 2022-04-19 01:49:12 +02:00
Lazula
540a357b8e Add dxrs command and tests for dx/dxr/dxrs 2022-04-19 01:49:12 +02:00
Lazula
cc8e2b3f55 Improve variable names in r_debug_execute 2022-04-19 01:49:12 +02:00
pancake
2a3b6cc550 RBinFile size must be ut64, not signed int to open > 2GB files ##bin
* Causes `izz` to fail with invalid negative ranges
* Also affects other commands, but this breaks the ABI
2022-04-19 01:47:07 +02:00
pancake
8b81e8fe14 After release version bump. Expect ABI breaks until 5.7.0 is out 2022-04-19 01:46:10 +02:00
pancake
d94100d386 Release 5.6.8 - Codename: remora 2022-04-19 01:03:53 +02:00
pancake
576e81d71d Add sandbox checks for the debugger io plugins ##security 2022-04-19 00:50:42 +02:00
pancake
87c3bbca0a Fix infinite loop in -1 command ##shell 2022-04-19 00:27:12 +02:00
pancake
349d292986 Fix cmd_graph test when running on non-x86-64 2022-04-18 23:47:18 +02:00
pancake
f3b0097822 Update tests with new argument/variable ordering 2022-04-18 23:47:18 +02:00
pancake
cb70fb2bce Fix null deref in code meta commands ##crash 2022-04-18 23:47:18 +02:00
pancake
bfa549eb43 Add tests for argument ordering issue #19876 2022-04-18 23:47:18 +02:00
pancake
3b3b83637e Fix #19876 - Smarter local variable and argument sorting ##disasm
* Fix tests
2022-04-18 23:47:18 +02:00
pancake
f933c5e86c Show args before vars in afv summary also in pd ##disasm 2022-04-18 23:47:18 +02:00
pancake
0f5b8b0809 Use VARPREFIX and ARGPREFIX instead of "var" and "arg" 2022-04-18 23:47:18 +02:00
pancake
9386d87f1a Fix comma separated args in r_anal_function_format_sig ##analysis
* This is used by `pd`
2022-04-18 23:47:18 +02:00
RHL120
7435f87982
Add an error return to r_core_project_cat ##projects
* Minor changes to r_core_project_cat
* Use core->num->value in r_core_project_cat
* Add a test
* Fix project return value
* Fix Pc return value test

Co-authored-by: Lazula
2022-04-17 18:58:26 +02:00
Lazula
9160bea40a
Improve wz help and error handling ##shell
* Rename to wz_handler and use core, fix core return code handling
2022-04-17 18:13:00 +02:00
Lazula
8bc9678023
Fix trailing space in om command when map->name is empty (#19965) 2022-04-17 18:11:33 +02:00
pancake
1dd65336f0
Fix oobread bug in NE parser ##crash
* Reported by @cnitlrt via huntrdev
* BountyID: 02b4b563-b946-4343-9092-38d1c5cd60c9
* Reproducer: neoobread
2022-04-17 01:06:07 +02:00
mdolmen
a58b8d4e2e
Fix aeabj output which returned different information than aeab ##json 2022-04-17 01:01:49 +02:00
pancake
48f0ea79f9 Fix null deref in ne parser ##crash
* Reported by @cnitlrt via huntr.dev
* BountyID: d8b6d239-6d7b-4783-b26b-5be848c01aa1/
* Reproducer: nenull
2022-04-17 00:38:35 +02:00
Lazula
9540cb5279 Collapse bit loop into color loop and reduce color scope 2022-04-16 17:19:12 +02:00
Lazula
2a7b9dbfb7 Improve c1 arg handling 2022-04-16 17:19:12 +02:00
Lazula
f3162fda40 Refactor and rename __core_cmp_bits to cmp_bits 2022-04-16 17:19:12 +02:00
Lazula
0111ca4cca Use a single utAny for c[1248] values 2022-04-16 17:19:12 +02:00
Lazula
cd03cd9bda Add comments to mark commands in the switch statement 2022-04-16 17:19:12 +02:00
n01e0
460b25e8f0
Update r2pipe for use with docker (#19960) 2022-04-14 20:44:33 +02:00
pancake
c234538b8c
Fix #16335 - tp not handling blocksize properly ##types (#19955) 2022-04-13 20:43:30 +02:00
junchao-loongson
7fc24c11a7
Add missing loongarch for the meson ##build 2022-04-13 17:38:49 +02:00
pancake
7afaee8b29 ci.tolower() 2022-04-13 11:22:12 +02:00
pancake
2faf3c2e39 Run r2pm from core internally ##shell 2022-04-13 10:17:35 +02:00
pancake
d4a7c58bd0 Fixes for the Trim.args() for ?e ##shell 2022-04-13 10:14:15 +02:00
pancake
cb097fe79b Fix three tests failing on non-x86-64 hosts 2022-04-13 01:38:45 +02:00