Commit Graph

66 Commits

Author SHA1 Message Date
Khairul Azhar Kasmiran d9057505dc
Set RPATH/RUNPATH on r2 libs too if local (#17639) 2020-09-15 09:16:14 +02:00
Liumeo 694c3d5fa2
Fix some GCC 9.3.0 warnings (#16554) 2020-04-12 22:44:08 +02:00
Khairul Azhar Kasmiran 18ef593b2e Set rpath if non-Windows Meson shared ##build (#15051) 2019-09-22 10:49:54 +02:00
pancake dce703d88b Fix static linking 2019-04-02 16:02:31 +02:00
radare 82416b0212
Create libr_main and make all binaries use it ##core
* Cleanup the use of getopt with our wrapper
2019-03-08 14:22:59 +01:00
Maijin 8f94d413cd Standardize version using blob_version ##refactor 2019-01-12 22:22:43 +01:00
Maijin c45e3d4123
Change eprintf to printf in rarun2
Change eprintf to printf in rarun2
2019-01-12 12:29:39 +01:00
Riccardo Schirone 7572f315ea
meson improvements (#10617)
* meson.build: fix meson build when not on git
* meson.build: make capstone a dependency
* meson.build: make r_magic library optional
* meson.build: capstone include is already in the dependency
* meson.build: use dependencies instead of manual linking + includes
* meson.build: add travis
* flag/meson.build: include sdb dependency
* travis-script: print messages based on install system
* io/meson.build: add sdb as dependency
* syscall/meson.build: missing sdb dependency
* {parse,config}/meson.build: add sdb dependency
* travis.yml: pass INSTALL_SYSTEM var to docker
* {bin/shlr}/meson.build: add sdb_dep to r2java and bin
* install meson and ninja-build in r2-travis docker
* travis.yml: allow meson build to fail for now
* anal/meson.build: add sdb and java dependencies
* egg/meson.build: add sdb dependency
* travis.yml: meson build env should be also in the includes list
* core/meson.build: add java dep
* meson.build: use dependencies also to create main r2 dependency
* rasm2/meson.build: replace link_with with dependencies
* rasm2/meson.build: add sdb as dependency
* meson.builds: convert link_with to dependencies and fix tabs
* travis-script: change meson install prefix and set PKG_CONFIG_PATH
* travis-script: add lib64 to LD_LIBRARY_PATH
2018-07-09 16:58:38 +02:00
Paul I bb4f61580e Cleanup meson files (#9424) 2018-02-20 09:33:19 +01:00
SkUaTeR dc7914644e Meson improvements 2017-05-31 13:38:47 +02:00
SkUaTeR 9a1337512a meson.build fixes to build with MSVC 2017-05-14 23:06:00 +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
pancake b4395185f1 Do not use system in rarun2 2017-03-14 12:04:50 +01:00
pancake 391772c96d Release 1.2.1 - Trust me 2017-02-05 04:30:44 +01:00
pancake b32df6e49d Fix many dd subcommands and enhance rarun2 -t 2017-02-03 10:21:18 +01:00
pancake 57d05fb4a1 Add rarun2 -t to wait for a tty connection 2017-02-03 01:56:41 +01:00
Maijin 7cecadb74a Removing useless files/doc 2016-07-28 07:59:10 +02:00
pancake 2e06158c71 Handle -- in rarun2 2016-05-17 10:36:33 +02:00
Matthieu Tardy 1a573e1056 Cleanup binr/*/*.c
r2agent:
- Fix the usage to match other r2 binaries.
- Remove trailing whitespace.
- Remove addressed TODO.
- Add a default case to display usage and exit if -p option was used
  without argument.
- Return 1 instead of 0 if too much arguments are provided.
- Small coding style fixes.

radiff2:
- Small coding style fixes.

rafind2:
- Add a default case to display usage and exit if an option have a missing
  argument or getopt does not recognize an option character.
- Small coding style fixes.

ragg2:
- Small coding style fixes.

rahash2:
- Remove useless optarg check.
- Missing arguments and unknown options now display usage and exit.
- Small coding style fixes.

rarun2:
- Small coding style fixes.

rasm2:
- Small coding style fixes.
- Missing arguments and unknown options now display usage and exit.

rax2:
- Small coding style fixes.

radare2:
- Missing arguments and unknown options now display usage and exit.
- Small coding style fixes.
2016-03-05 19:52:42 +01:00
pancake e368cb1513 More static build fixes 2015-11-01 11:43:05 +01: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
pancake 721ad8de26 Add r2preweb rarun2 rule to start the webserver in a thread in r2preload 2015-06-02 03:54:26 +02:00
pancake 8110fefc9f Implement aek, aef, Add scr.responsive, esil.status and esil.romem config vars
- Features scr.responsive
- Fix a bug in rarun2 when using a profile
- Update sdb to fix another null deref
2014-09-11 04:18:23 +02:00
pancake 667ebad3eb Fix build 2014-07-09 03:12:39 +02:00
pancake 8b74f1ffcf Merge Rarun2 into RSocket and use it from dbg.profile in Core 2014-07-09 02:24:31 +02:00
pancake 565b0db97a Fix build on Linux 2014-07-08 22:47:50 +02:00
pancake 9efb41594b Initial WIP support for ASLR var in rarun2 profiles and io/debug 2014-07-08 13:40:33 +02:00
pancake 65a5d2b5d5 Fixes rarun2 for HaikuOS 2014-06-26 16:22:08 +02:00
pancake d9ec210d5e Fix rarun2 build on w32 2014-06-04 23:05:34 +02:00
pancake 6612425639 Add 'core', 'maxproc', 'maxfd', 'maxstack' options for rarun2 2014-06-04 03:38:52 +02:00
pancake 2233312335 Add sleep directive in rarun2 2014-05-31 21:01:42 +02:00
jvoisin 7abb1b0e44 Fix CID 1134971 2014-05-21 16:20:23 +02:00
Anton Kochkov 179cc5c32d Fix CID 1134974, 1134975 2014-05-19 06:11:09 +04:00
jvoisin a88b87fe49 Fix CID 1134974 2014-05-10 22:46:22 +02:00
jvoisin 2a04c2544d Fix typo introduced by previous commit 2014-05-09 13:34:06 +02:00
jvoisin 8b888da2ce Fix some vulns in rarun2
Check return values ffs!
2014-05-09 13:29:11 +02:00
Anton Kochkov 5fc6eb37a4 Fix CID 1134975 2014-05-02 14:52:33 +04:00
Anton Kochkov e1822b6b15 Revert "Fix CID #1134974" - fix segfault
This reverts commit 75f4d83afe.
That was causing segfault on exit
2014-04-24 02:49:20 +04:00
Anton Kochkov 75f4d83afe Fix CID #1134974 2014-04-24 01:45:32 +04:00
Anton Kochkov 932d143ddd Fix CID #1134975 2014-04-24 01:39:51 +04:00
pancake d4ec9cf5a6 Handle libpath in rarun2 2014-03-03 17:55:52 +01:00
pancake ffaa61c084 Fix install of libr2 2014-03-02 00:54:05 +01:00
pancake 9ec418ec37 Fix rap:// and enhace RConsMouseWheel support 2014-03-02 00:31:35 +01:00
pancake fcc9489c4f Fix some more warnings 2014-02-25 12:18:29 +01:00
pancake 4a5165f232 Add missing Jamroot files in binr/ 2014-01-03 01:03:39 +01:00
pancake 7caa013414 Handle system= rule in rarun2 2013-12-02 00:56:23 +01:00
pancake 88278928f5 Handle '@' and ':' and '"' strings in rarun2 args 2013-10-06 18:44:26 +02:00
pancake 117a462424 Fix rarun2 preload for latest OSX. Add il help and fix R_EGG constants 2013-10-06 03:54:19 +02:00
pancake 6315842d5b Add 'unsetenv' and 'envfile' directives in rarun2 2013-09-17 17:27:52 +02:00