108 Commits

Author SHA1 Message Date
David CARLIER
9b3075b137 Support DragonflyBSD build and backtrace ##port
including backtrace support. the manpage mentions FreeBSD 10 release
and DragonflyBSD has different versioning, and radare not into
their port tree yet anyway, it might safe enough.
2018-11-07 00:31:00 +01:00
Neven Sajko
4a722e80d8 Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
pancake
7fb3381f80 Fix last covs 2018-06-11 11:48:22 +02:00
David CARLIER
fc40910ebf Freebsd build fix (#10213) 2018-05-28 18:47:49 +02:00
pancake
a5477b2de0 Fix some unused function when building without support for pty 2018-05-15 12:11:34 +02:00
Fangrui Song
ba024c938c Fix -Wexpansion-to-defined and -Wunused-variable (#9906) 2018-04-17 15:58:12 +02:00
Riccardo Schirone
e86ece87a4 acr build: check if ADDR_NO_RANDOMIZE is defined in the system (#9898) 2018-04-16 10:29:29 +02:00
radare
a30a11e2ef
More booleans (yes, no, on, off) and case-insensitive 2018-04-14 10:46:08 +02:00
Riccardo Schirone
0896c8b59c socket/run: ASLR_NO_RANDOMIZE is an enum, not a macro (#9875) 2018-04-13 15:04:07 +02:00
pancake
e4c0746cb8 Remove a bunch of conflicting plugins for the static build
- Will be re-enabled when fixed the visibility of common symbols
2018-02-19 13:17:21 +01:00
pancake
7eb75ffe77 Fix last covs 2018-02-17 19:53:30 +01:00
Giuseppe
8e8f54fab4 Fix #9374 - stdin=!program not working (#9383) 2018-02-14 15:08:51 -06:00
pancake
1d7aafcdc7 Fix help message for 'rarun2 aslr=no' in mac 2018-01-28 22:56:46 +01:00
pancake
0f1909830c Force no-debug and no-fork when building for the iphonesimulator 2017-12-31 12:01:25 +01:00
pancake
0b1e8eaecc Fix almost all warnings from the msvc build 2017-12-19 00:18:39 +01:00
pancake
a1e24700e3 Fixes for winedbg:// and debug.io 2017-11-04 15:37:09 +01: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
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
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
pancake
1e89a9a5d6 Fix #7510 - debugging in mac hides the output 2017-05-19 00:39:33 +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
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
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
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
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
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
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
pancake
2f339144f4 Fix some latest covs 2016-08-05 13:25:20 +02:00