1892 Commits

Author SHA1 Message Date
pancake
ee9af36939 Proper non-null terminated snprintf regression 2023-07-25 20:21:57 +02:00
pancake
2faa31a62f Do not use sprintf in io_ihex 2023-07-25 17:52:26 +02:00
pancake
e1e3c45faf Fix timeout and move possible slow test ##analysis 2023-07-17 16:11:46 +02:00
Luc Tielen
e85941beb4 Store current debug plugin session, migrate plugin ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
a40d2e8006 Fix removing core plugins from Lc after L- ##core 2023-06-27 11:45:23 +02:00
condret
f8bc3bb00b Add r_io_bank_get_region_at and r_io_get_region_at ##io 2023-06-17 17:08:31 +02:00
condret
1eb7cf2114 Add io.overlay config var 2023-06-17 03:22:52 +02:00
condret
d3b704668f Add map overlay support to r_io_bank_write_to_submap_at ##io 2023-06-16 11:09:47 +02:00
condret
629a694755 Some cosmetics 2023-06-16 11:09:47 +02:00
condret
85cc32bc37 Add r_io_map_drain_overlay and r_io_drain_overlay ##io 2023-06-16 11:09:47 +02:00
condret
34875461d0 Some hardening for r_io_map_write_to_overlay ##io 2023-06-16 11:09:47 +02:00
condret
ff0156498c Use map overlay for reloc patching in bin_elf (experimental) 2023-06-16 11:09:47 +02:00
condret
151330b0a4 Deprecate RIORelocMap; Introduce RIOMap overlay ##io 2023-06-16 11:09:47 +02:00
pancake
8290315c53
Add wc--* command to purge all cache layers ##io 2023-06-15 20:43:17 +02:00
pancake
48aa8b2d76 Add file.anal times in ?T ##shell 2023-06-15 19:04:48 +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
condret
aff05d9eb4 Fix bug in io_treebuf plugin ##io 2023-06-13 02:41:18 +02:00
condret
bd8bc15479 Add r_io_{desc/fd}_system ##io 2023-06-08 23:15:03 +02:00
pancake
9651162ad0 Switch to the new io cache implementation, remove old code ##io 2023-06-08 17:51:42 +02:00
pancake
7db7177de0 Force RCons.setRaw just in case 2023-05-26 14:42:54 +02:00
pancake
ae57c04d90 Remove meaningless optimization leftover in io.cache ##io 2023-05-26 12:55:09 +02:00
pancake
c1ceebd878 Honor endianness without messing with capstone initialization in ppc.cs ##arch 2023-05-16 14:41:40 +02:00
pancake
c054424794 Fix and prevent null assert on RIODesc fixing zip0:// ##io 2023-05-09 18:02:28 +02:00
condret
c9e434acba Fix hypothetical arbitrary code execution vuln in r_io ##io 2023-05-08 17:26:39 +02:00
Hripsimee
16ca17be14
Fix #21705 - check r_io_plugin_add return value and freed unused allocated memory ##io 2023-05-04 18:42:31 +02:00
Ildar
6e70a4c79e Replace strtok by thread-safe r_str_tok_r 2023-04-22 20:52:23 +02:00
pancake
433917e551
Branch prediction optimizations (2/3) ##performance 2023-04-18 16:10:44 +02:00
pancake
e5a10638f7 Fix warnings on xattr io plugin on linux 2023-04-12 12:47:33 +02:00
pancake
bf965bdd85 Implement zip0:// uri handler ##io
* Open the first file inside a zip
* Add test for zip0://
2023-04-11 14:30:03 +02:00
pancake
9f90b76155 Large null:// allocation causing negative pointer issues on iobank ##io
* Crash reproducer 9e248945-73a7-4cd7-906b-1544a0a3cc36
2023-04-11 14:02:01 +02:00
Luc Tielen
80197aa2ac Support wcu command for new io cache ##io 2023-03-27 15:26:01 +02:00
Luc Tielen
22d8cbf482 Fix segmentation fault when listing cache entries before init ##io 2023-03-24 13:39:47 +01:00
Luc Tielen
92727d8008 Prevent multiple initializations of cache ##io 2023-03-23 21:03:51 +01:00
Luc Tielen
19792b9058 Fix cloning of cache ##io 2023-03-23 21:03:51 +01:00
Luc Tielen
0560990e10 Retain order of writes to cache during clone ##io 2023-03-23 21:03:51 +01:00
Luc Tielen
8e9e7e9668
Fix list bug in new cache ##io
* Change written flag to a bool in new cache ##io

We now keep track of which entries of the IO cache are already written,
just like in the previous implementation.
2023-03-23 15:03:38 +01:00
pancake
e8ac805d4d
Fix memcpy bug in the new cache ##io 2023-03-22 03:59:36 +01:00
pancake
cf004aff20
Add --with-new-io-cache configure and meson flags ##build
* That's an ABI breaking change optimizing io.cache=1
2023-03-14 15:29:53 +01:00
pancake
5ce18c6b72 Minor stylish fixes in io_cache 2023-03-13 23:57:44 +01:00
Lazula
57812e2471
Drastically reduce eUsage counter ##shell
* Get rid of some eprintf
* Use RCoreHelpMessage
* Missing comma in cmd_cmp.c and vmenus.c
* cmd.c * cmd_anal.c * cmd_cmp.c * cmd_debug.c * cmd_eval.c
* cmd_flag.c * cmd_help.c * cmd_debug.c 2 * fixes * cmd_info.c
* cmd_log.c * cmd_meta.c * cmd_mount.c * cmd_open.c * cmd_print.c
* cconfig.c * cmd.c * cmd_anal.c * cmd_search.c * cmd_seek.c
* cmd_write.c * core_a2f.c * core_sixref.c * vmenus.c * yank.c
* Please sys/lint.sh
2023-03-09 16:07:09 +01:00
pancake
2cdb1952ab Make aab even faster (39s -> 32s) ##anal 2023-03-08 18:11:49 +01:00
pancake
ba8fee5809 Fix null deref in omr with no maps ##crash 2023-03-06 14:50:41 +01:00
pancake
df34a54407 Add Pz[ie] command to import/export project in zip format ##projects 2023-03-02 22:11:23 +01:00
Zhipeng Xue
4db69500a4 Fix potential dead store 2023-02-24 16:02:13 +01:00
pancake
b2e82d6974 Check for linux/can.h at configure time ##build 2023-01-30 22:59:39 +01:00
pancake
3adef7e059
Avoid the use of sprintf() 2023-01-25 21:39:22 +01:00
pancake
c1846af09e Fix linking issues after the libs reordering 2023-01-11 00:18:13 +01:00
pancake
d195f7cdbc Remove the need for ios-include.tar.gz ##build 2023-01-11 00:18:13 +01:00
pancake
db405b93e3 Add some more checks for null derefs related to io bank relocs 2022-12-29 17:12:17 +01:00
pancake
842f809d4e Fix null deref in io.bank ##crash
* BountyID: 075b2760-66a0-4d38-b3b5-e9934956ab7f
* Reported by @coolkingcole
* Reproducer `POCbank`
2022-12-29 17:08:22 +01:00