398 Commits

Author SHA1 Message Date
xarkes
410ca09803
Added dynamic linking build for Appveyor (#8948)
* Revert "Enable GDB for Windows (#8877)"
Because it does not work while linking dynamically on windows
This reverts commit 12b9d8c3b47f470e11030f97544c864ae54d7e98.
* Added dynamic linking build for Appveyor
* Try cleaning Windows linkage (meson)
2017-12-03 21:26:13 +01:00
Anton Kochkov
a5afb090ec Fix compilation for non-GNU compilers 2017-11-27 19:36:35 +08:00
pancake
a1e24700e3 Fixes for winedbg:// and debug.io 2017-11-04 15:37:09 +01:00
Jose Diaz
527ff71d41 Convert char to windows unicode 2017-11-03 10:27:18 +08:00
Dumitru Stama
1cb8c71f5e Closing unused pipe ends to properly deliver broken pipe signals (#8694) 2017-10-16 10:55:48 +02:00
Anton Kochkov
bd4ad8b0a4 Fix Windows build 2017-09-27 10:18:48 +08:00
pancake
97911069b3 Initial port of io.winedbg using the new r_socket_spawn() api 2017-09-27 03:12:00 +02:00
pancake
9b5eda95e6 Support spawning processes with spaces in path 2017-09-26 11:44:43 +02:00
pancake
106fedeef4 Add the 'null' debugger plugin 2017-09-23 02:34:37 +02:00
pancake
8ce09268e1 Avoid warning in modern macs for DYLD_PRELOAD via rarun2 2017-09-23 02:31:12 +02:00
pancake
a48c3b7d1e Disable jemalloc for old mac-ppc builds, so much crappy code 2017-08-28 20:49:33 +02:00
Giovanni
7b40f7aed1 16 more bugs fixed. most are mem leaks. (#8307)
* 1379261/1379262 Resource leak

* 1379258/1379249 Resource leak

* 1379020 Resource leak

* 1351565/1351564 Logically dead code, 1379019 Uninitialized scalar variable, 1379014 Operands do not affect result

* 1379017 Resource leak

* 1379016 Resource leak

* 1379015 Resource leak

* 1377414 Resource leak

* 1376336 Resource leak

* 1375800 Resource leak

* 1373505/1373509/1373504 Resource leak

* 1373496 Resource leak
2017-08-24 17:20:39 +02:00
xarkes
cc622a6271 Added runlib to rarun2 - fix #8045 (#8066) 2017-07-31 15:03:11 +02:00
pancake
d9cf73469d Add support for 27bit middle-endian registers in r_reg 2017-07-27 22:57:18 +02:00
pancake
31a21ac1e7 Add more error checking in handle_redirection_proc 2017-07-07 16:58:52 +02:00
pancake
8c3035acc2 Fix ios-sdk builds 2017-07-04 19:16:24 +02:00
SkUaTeR
c31d81da26 support for static build (#7822)
* support for static build
* improved sharard/static build
2017-06-28 22:54:40 +02:00
NighterMan
42836cb353 Fix for #7819: Properly trim \n on rarun2 envfile
Newline characters are not properly removed when reading env vars from envfile
of a rarun2 profile. Although tempted to to use `r_str_trim_tail`, manual
trimming is used instead in order to disrupt env vars as little as possible
for funky cases such as when including shellcodes, etc...
2017-06-26 08:35:43 +02:00
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