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
pancake
acae6fc188
Fix COV 1361613
2016-08-16 03:22:14 +02:00
SkUaTeR
83266a0a4e
Add socket timeout on windows connect
2016-08-16 03:19:15 +02:00
pancake
63ef956a75
Fix #5522 - rap:// write operation wrongly processed
2016-08-16 02:42:27 +02:00
pancake
c35666ef8a
Minor rap:// fixes. More to come
2016-08-15 02:37:45 +02:00
pancake
2f339144f4
Fix some latest covs
2016-08-05 13:25:20 +02:00
Maijin
7938640445
Move all /t/ from r2 to r2r
2016-07-27 19:19:30 +02:00
Maijin
c274afe748
Fix #3286 - Use stdbool.h
2016-07-12 22:15:19 +02:00
pancake
1bb7efd76c
Some more COV checks in socket.run
2016-06-14 04:00:30 +02:00
pancake
fc058e7501
Honor escapechars in rarun2 setenv
2016-06-04 10:04:14 +02:00
Sergei Trofimovich
36db36f85e
libr/socket/run.c: fix use of uninitialized value ( #5010 )
...
Noticed by gcc:
* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
* run.c:65:5: warning: ‘p’ is used uninitialized in this function [-Wuninitialized]
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2016-05-25 22:00:52 +02:00
Sven Steinbauer
547f8bbc5c
Infer fixes Round 2 ( #4993 )
2016-05-24 22:22:15 +02:00
ls80x
cf358e6c7d
Listen patch
2016-05-24 21:47:21 +02:00
pancake
c36b299073
Fix some null deref and rarun2 chroot escape vuln
2016-05-24 12:32:45 +02:00
pancake
39947f0865
Fix #4912 - Add rarun2 option to specify timeout signal to be sent
2016-05-17 10:41:33 +02:00
pancake
bbb7b8412b
Implement experimental cmdback in rap server and client
2016-05-05 01:20:23 +02:00
pancake
84ab4792fa
Fix #4653 - =[fd][cmd] is working again
2016-05-04 20:08:38 +02:00
Damien Zammit
af0a865d9f
WIP - Totally remove host endianness dependence
...
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
pancake
aae417badf
More OSX-PPC fixes
2016-04-27 01:52:35 +02:00
Sergey Anufrienko
5f279870d0
fix r_socket_read, don't lose sent data on r_socket_close (mingw32) ( #4718 )
2016-04-26 18:57:01 +02:00
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