3051 Commits

Author SHA1 Message Date
pancake
fd8e97034b Expose r_w32_ function APIs instead of global symbols ##windows
* This fixes some long standing bugs related to linker problems
2021-08-27 03:03:34 +02:00
pancake
ba375f5702 Code cleanup, somewhat related to windows code 2021-08-27 03:03:34 +02:00
pancake
f477d972b5
Fix the wasi build 2021-08-25 16:53:08 +02:00
pancake
13f99e358a Recheck for wasi 2021-08-25 15:38:36 +02:00
pancake
bd172e5b84 Fix back the donut 2021-08-25 14:46:21 +02:00
pancake
fa46ef8d76 No threads for wasi builds 2021-08-25 14:41:18 +02:00
pancake
1c73f1b101 Portable fixes 2021-08-25 14:15:15 +02:00
pancake
395a6f2e64 Improve portability by defining util deps properly 2021-08-25 13:47:36 +02:00
pancake
891a9813bf
Move bsd linkage to util/deps.mk 2021-08-25 13:35:08 +02:00
pancake
25c1472a95
Fix sys/static.sh on iOS/macOS targets ##build 2021-08-23 13:38:52 +02:00
pancake
4e9cc0dbeb Avoid to use the getcwd(NULL) on non-gnu libcs 2021-08-23 12:34:10 +02:00
pancake
7342aa3ea0 Use #pragmaMessage instead of #warning 2021-08-18 03:23:10 +02:00
pancake
67b8af8f5b
Fix the windows debugger and make it more stable ##debug 2021-08-18 01:41:30 +02:00
pancake
b91a28d3d3 Fix various issues spotted by the VS warnings 2021-08-18 01:40:30 +02:00
pancake
18011597c4
Fix more sign bugs spotted by vs (#18990) 2021-08-17 23:12:22 +02:00
pancake
f766597b9c More fixes 2021-08-17 01:09:03 +00:00
pancake
9a2636b32b
Remove other useless and incomplete treesitter leftovers and get +400 new commands in the recursive help ##shell 2021-08-14 18:28:20 +02:00
pancake
cdda780e93
Honor < and > comparison operators in RNumMath ##shell (#18979) 2021-08-13 21:13:13 +02:00
pancake
847d1671ce
Use RNum.math in "?b" to make '?b 1<<1' work ##shell 2021-08-13 20:29:17 +02:00
Dennis Goodlett
af4aa2e867
Support FLIRT v5 file format compression ##signatures 2021-08-03 12:35:48 +02:00
pancake
3e90cc00ed Fix memleaks spotted by coverity 2021-07-29 19:53:50 +02:00
pancake
8423470ce6 Fix build for HaikuOS 2021-07-27 19:06:47 +02:00
pancake
ebd98157c9 Optimize and improve r_name_filter calls ##core 2021-07-26 01:03:34 +02:00
pancake
6fb0ba39ed
Fix #18932 - RBuffer caused a double free when resizing wholebuf instances
* Reproduced with the yank command
2021-07-25 22:01:32 +02:00
pancake
3c416c54cc
Fix meson build and proper use of cgen ##build (#18920) 2021-07-21 17:22:39 +02:00
gogo
472c7327f4 Add RSignal.toHuman() and improve RDebugReason.toString() ##debug 2021-07-17 13:00:21 +02:00
pancake
4c011bca39
Fix r_str_ansi_len() causing unaligned 'unaligned' words ##disasm (#18900) 2021-07-15 21:29:24 +02:00
pancake
b37c354565 Fully de-assert the codebase. Instead use r_return_if_fail 2021-07-13 01:23:30 +02:00
pancake
2a195eda0f
Simplify r_file_glob name and string allocation logic (#18893) 2021-07-09 10:35:54 +02:00
pancake
d963cb4cc8 MS_INVALIDATE is not supported for SerenityOS 2021-07-07 19:08:08 +02:00
pancake
28dd10e225 More build fixes for SerenityOS 2021-07-07 19:03:54 +02:00
pancake
065bfd31c0
Initial implementation of spp, snp, /bp and /pp to find next/prev preludes ##search 2021-06-28 00:31:08 +02:00
pancake
69bd801aad
ThreadCond APIs require windows 2008 or higher (#18857) 2021-06-22 02:22:32 +02:00
pancake
46db8026d1 Resolve GetProcessImageFileName at runtime 2021-06-21 23:21:55 +02:00
pancake
190d809466 Use dynamic api resolution on windows builds for better portability ##windows
* Single implementation in r_util, used across io and debug
2021-06-21 23:09:14 +02:00
pancake
57a9bfd9da Fix iOS build regression 2021-06-21 01:18:57 +02:00
pancake
7c14bac05b
Add initial support for building r2 on WASI ##build 2021-06-20 17:14:43 +02:00
pancake
d109d596f0 Popularize TERMUX_PREFIX 2021-06-18 01:16:19 +02:00
pancake
9ec6ffdf01 Remove commented line 2021-06-18 01:16:19 +02:00
pancake
1437df9ecc Change inspired in https://github.com/termux/termux-packages/blob/master/packages/radare2/libr-util-file.c.patch 2021-06-18 01:16:19 +02:00
pancake
7222285cc8 Add SHELL_PATH overrideable variable to set compile-time /bin/sh
* Inspired by https://github.com/termux/termux-packages/blob/master/packages/radare2/fix-bin-sh-path.patch
2021-06-18 01:16:19 +02:00
pancake
d894f967e8 Add r2pm -U to upgrade all the outdated packages 2021-06-15 12:09:27 +02:00
pancake
f49ba3a948
Reduce stackframe usage in exchange for the heap for portability (#18824) 2021-06-10 16:13:38 +02:00
pancake
b545c72017
Better handling of HAVE_SYSTEM, PTY, FORK, DYLINK and THREADS ##build 2021-06-10 13:52:29 +02:00
condret
53d8f3c591 Add r_list_iter_get_prev (siol eternal) ##util 2021-06-07 22:44:03 +02:00
Sergi Àlvarez i Capilla
91bab35509 Fix oob read bug in r_str_home on empty env vars 2021-06-07 20:17:21 +02:00
pancake
f6b35eec47
Use r_sys_getpid() for source portability whetever getpid() is called (#18809) 2021-06-07 17:32:37 +02:00
Sergi Àlvarez i Capilla
247b509edc Improve monotonic clock checks, fixing build on old linuxes 2021-06-05 11:35:31 +02:00
Jules Maselbas
c3d5286ec3
Add clean target in libr/util/d/Makefile ##build (#18802)
.sdb and .c files are generated and must be cleared.
Add missing target into .PHONY
2021-06-05 11:01:39 +02:00
condret
ddb8114999 Fix bug in r_list_insert that breaks r_list_sort ##util 2021-06-03 22:26:48 +02:00