Commit Graph

1231 Commits

Author SHA1 Message Date
pancake
0c9f8c4266 Fix #23639 - Implement e+ command to set config vars in r2rc ##core 2024-11-15 20:46:35 +01:00
pancake
4237380aaf Fix last memleaks spotted by coverity
Some checks are pending
build / w32-meson (push) Waiting to run
build / w64-static-2022 (push) Waiting to run
build / w64-static (push) Waiting to run
build / w64-meson (push) Waiting to run
build / check_abi_compatibility (push) Blocked by required conditions
build / check_release (push) Blocked by required conditions
build / release (push) Blocked by required conditions
CI / linux-acr-oldlibsbug (push) Waiting to run
CI / linux-nocs (push) Waiting to run
CI / linux-acr-gperf (push) Waiting to run
CI / linux-sys-capstone (push) Waiting to run
CI / linux-acr-resymlink (push) Waiting to run
CI / linux-test (push) Waiting to run
CI / linux-static-meson (push) Waiting to run
CI / macos-test (push) Waiting to run
CI / linux-rpath (push) Waiting to run
CI / macos-rpath (push) Waiting to run
CI / linux-meson-spaces (push) Waiting to run
CI / linux-tinyasan-fuzz (push) Waiting to run
CI / linux-asan-fuzz (push) Waiting to run
CI / w64-make (push) Waiting to run
CI / w32-mingw (push) Waiting to run
CI / w64-mingw (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
Coverity Scan / latest (push) Waiting to run
tcc / ubuntu-tcc-newabi (push) Waiting to run
tcc / ubuntu-tcc-test (push) Waiting to run
tcc / ubuntu-tcc-nodbg (push) Waiting to run
tcc / r2pm-tcc (push) Waiting to run
tcc / ubuntu-tcc-syslibs (push) Waiting to run
2024-10-31 17:41:56 +01:00
pancake
0a7669f592 Improve and extend $D numvars ##shell 2024-10-31 16:17:44 +01:00
pancake
40fc7c9dce Extended $M numvars ##shell 2024-10-31 16:17:44 +01:00
pancake
a0a1a8541a
Refactor and improve $F and $B numvars ##shell
Some checks failed
build / w32-meson (push) Waiting to run
build / w64-static-2022 (push) Waiting to run
build / w64-static (push) Waiting to run
build / w64-meson (push) Waiting to run
build / check_abi_compatibility (push) Blocked by required conditions
build / check_release (push) Blocked by required conditions
build / release (push) Blocked by required conditions
CI / linux-acr-oldlibsbug (push) Waiting to run
CI / linux-nocs (push) Waiting to run
CI / linux-acr-gperf (push) Waiting to run
CI / linux-sys-capstone (push) Waiting to run
CI / linux-acr-resymlink (push) Waiting to run
CI / linux-test (push) Waiting to run
CI / linux-static-meson (push) Waiting to run
CI / macos-test (push) Waiting to run
CI / linux-rpath (push) Waiting to run
CI / macos-rpath (push) Waiting to run
CI / linux-meson-spaces (push) Waiting to run
CI / linux-tinyasan-fuzz (push) Waiting to run
CI / linux-asan-fuzz (push) Waiting to run
CI / w64-make (push) Waiting to run
CI / w32-mingw (push) Waiting to run
CI / w64-mingw (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
tcc / ubuntu-tcc-newabi (push) Waiting to run
tcc / ubuntu-tcc-test (push) Waiting to run
tcc / ubuntu-tcc-nodbg (push) Waiting to run
tcc / r2pm-tcc (push) Waiting to run
tcc / ubuntu-tcc-syslibs (push) Waiting to run
Coverity Scan / latest (push) Has been cancelled
2024-10-31 12:36:52 +01:00
pancake
7ce3ad88d0
Refactor, improve and extend all the $S numvars ##shell 2024-10-31 11:11:23 +01:00
pancake
9d176c99a9
Refactor and extend the numvars for flags ##shell
Some checks are pending
build / w32-meson (push) Waiting to run
build / w64-static-2022 (push) Waiting to run
build / w64-static (push) Waiting to run
build / w64-meson (push) Waiting to run
build / check_abi_compatibility (push) Blocked by required conditions
build / check_release (push) Blocked by required conditions
build / release (push) Blocked by required conditions
CI / linux-acr-oldlibsbug (push) Waiting to run
CI / linux-nocs (push) Waiting to run
CI / linux-acr-gperf (push) Waiting to run
CI / linux-sys-capstone (push) Waiting to run
CI / linux-acr-resymlink (push) Waiting to run
CI / linux-test (push) Waiting to run
CI / linux-static-meson (push) Waiting to run
CI / macos-test (push) Waiting to run
CI / linux-rpath (push) Waiting to run
CI / macos-rpath (push) Waiting to run
CI / linux-meson-spaces (push) Waiting to run
CI / linux-tinyasan-fuzz (push) Waiting to run
CI / linux-asan-fuzz (push) Waiting to run
CI / w64-make (push) Waiting to run
CI / w32-mingw (push) Waiting to run
CI / w64-mingw (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
Coverity Scan / latest (push) Waiting to run
tcc / ubuntu-tcc-newabi (push) Waiting to run
tcc / ubuntu-tcc-test (push) Waiting to run
tcc / ubuntu-tcc-nodbg (push) Waiting to run
tcc / r2pm-tcc (push) Waiting to run
tcc / ubuntu-tcc-syslibs (push) Waiting to run
2024-10-30 21:37:09 +01:00
pancake
e70fb866b0
Refactor instruction $variables under $i ##shell
* "$in", ":{n}", "address of nth instruction forward",
* "$ip", ":{n}", "address of nth instruction backward (s $I1@$Fe) #last instr in bb",
* "$is", "[:{n}]", "N instruction size",
* "$ij", "", "jump address (e.g. jmp 0x10, jz 0x10 => 0x10)",
* "$if", "", "jump fail address (e.g. jz 0x10 => next instruction)",
* "$ir", "", "instruction reference pointer value (e.g. lea rax, 0x8010 => 0x8010)",
* "$iv", "", "opcode immediate value (e.g. lui a0,0x8010 => 0x8010)",
2024-10-30 20:18:01 +01:00
pancake
536effe6ce Fix broken test exposing reentrant RNum.math glitch ##bug 2024-10-30 18:20:04 +01:00
pancake
28bb93b256
Cleanup, handle errors and support : syntax for $k{} ##shell
Some checks are pending
build / w32-meson (push) Waiting to run
build / w64-static-2022 (push) Waiting to run
build / w64-static (push) Waiting to run
build / w64-meson (push) Waiting to run
build / check_abi_compatibility (push) Blocked by required conditions
build / check_release (push) Blocked by required conditions
build / release (push) Blocked by required conditions
CI / linux-acr-oldlibsbug (push) Waiting to run
CI / linux-nocs (push) Waiting to run
CI / linux-acr-gperf (push) Waiting to run
CI / linux-sys-capstone (push) Waiting to run
CI / linux-acr-resymlink (push) Waiting to run
CI / linux-test (push) Waiting to run
CI / linux-static-meson (push) Waiting to run
CI / macos-test (push) Waiting to run
CI / linux-rpath (push) Waiting to run
CI / macos-rpath (push) Waiting to run
CI / linux-meson-spaces (push) Waiting to run
CI / linux-tinyasan-fuzz (push) Waiting to run
CI / linux-asan-fuzz (push) Waiting to run
CI / w64-make (push) Waiting to run
CI / w32-mingw (push) Waiting to run
CI / w64-mingw (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
Coverity Scan / latest (push) Waiting to run
tcc / ubuntu-tcc-newabi (push) Waiting to run
tcc / ubuntu-tcc-test (push) Waiting to run
tcc / ubuntu-tcc-nodbg (push) Waiting to run
tcc / r2pm-tcc (push) Waiting to run
tcc / ubuntu-tcc-syslibs (push) Waiting to run
* Note that postfix expressions are ignored, this is a bug in RNum, added tests
2024-10-30 13:22:41 +01:00
pancake
bf52a65169
Refactor and extend few RNum $O->$$c|$$$c + error handling ##shell 2024-10-30 12:19:13 +01:00
pancake
b8216a0e62 Add scr.prompt.prj to show project name ##projects 2024-10-12 02:03:55 +02:00
pancake
9293b8250d
Deprecate the IS_DIGIT/IS_UPPER/IS_LOWER, we have posix ##api 2024-09-17 17:05:59 +02:00
pancake
19e25c0689 Fix segfault when deallocating arch plugins ##crash 2024-08-26 11:08:50 +02:00
satk0
060d976412
Replace other r_return_* uses and update DEVELOPERS.md ##refactor 2024-08-05 13:31:58 +02:00
pancake
361b8b0c15
!! for session history, !. for history save ##shell 2024-08-05 13:06:19 +02:00
satk0
ebd8bf9042
Replace r_return_val_if_fail with uppercase alternative 2024-08-05 12:26:32 +02:00
pancake
df188d8c21
Reimplement internal cfg.editor line editor ##cons 2024-08-05 10:34:12 +02:00
satk0
aac8f3306b
Deprecate r_str_new and R_STR_DUP ##refactor 2024-08-04 12:21:44 +02:00
pancake
a9215b1644 Add anal.fixed.* (move anal.gpfixed and add arch/bits ones) ##core 2024-07-22 18:30:58 +02:00
pancake
219e429378 Improve the multiline comment user experience ##shell 2024-07-16 19:34:14 +02:00
pancake
762088e87f
Update r2papi from git, use src from /tmp instead of npm ##r2js (#23082)
* Dont uglify or minify, sed is more reliable
* Fix h<tab> help message
2024-07-01 11:43:59 +02:00
pancake
b3847c4a92 Dont seek from the server side rap ##io 2024-06-10 19:23:40 +02:00
pancake
f779a9be0d Autocomplete with tab the "open" argument ##shell 2024-06-07 01:34:57 +02:00
pancake
b9cbd35a6a Fix #22972 - deadlock in :: fixed by handling ^C ##crash 2024-05-28 14:47:36 +02:00
pancake
9f30ab1458
More cleanup on the cmd_info loop logic (#22920) 2024-05-12 01:52:16 +02:00
pancake
c7dbf4f4f0 Rename many deprecated R_ANAL_ARCHINFO into R_ARCH_INFO 2024-05-11 01:11:10 +02:00
pancake
632e7f9aed Fix o<tab> ##shell 2024-05-02 18:42:22 +02:00
pancake
96a9f2f8b8 Handle 32 and 64 bit big endian data references (Vdrr1) ##disasm 2024-04-09 20:31:15 +02:00
pancake
0f93f7cb3d Missing initialization on RAnalOp struct 2024-03-18 07:38:50 +01:00
pancake
057af65d6e
Fix #22563 - fix 'cannot assemble' in dmp, using egg shellcodes ##debug
* debug's eggs must share the same asm instance
2024-02-15 19:36:35 +01:00
pancake
9aa814c6cf Fix (null) in gS output 2024-02-14 18:09:04 +01:00
pancake
702cbbef4d Fix null deref in QJS plugin handling 2023-12-06 18:00:26 +01:00
Richard Patel
4e6c3fcea5 Fix NULL deref in r_core log handling
- Fixes issue https://github.com/radareorg/radare2/issues/22468
- Adds a regression test
2023-12-05 14:34:38 +01:00
pancake
6f3333a26e 0x command also saves seek history ##shell 2023-11-20 19:15:39 +01:00
condret
4c74e9e4c0 Fix gui.alt_background remains 2023-11-16 23:17:26 +00:00
pancake
d4c2854afe Set R2CORE env var to expose global pointer to the latest RCore instance 2023-11-14 12:28:04 +01:00
pancake
f94a1e7ec0 Honor cfg.json in axt and other a subcommands ##json 2023-11-08 19:02:57 +01:00
pancake
367e2902c5 Expose call as as a public r_core_cmd_call_str_at ##api 2023-11-07 18:46:05 +01:00
pancake
1d2391f2d0 Implement r2.callAt and speedup r2.call for the qjs ##lang 2023-11-06 20:20:33 +01:00
pancake
2a25bd481e
RStrVar utility to hold strings in the stackframe (#22297) 2023-10-05 19:21:44 +02:00
pancake
8836e91721 Recognize the 'yr' command as owned by r2yara ##shell 2023-10-02 12:33:21 +02:00
pancake
a7dfe1235f Cleanup of the VisualMarks api 2023-09-12 18:01:44 +02:00
pancake
8da4904068 Implement "o=num|flag" to change current fd ##io 2023-09-09 10:51:01 +02:00
pancake
f501641edf Implement o** and om** to jsut get the flags ##io 2023-09-09 10:51:01 +02:00
pancake
c461e4175b Remove this unused function 2023-09-06 16:36:20 +02:00
pancake
61ae0213f8 Add scr.prompt.code to display return code in the prompt ##shell 2023-09-02 13:15:28 +02:00
Luc Tielen
75e01f58bd
Remove global state in visual UI ##core 2023-08-14 14:42:52 +02:00
pancake
ab8f425c04 Fix race condition typos in keyboard "shuold" -> "should" 2023-07-31 11:54:29 +02:00
pancake
460e192b90 Add .help() callback for the RCoreBind ##api 2023-07-31 11:54:29 +02:00