Commit Graph

28952 Commits

Author SHA1 Message Date
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
condret
ea6e87940f Introduce RArchConfig->decoder ##arch 2022-09-24 08:10:04 +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
16cb83a19c Use more tabs and add a (disabled for now) linter for it ##lint 2022-09-23 22:07:49 +02:00
pancake
adfe8a00a0 Analysis now waits in background for the bin parsing to finish ##threads 2022-09-23 22:07:49 +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
79c401bb6d Add the acr --enable-threadsafety flag and the same for meson ##build
* Initial support for protecting critical sections
2022-09-23 22:07:49 +02:00
condret
97c4373c4b Add R_SYS_BITS_12 ##util 2022-09-23 04:38:35 +02:00
condret
4040c6529b Update r_arch related meson.build file 2022-09-23 04:38:35 +02:00
condret
ab9190f3e3 Fix bug in r_arch_add 2022-09-23 04:38:35 +02:00
condret
bd50eeef38 Add R_LIB_TYPE_ARCH and i4004 arch-plugin ##arch 2022-09-23 04:38:35 +02:00
condret
853e6fc3dc Add addr_bits to RArchPlugins and make info and decode cbs cfg aware ##refactor 2022-09-23 01:47:03 +02:00
condret
220dbb9a13 Introduce R_SYS_BITS_4 ##util 2022-09-23 01:47:03 +02:00
condret
80fe5790a5 Add archcond api to rarch, some small cleanup in anal ##refactor 2022-09-23 00:47:29 +02:00
condret
fbd1dcf5d3 Make bitness, endianess and esil-support fields of RArchPlugin again ##refactor 2022-09-23 00:47:29 +02:00
condret
1947d5992a Copy value.c and op.c from anal to arch ##refactor 2022-09-22 23:09:27 +02:00
condret
7e901cdddf Copy switch.c from anal to arch ##refactor 2022-09-22 23:09:27 +02:00
meme
69db90f879 Fix meson infinite loop ##build
If you do a = files('example.c') and then a += a, meson rewrite will
loop infinitely
2022-09-22 17:32:06 +02:00
pancake
695cfb27a9 Remove 3 globals in s390.gnu ##globals 2022-09-22 08:21:55 +02:00
condret
bfdd3da987 moar rarch 2022-09-22 05:11:10 +02:00
condret
b626e08e29 Add some more typedefs and enums to r_arch ##refactor 2022-09-22 05:11:10 +02:00
pancake
d0e9c2b088 Implement pFbJ command with quiet and verbose json formats ##print 2022-09-22 00:45: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
3ee7a15a44
Bring back the r2 -t for parsing bin and analysing in background ##tools 2022-09-21 22:06:36 +02:00
pancake
b8f5b01097 Remove 3 globals in ccarg analysis ##globals 2022-09-21 20:54:08 +02:00
pancake
29ee360f3d Update r2pm manpage and add -q and -a flags ##r2pm 2022-09-21 20:54:08 +02:00
pancake
508795730c Implement rahash2 -qL 2022-09-21 20:54:08 +02:00
pancake
6d9fc15f96 Fix des and ror lifecycles and r2pm -d shows error on invalid pkgs 2022-09-21 20:54:08 +02:00
pancake
53c0af0b8a Show package source with r2pm -d <pkgname> ##r2pm 2022-09-21 20:54:08 +02:00
pancake
3622b4868a Fix rahash2 -L listing full hash ##crypto 2022-09-21 20:54:08 +02:00
pancake
2e6d41a9c7 Remove all global variables from RCrypto ##globals 2022-09-21 20:54: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
ef6899fbd6 Implement r2pm -H to make more packages build ##r2pm 2022-09-21 12:46:16 +02:00
pancake
0baf76371f Assert null deref in RStr.trim() to address a minor r2pm issue 2022-09-21 12:24:05 +02:00
pancake
1da9127150
Make RDebug.regRead() and regWrite() return bool ##debug 2022-09-21 12:22:46 +02:00
pancake
9c00659f9e Fixes parsing the GIT URL on some packages ##r2pm 2022-09-21 11:24:27 +02:00
pancake
133fa058f0 Move colortable global into the RConsContext ##globals 2022-09-21 11:19:16 +02:00
pancake
509d2bc60c Fix warning 2022-09-21 11:19:16 +02:00
pancake
7aebf4b355 Fix linux-debug build warnings 2022-09-21 10:18:04 +02:00
pancake
f186aed5b0 Fix meson build 2022-09-21 10:05:41 +02:00
pancake
eef8d67368 Fix ptrace error on latest termux 2022-09-21 10:03:51 +02:00