280 Commits

Author SHA1 Message Date
Adrian Pistol
7c6a74cdad WIP Serial fix for io_gdb. (#7808)
At least it allows the serial rsocket backend to be called, but I can't quite connect to my BMP, so I am not 100% sure this works. Something else might have broken something.
2017-06-24 10:18:31 -05:00
xarkes
46deac0dde Fixing appveyor build (#7735) 2017-06-14 13:45:48 +02:00
pancake
f91cd186b7 Fix static build 2017-06-14 10:55:30 +02:00
pancake
752a1d6e27 Add missing socket/serial.c 2017-06-12 23:02:32 +02:00
pancake
6c37a9aa10 Add serial support in RSocket for gdb:///dev/ttyUSB0:9600 2017-06-12 22:25:58 +02:00
pancake
1ae19361ea Remove debug printf in r2pipe.c 2017-06-09 11:26:53 +02:00
SkUaTeR
dc7914644e Meson improvements 2017-05-31 13:38:47 +02:00
pancake
1e89a9a5d6 Fix #7510 - debugging in mac hides the output 2017-05-19 00:39:33 +02:00
SkUaTeR
9a1337512a meson.build fixes to build with MSVC 2017-05-14 23:06:00 +02:00
SkUaTeR
beb80cfc16 Fixes for MSVC 2017-05-09 23:53:20 +02:00
xarkes
926f024909 Improved MSVC support (WIP) 2017-05-09 14:25:57 +02:00
pancake
3e0c7bc650 Support meson build for Linux (Requires meson 0.40) 2017-05-02 14:18:36 +02:00
pancake
60f9667654 Remove support for bjam build system
- Delete all Jamroot files
2017-05-02 05:48:40 +02:00
pancake
fa671b9a16 Initial support for the Meson build system
- Integrated with current ACR
- Fix some stale fails got removed
2017-05-02 05:05:36 +02:00
alvarofe
884fb911ae Fix redirection to std[io|out|err] in rarun for mac 2017-04-28 00:18:45 +02:00
pancake
02398e1e17 Implement r2 -X to specify custom rarun2 directives 2017-04-26 19:35:37 +02:00
0x0dada
7327642241 Fix incorrect modes various .c files. (#7287) 2017-04-16 10:10:04 +02:00
pancake
08d824824e Fix build 2017-04-15 13:29:27 +02:00
SkUaTeR
ae82588808 Fix rarun2 profile parsing on windows 2017-04-12 17:56:19 +02:00
pancake
45889c7307 Implement Pn+, and fix bugs (thx clang-analyzer)
- Update SDB (use memmove)
- Fix garbage read in capstone x86 and lm32
- Add UT16/32/64_ALIGN macro for proper (ut16*) allocations
- Add Pn+ command
2017-04-10 00:49:02 +02:00
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