Commit Graph

3559 Commits

Author SHA1 Message Date
pancake
994d5b3e95
Ship our own thread safe and portable r_str_tok_r in r_util ##api 2023-06-16 11:08:07 +02:00
pancake
9a32f3db86 Redesigned IO cache with layers ##io
* io.cache.read|write are now true by default
* io.cache-related unit tests disabled for now
2023-06-14 18:26:12 +02:00
pancake
f6b4acf809
Migrate the gameboy plugin ##arch 2023-06-14 14:27:10 +02:00
Luc Tielen
86b7f47db9
Remove several R2_590 ifdefs ##abi 2023-06-13 13:38:23 +02:00
pancake
fd157a0362 Move the base36 api from .h to .c ##api 2023-06-12 16:39:25 +02:00
pancake
388a878934 Remove the empty definition of rvc.use() 2023-06-12 09:39:45 +02:00
pancake
7089a7e377 Remove unnecessary cast in free() 2023-06-12 09:39:32 +02:00
pancake
5bf95eccbc
Delete unused r_cache from rutil ##api 2023-06-12 02:49:20 +02:00
pancake
a185dd7288 Unresolved elf symbols are now debug logs ##bin 2023-06-09 00:01:54 +02:00
pancake
69af9f2f53 Remove few apis, commands and config vars marked as deprecated 2023-06-08 19:45:16 +02:00
pancake
d2b9ba276f RFile.path() returns NULL if not found ##util
* This helps to simplify the caller's code and reduce logic
2023-06-08 18:44:52 +02:00
pancake
7876fbc71b Get rid of the unused skyline data structure ##util 2023-06-08 17:51:42 +02:00
pancake
ecbc62aeaa Fix invalid json on 'pfj x[1]z' ##print 2023-06-06 19:09:51 +02:00
pancake
30081d14d9 Fix assert on null deref with the 'pf E' command ##print 2023-06-06 19:09:51 +02:00
pancake
630a4231d1
Add support for base36 numbers ##util 2023-05-17 23:47:17 +02:00
pancake
690ece1508 Show capstone version in r2 -v ##shell 2023-05-16 16:37:19 +02:00
pancake
8da2403ac5 Show build system used (meson|make) in r2 -v ##shell 2023-05-16 06:34:37 +02:00
pancake
4ee3727c05 Implement r2r -g to run the tests associated with the files changed ##tests 2023-05-10 20:24:33 +02:00
Luc Tielen
3969404e64 Remove global state in time.c ##util 2023-05-09 16:29:07 +02:00
pancake
51b7c0aacd
Fix UAF in RNumCalc ##crash 2023-05-08 19:32:07 +02:00
pancake
f0e5ed1f07 Fix help for ?:? and show its links with =! ##shell 2023-05-07 12:12:48 +02:00
pancake
1c783790bf Fix #21703 - memory leak in RSys.dir() 2023-05-05 16:45:53 +02:00
pancake
5b412814e4 Fix #21704 - memory leak in RFile.move() 2023-05-05 16:41:11 +02:00
pancake
792767010c Fix oobread bug in asn1/pkcs7 parser ##crash 2023-04-30 07:45:51 +02:00
pancake
f1cfa98ae7
Few patches coming from the recursefails PR 2023-04-27 13:35:26 +02:00
pancake
27744e8d80 Fix UB with uninitialized read in dwarf parser ##crash 2023-04-26 20:00:57 +02:00
rgc
3b85115dd3
Deprecate r_str_cmp() ##api
* Use strcmp or r_str_startswith instead
2023-04-25 13:44:15 +02:00
pancake
3ff139e042 Fix infinite loading time in minidump file ##crash 2023-04-24 18:05:27 +02:00
pancake
fa21d2b32e Fix 8 byte oobread on pkcs7 parser ##crash 2023-04-19 17:25:28 +02:00
pancake
872e02dff9
Branch prediction optimizations (3/3) ##performance 2023-04-18 17:48:13 +02:00
pancake
433917e551
Branch prediction optimizations (2/3) ##performance 2023-04-18 16:10:44 +02:00
pancake
b44f8d3f3c
Branch prediction optimizations (1/3) ##performance 2023-04-18 16:10:16 +02:00
Luc Tielen
7ee8fb77a2 Refactor mach0 loading of relocs ##bin 2023-04-17 18:36:18 +02:00
pancake
91f8fef027
Add build optimization and precondition check levels in -v ##shell 2023-04-14 17:59:32 +02:00
pancake
bb5adcdd20 Reuse RStr.version() from r2's '?V'/'-v' ##shell 2023-04-14 13:32:52 +02:00
pancake
0e6a470b25 Show '(asan)' in r2 -v when runnin sanitized builds ##shell 2023-04-14 13:32:52 +02:00
pancake
10415ea004 100ms faster large tables listings 2023-04-13 20:22:37 +02:00
Luc Tielen
3e812278b5
Refactor loading of mach0 symbols ##bin
* Use RVector instead of handmade
* Replace sdb with ht for performance in mach0 parser
* Mark flacky test as broken
2023-04-12 16:51:30 +02:00
pancake
77b091d618 Avoid large allocation in the elf parser ##crash 2023-04-12 11:06:21 +02:00
pancake
c2801306f3 Check for null pointers in uleb and dwarf ##crash 2023-04-12 11:06:21 +02:00
pancake
9501a38638
Dont use strtok in the riscv plugin ##arch 2023-04-10 23:38:44 +02:00
pancake
767dc394f8
Improve code quality of the dmh command
* Avoid strtok, strcmp ("\0") and other abominations
2023-04-10 12:54:51 +02:00
pancake
b5cd2f3731 Improve RTable trailing spaces ##print 2023-04-09 18:07:50 +02:00
pancake
5bf6f11c9c Add experimental zign.mangled to not use demmangled symbol names ##signatures 2023-04-09 18:07:50 +02:00
pancake
f740d7b72e Fix trailing spaces in table ##print 2023-04-09 18:07:50 +02:00
pancake
c6a32fd1a0 Update tests 2023-04-05 18:50:09 +02:00
pancake
b7767dcc80 Fix UAF in RStr.replaceIcase() spotted by coverity ##util 2023-03-31 13:53:10 +02:00
Zhipeng Xue
887cda026b
Fix potential uninitialized value 2023-03-30 11:39:33 +02:00
pancake
8e15ae2b35 Fix two minor memory leaks 2023-03-28 23:05:32 +02:00
pancake
e2421ca83f Fix UAF in radiff2 when using R_LOG apis after freeing RCore 2023-03-28 22:57:33 +02:00