Commit Graph

157 Commits

Author SHA1 Message Date
pancake
b19e84948f
Install scripts ##build 2024-10-21 20:45:30 +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
c90a0dcf8c Also export scr.color via R2_COLOR env var ##shell 2024-09-02 15:44:49 +02:00
pancake
e26327fc4d Sync $R2_FILE with 'o.' output ##shell 2024-08-31 16:51:50 +02:00
pancake
c6c9f2e804 Expose the bin.baddr via env var when running programs 2024-08-29 19:32:22 +02:00
satk0
ebd8bf9042
Replace r_return_val_if_fail with uppercase alternative 2024-08-05 12:26:32 +02:00
pancake
8b0b92ad29 Initial support for RBin->RIO redirections ##bin 2024-07-09 22:09:09 +02:00
pancake
8e37c73859
Refactor the io/oi commands and fix io behaviour ##io 2024-07-04 21:05:52 +02:00
pancake
b98cc92046
Use RFile.new instead of R_JOIN in the fortunes code 2024-05-12 02:14:58 +02:00
pancake
15d820fb7e Fix #22831 - Proper baddr on the FreeBSD debugger ##debug 2024-05-03 03:02:45 +02:00
pancake
0acfd3d395
Use RBinName in RBinSymbol ##bin 2023-12-22 01:51:42 +01:00
pancake
565e572c79 Minor cleanups in debug 2023-11-21 12:07:02 +01:00
pancake
070feea69a Add missing map covering all the addresspace for frida:// 2023-11-19 11:53:11 +01:00
condret
8fe509619e Microscopic refactoring 2023-11-17 17:41:08 +00:00
pancake
e9cf9ea106 Faster frida://0 startup times ##io
* Do not try to guess the bintype on address 0 when using frida://
2023-11-15 18:09:18 +01:00
pancake
a62d03c2e1
Refactor RDebugPlugin access solving a null deref in plugin-less builds 2023-11-15 12:04:17 +01:00
pancake
f5c444ba67
Initial import of the sysgdb:// plugin ##io
* handle -d sysgdb://, support pwndbg and wip lldb
2023-10-04 10:30:00 +02:00
pancake
cea567a907 Use more UT64_MAX 2023-09-17 21:51:40 +02:00
pancake
d13ed30754 Deprecate RBinType and avoid using RBinPlugin->file_type 2023-09-17 21:51:40 +02:00
pancake
c60fe51f0b Suggest single-quote instead of "(fix-dex ..)" 2023-09-14 00:52:53 +02:00
pancake
0b625d5b3b
Use RPluginMeta in RBinPlugins ##api 2023-08-17 17:41:41 +02:00
Luc Tielen
4a75b94b49 Rename RBinFile->o => RBinFile->bo ##bin 2023-08-08 12:12:35 +02:00
pancake
4b2904bd0b RBinSymbol api now works with RVec for mach0 ##bin
* The old RBin.getSymbol() creates a cache of the symbol vector
* It's not used anymore in r2 (keep compat for other projects using it)
* RBin.getSymbolsVec() is the new api and uses RVec instead of rvector+rlist
2023-07-20 13:33:45 +02:00
pancake
dcfc36ede5
anal->esil can't be null now, improve default initialization ##esil
* Fix anal.gp initialization with esil traps
* Adapt tests to use aeim when needed
* Improve pde initialization with r2 -c
* Requires 2nd round review, added comments
2023-07-17 01:43:56 +02:00
Luc Tielen
e85941beb4 Store current debug plugin session, migrate plugin ##debug 2023-07-06 17:00:51 +02:00
pancake
7ec8444e90 ElfObject now takes a user-defined base address ##bin 2023-07-05 23:53:32 +02:00
pancake
e879315800 Fix null deref in get_base_from_maps ##debug 2023-05-24 12:04:37 +02:00
pancake
d8420d4dca Improve brainfuck VM using ESIL and arch restrictions ##arch
* Instruction size must be 0xff instead of 32, to handle long jumps
* Registers are 32bit, so internal stack must use 32bit words
* Fix loop logic using simplified conditionals
2023-04-01 11:38:31 +02:00
Luc Tielen
58cc69f0dd Migrate the brainfuck ##arch 2023-04-01 11:38:31 +02:00
pancake
2119dc6510
Fixes the bfbug losing arch setup after o malloc ##core 2023-04-01 00:11:51 +02:00
pancake
c7211654f0 Use RCore.codeCall instead of abusing flag, 'variable' 2023-03-07 17:11:54 +01:00
pancake
97a6439055 Do the same for __WINDOWS__ -> R2__WINDOWS__ 2022-12-10 20:32:10 +01:00
pancake
e8b17faf76 Add test for the obm with CL, support noncwd paths ##bin 2022-12-07 23:06:43 +01:00
pancake
3d84a268dd Use obm when spotting a companion dwarf file on macOS ##bin 2022-12-07 23:06:43 +01:00
pancake
7d452fd973 Autoload the dwarf companion file on macOS systems if available ##bin 2022-12-07 19:49:32 +01:00
pancake
22342066c1 Rename many bin.*str evars into bin.str.* ##core 2022-11-11 12:17:50 +01:00
pancake
0b90768931 Rename RStr.home() to RFile.home() as part of the Plan ##api 2022-10-27 16:28:33 +02:00
condret
799b1939d9 Avoid using RArchConfig->big_endian ##refactor 2022-10-03 09:17:33 +02:00
pancake
c2851a6f46 Use XDG instead of R2_HOME_CACHEDIR and R2_HOME_HISTORY ##core
* Implement and use the new `r_xdg` apis
* Remove R2_HOME_RC, R2_HOME_RC_DIR and R2_HOME_CONFIGDIR
* R2_HOME_THEMES, R2_HOME_ZIGNS R2_HOME_PDB R2_HOME_HUD R2_HOME_BINRC and R2_HOME_BIN
* Disable the bin-specific user scripts
* Massage the help messages and reduce and review all the env vars used
2022-09-29 17:33:21 +02:00
pancake
95eff67851
Enable the leading spaces linter rule and fix them all ##lint 2022-09-24 03:43:21 +02:00
pancake
1fb3c0fa0d
Guard more critical sections in cons and core ##threads 2022-09-23 23:29:17 +02:00
pancake
b0636a2939 Make R2PM_NATIVE the default and provide R2PM_LEGACY ##r2pm 2022-09-20 12:44:56 +02:00
pancake
92236e4b1e Update to the latest SDB that's changing the sdb_itoa() signature 2022-09-18 20:38:58 +02:00
pancake
e5d8cc46af Add linting to avoid setting bool config vars with strings 2022-09-16 11:46:18 +02:00
pancake
53edb5f909 Enable r2pm-native when calling it from r2 ##tools 2022-09-06 23:24:53 +02:00
pancake
f9f9e367de Use rlog instead of eprintf in 300 more places 2022-08-22 14:35:04 +02:00
pancake
e01660dc52 Rename to io.basemap 2022-08-18 10:31:22 +02:00
Richard Patel
b78855c38d Refactor a few eprintf 'Cannot …' to R_LOG_ERROR 2022-08-01 16:46:46 +02:00
Lazula
dd6aa1abfc Fix crash due to null debug file handle/uri 2022-07-17 22:01:42 +02:00
pancake
34b21efc1e Fix mips identification via RArchConfig instead of RAsm 2022-07-07 19:16:22 +02:00