Commit Graph

12595 Commits

Author SHA1 Message Date
pancake
4d31bbb7fe Minor RLOG/bool changes spotted in visual and heap code 2022-10-04 19:00:55 +02:00
pancake
643c2439eb Use more R_LOG in RBin.macho 2022-10-04 15:53:05 +02:00
pancake
e372505a3b Fix obf and add tests for it ##bin 2022-10-04 11:05:29 +02:00
condret
a2298af23b Add some more arch config vars ##arch 2022-10-03 09:17:33 +02:00
condret
727c766a3a Introduce arch.endian config var ##arch 2022-10-03 09:17:33 +02:00
condret
799b1939d9 Avoid using RArchConfig->big_endian ##refactor 2022-10-03 09:17:33 +02:00
condret
4e92945241 Instantiate RArch in anal ##arch 2022-10-03 09:17:33 +02:00
pancake
5d6ae50e2d Fix last covs 2022-09-30 14:07:45 +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
33bf2c6fc9
Initial rvc refactoring and cleanup of the api ##vc 2022-09-27 12:10:26 +02:00
pancake
f10a1a335e
Remove asm.features, improve RBinInfo with flags and abi details ##bin
* asm.features has been replaced with asm.abi
* For non-abi elf-flags check the RBinInfo.flags field
* Respect asm.cpu from bin.cpu
* Use asm.abi from mips.gnu instead of fuzzy abi detection via features
2022-09-26 19:22:42 +02:00
rax2
c9deee8383
Fix null pointer in aflxj ##anal 2022-09-26 12:24:14 +02:00
RHL120
20b3acec3b
Move rvc apis into callbacks ##vc
* Update the ravc2 help message
* Fix ravc2 branch
2022-09-26 11:17:04 +02:00
pancake
90f8c21a02 Make ravc2 accessible via blob and r2 shell ##vc 2022-09-26 00:01:25 +02:00
pancake
f78cd7f706 Fix warnings 2022-09-25 23:34:45 +02:00
pancake
14a2cb7138
Fix the cache and other bugs in panels ##visual 2022-09-25 22:59:53 +02:00
pancake
53d645c25b Override scr.maxpage in panels to avoid undesired prompts ##visual 2022-09-25 22:16:03 +02:00
pancake
aea2abf241 Fix read buffer overflow in pxq -272 ##print 2022-09-25 20:36:42 +02:00
pancake
3313fcf7be
Add more critical regions here and there 2022-09-24 23:14:29 +02:00
rax2
9e445bc815
Implement aflxj ##anal 2022-09-24 10:47:42 +02:00
pancake
95eff67851
Enable the leading spaces linter rule and fix them all ##lint 2022-09-24 03:43:21 +02:00
pancake
dd01b31f71 Move the readahead logic to a local variable ##threads 2022-09-23 23:34:18 +02:00
pancake
1fb3c0fa0d
Guard more critical sections in cons and core ##threads 2022-09-23 23:29:17 +02:00
pancake
98f94efb8d
Dont call RCore.seek() and read a new buffer in disasm ##thready 2022-09-23 22:39:51 +02:00
pancake
d978af7542 Convert warning into an assert when using r_config_set_b for non-boolean configs
* Fix asm.tabs regression
2022-09-23 22:07:49 +02:00
pancake
b544f7ec1c Cache r_anal_cc_arg in heap to avoid ownership race conditions 2022-09-23 22:07:49 +02:00
pancake
9e53795891 Add some RThreadLocks and start to use the critical sections ##threads 2022-09-23 22:07:49 +02:00
pancake
19be94b4e5 Fix null derefs in cmd.open 2022-09-22 00:08:54 +02:00
pancake
43f700fc68 Implemen pFbj for json printing of protobuf ##print 2022-09-21 23:19:59 +02:00
pancake
be9a83871e
Remove 10 more globals from analysis and capstone ##globals 2022-09-21 22:12:08 +02:00
pancake
5f3ed93313 Initial work on the way RCrypto handles plugins ##crypto
* Implement RCrypto.entropy plugin to replace the RHash one
* Not yet used, just structured to move forward
* Add description and type fields in the RCryptoPlugin
* De-duplicate RCrypto.list() logic into a single function
* Deprecate RHash.name() and RCrypto.name()
2022-09-21 20:54:08 +02:00
pancake
85c96827e7 Use RCoreHelp for /ca? ##shell 2022-09-21 14:46:33 +02:00
pancake
1e94a082c1 Fix last covs 2022-09-20 14:47:04 +02:00
pancake
3b8a6af03a Assert when trying to RCons.strcat(NULL) 2022-09-20 12:44:56 +02:00
pancake
b0636a2939 Make R2PM_NATIVE the default and provide R2PM_LEGACY ##r2pm 2022-09-20 12:44:56 +02:00
pancake
416086a859 Avoid strcat calls with NULL argument 2022-09-20 12:20:45 +02:00
pancake
ac0fb10f99
Remove the last global variable in libmagic ##globals 2022-09-19 20:42:27 +02:00
pancake
5daaf54b58 Add :header and :noheader in RTable ##util 2022-09-19 15:58:34 +02:00
pancake
9511b8ad08 Add noreturn column in afll ##analysis 2022-09-19 15:58:31 +02:00
pancake
c0b1eb9ba7 Fix #20772 - ihj rendering an invalid json because of pfj ##json 2022-09-19 11:06:01 +02:00
pancake
97c77155f9 Fix master 2022-09-19 02:40:16 +02:00
pancake
563f3538bd Remove in_log_process global ##globals 2022-09-19 02:11:14 +02:00
pancake
98f7b10439 Boolify r_core_yank_file_all() and fix shadow var bug ##api 2022-09-19 02:08:58 +02:00
pancake
4801bbc13d Add r_file_is_executable and r_file_extension apis ##api
* Boolify some rdebug apis
* Make json.parse arg const
2022-09-19 02:06:35 +02:00
pancake
92236e4b1e Update to the latest SDB that's changing the sdb_itoa() signature 2022-09-18 20:38:58 +02:00
HighW4y2H3ll
15d337a70a Use RPVector in RAnalOp src/dst to support ldm/stm/simd ##anal 2022-09-18 10:01:39 +02:00
pancake
f6383a05f3 Introduce the new r_arch library, just the skeleton ##arch 2022-09-18 03:41:39 +02:00
pancake
7bbf82b97d Deprecate graph.web eval config var ##config 2022-09-18 01:36:59 +02:00
condret
bd2837f905 Rename r_arch_set_ to r_arch_config_set_ ##refactor 2022-09-17 04:37:33 +02:00
condret
e2889de5bf Rename R_ASM_SYNTAX to R_ARCH_SYNTAX ##refactor 2022-09-17 00:14:21 +02:00