Commit Graph

197 Commits

Author SHA1 Message Date
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
Á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
pancake
9f5fe47783 Fix #2563 - doublefree regression in core/rtr.c:1078 2015-05-12 23:47:26 +02:00
pancake
3ba25229e4 Fix #2433 - undefined ADDR_NO_RANDOMIZE 2015-04-25 04:24:20 +02:00
pancake
a092622b93 Fix Haiku build 2015-04-24 01:16:57 +02:00
Anton Kochkov
7e79b198b1 Fix some more Coverity issues
Fix CID 1171365
Fix CID 1211169
Fix CID 1230038
Fix CID 1295063, 1295062, 1295061
Fix CID 1295070
Fix CID 1295068
Fix CID 12950067
2015-04-19 04:53:08 +03:00
Anton Kochkov
1479aeca8e Fix a few Coverity issues
Fix CID 1205204
Fix CID 1171365
Fix CID 1135001
Fix CID 1134921
Fix CID 1134848
Fix CID 1134840
Fix CID 1134824
Fix CID 1267983
Fix CID 1230038
2015-04-19 03:15:29 +03:00
pancake
f9d6ff2f2b Fix some travis warnings 2015-04-12 18:00:40 +02:00
Alvaro Muñoz
a4b9684b67 make cors configurable with http.cors setting 2015-04-11 20:51:54 +02:00
Alvaro Muñoz
dda1163e89 Add CORS support to http server 2015-04-11 20:51:54 +02:00
pancake
882a0ee164 Add --without-fork and r_sys_fork() 2015-04-11 05:00:05 +02:00
pancake
87162dc8bf Add wta support for appending dump. 2015-04-03 04:11:26 +02:00
Elias Boutaleb
8f8595b106 Fix #2207 add nice(2) support for rarun2 on UNIX 2015-03-27 11:14:18 +01:00
pancake
2ebab53fc5 Add 5 seconds read timeout to RSocket.http_get() 2015-03-03 00:45:13 +01:00
jvoisin
838c467724 Coverifix once again 2015-02-19 15:04:58 +01:00
pancake
97e9c95b4b Add "pidfile" rule for rarun2 2015-02-18 01:10:46 +01:00
jvoisin
b8cdd7c0f7 Even more coverifix 2015-02-11 21:51:13 +01:00