Commit Graph

44 Commits

Author SHA1 Message Date
pancake
aa652d8075
Fix warnings on Socket.r2pipe.child for Windows (#19079) 2021-09-13 17:29:42 +02:00
pancake
39e5f95cde r2pipe fixes for windows, fix some vs warnings 2021-09-13 00:45:17 +02:00
pancake
3a14d204ea
Do not show return code message in r2pipe api if it succeds (#17854)
Co-authored-by: pancake <pancake@nopcode.org>
2020-10-27 14:25:37 +08:00
Liumeo
4a6b69b2d2
Fix ARM64 test_r2pipe_404 (#17796) 2020-10-19 12:47:31 +08:00
pancake
6ead7f0eea
Avoid close(-1) in r2pipe (#17617)
* Do not close(-1)
* Remove commented code

Co-authored-by: pancake <pancake@nopcode.org>
2020-09-10 11:56:58 +08:00
pancake
2b38b2f03c
Add more null checks and fix a lock when no r2 in path ##r2pipe (#16999)
Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Anton Kochkov <xvilka@gmail.com>
2020-07-24 16:24:19 +08:00
pancake
160fc95e66
Use (void) instead of () in function signatures (#17026) ##refactoring
* Use (void) instead of () in function signatures
* Add test to avoid further contributions to commit the same mistake
2020-06-14 16:08:32 +02:00
Anton Kochkov
5aa127fe22 Fix build 2019-10-09 16:58:42 +08:00
pancake
6b6ea317f9 Handle free for R2pipe.open_dl() 2019-10-09 10:16:16 +02:00
pancake
596cbf2903 Implement r2pipe_open_dl() to use dlopen/dlsym ##r2pie 2019-10-09 00:42:24 +02:00
Anton Kochkov
bb67b54f74
Remove CYGWIN & MINGW remnants (#13377) 2019-03-15 12:55:08 +08:00
GustavoLCR
ef0f71abbb Implement sys_cmd_str_full_w32() ##windows 2019-02-02 15:25:06 -06:00
radare
32e494a696
Improve rap:// code, r2p_ is now r2pipe_ ##io (#12699) 2019-01-09 02:47:35 +01:00
David CARLIER
c504572cfa Further cleanup-code/less "optimistic" assumptions. (#12298) 2018-11-23 23:18:40 +01:00
dav1901
8b83d03c99 Minor code cleanups free/R_FREE (#12145) 2018-11-13 23:41:28 +01:00
radare
2ba07cfebd
API cleanup and support RCorebind in RSocket.R2Pipe ##refactor (#11875) 2018-10-20 11:57:54 +02:00
Neven Sajko
4a722e80d8 Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
Neven Sajko
d8784641ee Add parentheses in macros where needed for safety (#11290) 2018-08-30 13:16:50 +02:00
Jose Diaz
527ff71d41 Convert char to windows unicode 2017-11-03 10:27:18 +08:00
Dumitru Stama
1cb8c71f5e Closing unused pipe ends to properly deliver broken pipe signals (#8694) 2017-10-16 10:55:48 +02:00
pancake
1ae19361ea Remove debug printf in r2pipe.c 2017-06-09 11:26:53 +02:00
SkUaTeR
beb80cfc16 Fixes for MSVC 2017-05-09 23:53:20 +02:00
pancake
e28ada79f8 Fix r2pipe.c client spawn mode 2017-01-17 22:10:24 +01:00
pancake
dc00fa9048 Fix #5721 - r2pipe.c spawn blocking and not working 2016-09-27 02:17:26 +02:00
pancake
945d6690f9 Fix latest coverities 2016-09-01 12:39:32 +02:00
pancake
7cf0e1b633 Fix r2pipe:// (initial \x00 issue and cmd chop messages properly) 2016-08-27 02:32:43 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
pancake
3d3b5c5211 Fix one byte overflow in r2pipe.c 2016-01-25 17:20:45 +01:00
pancake
e007cf8c71 Fix last coverities 2016-01-07 14:08:25 +01:00
pancake
5132a499c2 Fix many coverities 2015-12-31 17:10:02 +01:00
pancake
b728b48123 Native tvOS/WatchOS support, non-fat libr.a and mach0 identification for them 2015-12-28 20:40:18 +01:00
pancake
7ee1ff6816 Fix spawn and >1024 buffer issue in r2pipe.c 2015-12-16 12:00:31 +01:00
pancake
4180c8e439 Fix some null derefs in r2pipe C api 2015-12-15 15:34:38 +01:00
Anton Kochkov
5857a30b88 Fix sockets and pipes on Cygwin 2015-11-03 22:30:59 +03:00
pancake
be0538a6a8 Fix some windows build warnings 2015-10-08 11:14:10 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
jvoisin
8256955b59 Fix some gcc warnings 2015-08-24 21:29:12 +02:00
pancake
4dff5cca5e Some some COVs related to control flow and memory leaks 2015-08-24 01:58:36 +02:00
pancake
5feb28e0c0 Initial implementation of the #!cpipe rlang 2015-08-19 23:51:06 +02:00
pancake
91836a164b Add r2p_cmd and r2p_cmdf APIs in RSocket 2015-08-19 16:56:17 +02:00
jvoisin
0c144f16bc Even more coverifixes 2015-06-02 22:59:30 +02:00
Álvaro Felipe Melchor
69d005e452 CID 1298135 2015-05-22 12:46:14 +02:00
pancake
345ecce576 Fix some covs for io-r2pipe 2015-05-15 12:04:22 +02:00
pancake
967067ea9c Refactor r2pipe API into r_socket and fix w32 build 2015-05-14 02:50:57 +02:00