215 Commits

Author SHA1 Message Date
Lukas Dresel
cb60759219 Removed unnecessary r_lib.h dependency in r_util.h 2016-04-04 21:26:20 +02:00
Jeffrey Crowell
8afbe7527f remove double lock 2016-03-31 14:21:23 -04:00
pancake
9d54015029 Handle referer in http server for CSFR protection 2016-03-28 23:38:45 +02:00
pancake
f6454cc5f2 Add rarun2 execve to avoid posix_spawn 2016-03-27 14:17:39 +02:00
Mario Ballano
47d9888f93 Various RAP client/server bugs, endianness and remove RAP_RMT_SYSTEM 2016-02-23 15:00:59 +01:00
Ido Yariv
ac14493234 Set TCP_NODELAY on client TCP sockets
This can substantially improve performance on debugger client protocols.
2016-02-01 12:23:52 +01:00
pancake
289aece1f9 More code cleanup for gdm debugger plugin 2016-01-27 01:56:24 +01:00
pancake
3d3b5c5211 Fix one byte overflow in r2pipe.c 2016-01-25 17:20:45 +01:00
pancake
d51f4fb346 Fix w32 build 2016-01-20 04:29:45 +01:00
pancake
9051fed9e9 Fix #3951 - rarun2 with stdin and support for strings 2016-01-13 22:15:13 +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
François Revol
797a2efc81 C89
(duplicate ; is treated as an empty statement)
2015-12-07 21:48:44 +01:00
pancake
d42ecbf95b Some random code cleanup and fixes 2015-11-23 02:36:26 +01:00
Anton Kochkov
5857a30b88 Fix sockets and pipes on Cygwin 2015-11-03 22:30:59 +03:00
Jeffrey Crowell
20d1886a5a fix a bunch of memleaks 2015-11-01 00:47:16 -04:00
Riccardo Schirone
7323e0ef05 socket/run: split r_run_start to make debugging easier
During the environment configuration we may fork and spawn other
processes that we don't really care about. Splitting r_run_start, allows
to call ptrace only after this initial work is done.
2015-10-29 08:21:24 +01:00
jvoisin
420a5c41e0 Fix some minor compilation warnings 2015-10-15 12:36:34 +02:00
pancake
9f62667abc No forkpty for android 2015-10-10 12:20:34 +02:00
gk
a39acdd25e Need -lutil for forkpty on *BSD, Android 2015-10-08 12:56:11 +02:00
pancake
be0538a6a8 Fix some windows build warnings 2015-10-08 11:14:10 +02:00
Kamil Rytarowski
e3d0326331 NetBSD declares forkpty(3) in <util.h> 2015-10-03 13:19:45 +02:00
pancake
bb6acf10de Drop usleep in socket.write 2015-10-03 13:19:09 +02:00
Álvaro Felipe Melchor
3423bedc1d Fix covs 2015-10-01 18:36:46 +02:00
Álvaro Felipe Melchor
ac965a56c0 Fix #3359 2015-10-01 11:01:55 +02:00
Riccardo Schirone
5e457877f1 socket/Makefile: link util library also in android 2015-09-28 12:47:00 +02:00
Riccardo Schirone
8f8e7d52fd socket/run: add support for redirection to another process 2015-09-27 17:45:28 +02:00
pancake
4c53b919db Fix #3308 - support string and files in rarun2 input 2015-09-17 10:46:11 +02:00
pancake
b86bf19c85 Fix #3051 - Honor CFLAGS everywhere and fix some windows/android warnings 2015-09-14 20:43:11 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
Riccardo Schirone
2e048b3272 socket/run: implement fork option 2015-09-13 10:46:09 +02:00
Kevin Grandemange
71c4245df7 add clearenv in rarun2 and update documentation
fix unsetenv wrong description
add some example for environment variable
fix r2 use of rarun2 example

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2015-08-29 19:22:15 +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
pancake
701dd4a80e Add io.aslr and set it to false by default (used only for OSX atm) 2015-08-16 17:45:23 +02:00
XVilka
44ab1ceaa0 Final fixes for Mingw-W64 support (except SDB) 2015-07-23 21:05:56 +03:00
pancake
390a0e61bc Fix some coverities 2015-07-15 15:08:56 +02:00
David Kreuter
691294f2bc refactoring of r_socket_connect (Should resolve CID 1134571 Logically dead code) 2015-07-15 00:39:08 +02:00
pancake
9d3601d1a0 Fix w32 warning 2015-07-13 15:59:36 +02:00
pancake
3eaef17d59 Fix COVs in r2web:// 2015-07-09 23:30:39 +02:00
pancake
9bbaa981b6 Initial import of r2web:// io plugin 2015-06-06 03:02:35 +02:00
pancake
96af02492a Add doc/rap 2015-06-06 01:49:27 +02:00
skuater
d7f6b4f6c6 fix issue #2680 2015-06-04 03:42:33 +02:00
jvoisin
0c144f16bc Even more coverifixes 2015-06-02 22:59:30 +02:00
pancake
721ad8de26 Add r2preweb rarun2 rule to start the webserver in a thread in r2preload 2015-06-02 03:54:26 +02:00