Commit Graph

5284 Commits

Author SHA1 Message Date
pancake
2e61d2b4f4 Add RStr.ansiStrip() and RStr.insert() ##util 2022-10-05 22:12:52 +02:00
pancake
4d31bbb7fe Minor RLOG/bool changes spotted in visual and heap code 2022-10-04 19:00:55 +02:00
pancake
c0b50cb084 Improve internal RBuffer API checks ##util 2022-10-04 15:53:05 +02:00
condret
2fbe002ddd Handle reloc maps properly in r_io_map_remap and r_io_map_resize ##io 2022-10-04 11:07:18 +02:00
condret
1070465967 Add rio reloc maps ##io 2022-10-03 21:17:07 +02:00
condret
20942d1a2e Copy anal_amd29k.c to rarch ##arch 2022-10-03 13:05:30 +02:00
condret
db1a5d132b Change arch plugin definition ##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
ae108d7a69 Add R_UNUSED_RESULT and use it to avoid unnecessary -Wunused-result warnings 2022-09-30 12:48:29 +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
adb7c1388a Initial support for XDG env vars and paths ##core 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
pancake
43f619a8a6
Initial ref-counted RRegItems, needed for threadsafety ##threads 2022-09-26 12:22:35 +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
3313fcf7be
Add more critical regions here and there 2022-09-24 23:14:29 +02:00
condret
ea6e87940f Introduce RArchConfig->decoder ##arch 2022-09-24 08:10:04 +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
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
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
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
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
29ee360f3d Update r2pm manpage and add -q and -a flags ##r2pm 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
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
1da9127150
Make RDebug.regRead() and regWrite() return bool ##debug 2022-09-21 12:22:46 +02:00
pancake
133fa058f0 Move colortable global into the RConsContext ##globals 2022-09-21 11:19:16 +02:00
pancake
a181244d7c Fix refcounting issues 2022-09-21 09:31:05 +02:00
pancake
aab694d655 First arch plugin (arch.null), implement basic lib api ##arch
* Still far from usable, no dynamic plugin loading
* No way to retrieve a decoder yet
2022-09-21 08:22:55 +02:00
pancake
c5593425d0 Add r_ref_ptr() and fix unit test fatal warning 2022-09-21 08:00:11 +02:00
pancake
78c0d8bd8f Make dwarf unit tests portable 2022-09-20 17:05:34 +02:00
pancake
51b08ba7f0 Fix recent rref/build issues 2022-09-20 16:40:25 +02:00
pancake
394d89875a Missing r_ref.h 2022-09-20 15:40:17 +02:00