pancake
6f0dd19157
Rename tcp:// to tcp-slurp:// and improve help message ##io ( #18735 )
2021-05-23 21:11:39 +02:00
pancake
f10d767282
Fix assert in 'r2 -qc 'omp rwx' -
2021-05-20 02:25:23 +02:00
pancake
f47f58d8f4
Fix last covs ( #18674 )
2021-05-11 14:49:48 +02:00
pancake
57a9926b1f
Remove globals in cons/grep and random cleanup ( #18671 )
2021-05-10 11:56:08 +02:00
pancake
a8238d3e37
Add io.cache.nodup to not write the same bytes in the cache ##io
2021-04-24 22:40:51 +02:00
pancake
0f5a7ce45f
Fix non-null terminated bug in io.winedbg
2021-04-21 13:22:37 +02:00
pancake
f98bdc775f
Add dbg.wrap for changing want_ptrace at runtime ##debug ( #18607 )
2021-04-21 12:07:01 +02:00
pancake
b5e262a6b9
Linux debugger improvements
2021-04-19 17:28:42 -07:00
pancake
71dc8b715c
Move shlr/ptrace-wrap into libr/io, simplify build ( #18587 )
2021-04-16 19:19:56 +02:00
pancake
476efd4d2f
Improve error reporting in winkd://
2021-04-10 23:43:24 +02:00
pancake
2ab0934784
Dont build the QNX IO plugin if built without GPL support
2021-03-19 17:41:01 +01:00
pancake
990d6c9855
Use snprintf instead of sprintf in io.debug for linux
2021-03-18 03:28:15 +01:00
pancake
73f220f22d
Update doc/license for more clarifications ##build
...
* Orphaned shlr/arm/omap3430 script moved to extras
* Unified json format for r2 -Lj
* Update QNX io plugin to GPL until clarified with the author
2021-03-17 12:56:38 +01:00
condret
116997df03
Close #18257 / Remove RIODescData ##io
2021-03-16 01:22:16 +01:00
pancake
7ff2673dd9
Random uninitialized variable uses fixups ( #18453 )
2021-03-15 02:23:39 +01:00
pancake
285ec16b4e
io/p/io_zip: fix NULL deref when opening unknown zip ( #18455 )
...
Co-authored-by: Riccardo Schirone <sirmy15@gmail.com>
2021-03-14 22:45:17 +01:00
pancake
80f861a71d
Implement custom bit size cyclic memory layout and wrap flags in ##io ( #18417 )
...
* Repeated maps dont have executable permissions
* This is used on s390, ARMv4 (and lower) and some v850
* Added some basic tests
2021-03-14 16:55:57 +01:00
condret
1fae2164cb
Rename r_io_map_get_for_fd to r_io_map_get_by_fd ##io
2021-03-12 20:52:45 +01:00
condret
4f67157ff5
Rename r_io_map_resolve to r_io_map_get ##io
2021-03-12 17:56:46 +01:00
condret
eb48818342
Rename r_io_map_get to r_io_map_get_at ##io
2021-03-12 17:56:46 +01:00
pancake
1599371f75
Implement slurp:// uri handler plugin ##io ( #18424 )
...
* Same as oom but without the extra step
2021-03-08 12:08:39 +01:00
pancake
f07bedfacd
Use proper types in some fields in IO to fix some potential issues
2021-03-04 18:32:59 +01:00
pancake
4d0aa7e9b7
Fix infinite loop in r_io_map_next_available ##io
2021-02-26 22:13:36 +01:00
pancake
a350c2cd3b
Add help message for winkd://? and improve desc ##io
2021-02-14 03:19:24 +01:00
Alexis Ehret
5b1b0c0da6
Fix dead increments
2021-01-25 00:34:58 +01:00
pancake
7c5f1a88a1
Fix warning
2021-01-13 01:31:59 +01:00
eagleoflqj
2718385ede
Reuse code in memory-based io plugins ##refactor
2021-01-13 01:22:42 +01:00
Dennis Goodlett
528e6598a1
Add arall:// and liball:// open_many plugins #io ( #18196 )
2021-01-10 17:34:38 +01:00
Dennis Goodlett
f695d2a24f
Fix and refactor the ar:// plugin ##io ( #18180 )
...
Co-authored-by: Dennis Goodlett <dennis@hurricanelabs.com>
2021-01-07 10:23:08 +01:00
Liumeo
06b735441d
Fix memleak in test_anal_block & test_io ( #18153 )
2021-01-02 09:37:23 +01:00
pancake
d3157e2ed3
Fix 32 critical COVs (UAF, UB and OOB) ( #18077 )
2020-12-21 01:10:22 +01:00
pancake
aaa930ab26
Improve and formalize r_name_check() along all the base ##core ( #18020 )
2020-12-16 14:49:50 +01:00
Lazula
243bc871c3
Multiple refactors in io and util ##io ##util ##refactor
...
* Add r_io_map macros throughout code base
* Update string NULL-checking with renamed functions r_str_get() and r_str_getf()
* Change string NULL-checks throughout code base to use functions
* Add r_str_get_fail() to specify a custom string to return if NULL-check fails
* Mark JSON to be updated with PJ with "TODO PJ"
* Incidental style updates such as missing spaces
2020-12-13 05:09:13 +01:00
pancake
7df28e1fb2
Implement the comma command to manage user-defined tables ##util ( #17702 )
...
* Import export in CSV and R2 formats
* Export in JSON, ascii-art, columns, r2, ..
* For example: aaa;aflt>$a;,.$a,/size/sum
2020-12-09 03:39:49 +01:00
pancake
4f5434bc89
Minor cleanup and fix uninitialized PJ usage warning in io_cache.c ( #18007 )
2020-12-08 16:55:11 +01:00
GustavoLCR
203878e60e
Optimize io.cache ##io ( #17952 )
...
* Add RSkyline ##util
* Add `r_vector_len()`
* Optimize io.cache ##io
* Use RSkyline instead of RList
* Add cache skyline for faster reads
* Use PJ API in `wcj`
* Add test and fix
2020-11-23 12:36:32 +08:00
Anton Kochkov
5da1b3b076
Fix some warnings
2020-11-16 18:56:21 +08:00
Liumeo
26919b37f9
Fix ARM64 format warnings ( #17914 )
2020-11-11 10:12:16 +08:00
yossizap
ab38a9eb55
Fix not being able to return from debug when using WinDbg(DbgEng) ##debug
2020-11-10 12:22:09 +08:00
Anton Kochkov
aaccc09828
Variadic argument fixes
2020-11-10 11:11:45 +08:00
condret
965b0fa4e0
Implement first/last/next/prev fd APIs ##io
2020-11-01 11:33:31 +01:00
pancake
d08ea37ae9
Code cleanup in R_IO
2020-11-01 11:33:31 +01:00
GustavoLCR
0ca7d6c3c1
Add RIO on write event ##io
2020-11-01 02:12:14 +01:00
Roman Hargrave
5aff070b0f
Make use of dbg.args on *nix and macos ( #17846 )
...
As with the windbg implementation of fork_and_ptraceme, this checks for
the presence io->args and appends them to the child command before
invoking it.
The primary purpose of this fix is to make argument-passing possible
when using Cutter to debug programs, as Cutter sets dbg.args in order to
pass user-provided arguments to the child task. Presently, this does not
do anything on *nix platforms, greatly limiting Cutter's usefulness
insofar as debugging.
2020-10-26 13:56:59 +08:00
GustavoLCR
623c4819d6
Fix some warnings in WinDBG plugin ( #17784 )
2020-10-14 14:51:11 +08:00
Riccardo Schirone
1e58692071
Fix incorrect uses of printf-like functions ##refactor ( #17648 )
2020-10-13 16:26:15 +02:00
Riccardo Schirone
741d22ed61
Use -Werror when building in CI ( #17781 )
2020-10-13 12:42:57 +02:00
Florian Märkl
8fea09e21d
Use Ht instead of SDB for pcache ##io ( #17716 )
2020-09-27 12:22:18 +02:00
Florian Märkl
3f81a40844
Kill RIODesc.obsz ##io ( #17715 )
2020-09-27 10:01:23 +02:00
pancake
62c2128b6f
Better use of the R_SOCKET_PROTO_DEFAULT and add _NONE ( #17644 )
...
* Better use of the R_SOCKET_PROTO_DEFAULT and add _NONE ##http
* Fix regressions in: r2 -C and =+ ##r2pipe
Introduced in 04edfa82c1
* Implement sleep command ##shell
* Add tests for the webserver and remoting
* Implement daemon directive in rarun2, fix http test ##rarun2
* Fix socket timeout on Windows (patch by @GustavoLCR) ##socket
* Missing http.root is not a reason to not start the webserver ##http
* Fix r2 -C, =!=0, replace curl with r2 in the webserver test ##http
* Honor anal.in/from/to in aae, optimize db/formats/mach0/thumb ##anal
* Bug fixes and performance improvements
Co-authored-by: pancake <pancake@nopcode.org>
2020-09-25 19:51:23 +08:00