Polshakov Dmitry
249532bf53
Add support non-numeric signal numbers in RRunProfile ( #6558 )
...
* Add support non-numeric signal numbers in RRunProfile
* Add signal util module
* Remove old `signal_resolve` implementation
2017-02-02 14:34:44 +01:00
Polshakov Dmitry
8a807ccf2f
Fix #3951 - change external program output redirecting ( #6550 )
2017-01-22 09:58:51 +01:00
pancake
39e6db46cc
emscripten target doesnt have pty
2017-01-19 23:38:01 +01:00
pancake
e9b7a07eb3
More fixes for emscripten
2017-01-19 23:34:52 +01:00
Sevan Janiyan
0e4b401635
Upstream patches from pkgsrc/devel/radare2 ( #6491 )
...
* Upstream patches from pkgsrc/devel/radare2
Switch to using egrep instead of non-portable "grep -e".
Add support for SunOS.
* Add support for SunOS.
* FIONREAD is defined in sys/filio.h on SunOS.
* Ask find(1) to look for files with desired extension rather than searching for
all files & fishing out the desired extension in the pipeline, with grep.
2017-01-18 00:47:46 +01:00
pancake
e28ada79f8
Fix r2pipe.c client spawn mode
2017-01-17 22:10:24 +01:00
pancake
a2cb6b6647
Fix a bunch of pedantic warnings and drop exits in base85
...
* Define eprint() when no formatting is necessary
* Remove exit() from ascii85 when allocation fails
* Update capstone
* Return null instead of exit if malloc fails in r_str_word_get_first
* Update sdb with a bunch of pedantic warnings fixed
* Drop windows-style newlines from judy64na.c
2017-01-15 23:36:19 +01:00
eroen
ecd8cf26c2
Disable deprecated initialization for openssl 1.1.0 ( #6423 )
...
Openssl 1.1.0 handles this initialization internally. Leaving the calls in
place causes "undefined reference" errors if openssl was built with
`--api=1.1.0`.
X-Gentoo-Bug: 604576
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604576
2017-01-03 23:45:07 +01:00
Sebastian Reichel
2f9447550e
Small fixes ( #6398 )
...
* debug_native: include linux_coredump.h for linux-arm
* run: login_tty needs utmp.h on linux
2016-12-29 20:30:05 +01:00
SkUaTeR
0468e268b4
Fixed rap in win64 ( #6361 )
2016-12-22 00:08:11 +01:00
Anton Kochkov
ec5920cf29
Fix some coverities
2016-12-21 23:36:14 +03:00
Asutosh Palai
36a251d9fb
[rarun2] fixed debugging with pty ( #6347 )
2016-12-19 22:34:00 +01:00
Álvaro Felipe Melchor
224b3c3319
fix some coverities
2016-12-18 23:41:55 +01:00
pancake
87ab9a9402
Fix #6326 - rarun2 accepts backticks as an alias for !
2016-12-18 01:01:16 +01:00
Asutosh Palai
79a609630f
[rarun2] Added pseudo tty for listen and connect ( #6328 )
...
* [rarun2] added pseudo tty for listen and connect
* Fixed the socket connect error message
* [rarun2] moved pseudo tty under pty option
2016-12-15 15:06:06 +01:00
pancake
39f01ecf98
Add ptr, val, refptr .. in pdrj
2016-11-16 22:59:01 +01:00
pancake
4e3837ad8f
Fix last COVs
2016-11-10 11:44:00 +01:00
pancake
d78220d023
Fix sandbox scape in chroot
2016-11-08 14:52:25 +01:00
pancake
fb060ff508
Do not system() to set randomize_va_space
2016-11-04 11:26:47 +01:00
pancake
35d9eef757
Fix 20 more covs (divBy0, dbl3, negidx, bufovr, ..)
2016-10-20 15:39:36 +02:00
pancake
18f0a3a1f3
Initial import of io.tcp + rsocket cleanup
2016-10-18 14:26:20 +02:00
pancake
64cd03dab5
Fix rap:// with no filename and reindent related stuff
2016-10-09 23:56:52 +02:00
pancake
dc00fa9048
Fix #5721 - r2pipe.c spawn blocking and not working
2016-09-27 02:17:26 +02:00
Sven Steinbauer
2996538700
Fix #5633 - Change x == NULL
to correct syntax
2016-09-19 14:44:47 +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
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