Commit Graph

68 Commits

Author SHA1 Message Date
pancake
79c401bb6d Add the acr --enable-threadsafety flag and the same for meson ##build
* Initial support for protecting critical sections
2022-09-23 22:07:49 +02:00
pancake
939fce3888 Add lint for C++ include support ##build 2022-08-22 19:01:34 +02:00
pancake
740c5fef9f Fixes for the R2_FORTUENS system and home paths ##shell 2022-06-22 00:56:29 +02:00
condret
8390a2f72f Implement loading fortunes from home dir 2022-06-17 01:07:00 +02:00
pancake
3548e2e8a4 Final mingw fixes 2021-10-19 12:52:00 +02:00
pancake
3c416c54cc
Fix meson build and proper use of cgen ##build (#18920) 2021-07-21 17:22:39 +02:00
pancake
2e417ee938
Initial support for capstone-less compilations ##build 2021-06-21 17:48:00 +02:00
pancake
b545c72017
Better handling of HAVE_SYSTEM, PTY, FORK, DYLINK and THREADS ##build 2021-06-10 13:52:29 +02:00
pancake
c3953d64d6
Use gperf on anal/d and improve build and checks ##anal
* Add --without-gperf configure flag
* Update sdb to support gperf.foreach and faster ls.sort()
* Support cc and types sdb gperfs
* add r_str_newvf
* Honor HAVE_GPERF in more places
* Add CI job to build and test cmds with gperf
2021-05-20 00:22:20 +02:00
pancake
532c58ca9e Apply Termux patch for r_magic.h
https://github.com/termux/termux-packages/blob/master/packages/radare2/libr-include-r_magic.h.patch
2021-03-02 01:15:12 +01:00
Damien Zammit
2a0d8fbe59
Install r2sdb, detect R2_HOME_SDB_FCNSIGN for r2extras custom CC ##build
* cc: Add autodetection for R2_HOME_SDB_FCNSIGN new location of custom calling conventions
* Fix r_file_exists not expanding tilde path
* r2sdb: Install executable
2020-09-24 12:26:53 +02:00
pancake
27a625065a
Fix #16781 - Add --without-dylink configure flag to disable libdl features ##build (#17173)
* Add `--without-dylink` configure flag to disable "libdl" features
* Add "WANT_DYLINK" option in Meson buildsystem

Co-authored-by: pancake <pancake@nopcode.org>
2020-07-02 11:58:12 +08:00
Riccardo Schirone
06ab29b93c
Compile new shell parser by default (#16660)
* Move radare2-shell-parser/tree-sitter into shlr
* compile new shell parser by default, available with cfg.newshell variable
* Add README for radare2-shell-parser
* Improve CI
* Add gitattributes file
2020-04-21 13:44:30 +02:00
Riccardo Schirone
46e0a8d169
Do not compile radare2-shell-parser by default (#15769)
Last release (4.1.0) did compile it by default, but the build requires
internet access to download the repositories. For now, since the feature
is anyway very experimental, we disable it at compile time so that
distributions can just compile their packages without internet access.
In the future we may want to use submodules or augment the release
tarball to include the tree-sitter and radare2-shell-parser archives.
2020-01-07 13:37:04 +01:00
dok
34e4bd7291 Use sigaction instead of signal ##core 2019-11-06 12:41:36 +01:00
Paul I
ef9ff8f130 Change r_sys_get_src_dir_w32() behaviour (#15102) 2019-09-23 00:15:12 +02:00
Anton Kochkov
bb67b54f74
Remove CYGWIN & MINGW remnants (#13377) 2019-03-15 12:55:08 +08:00
David CARLIER
cb42aef929 Support NetBSD explicit_memset ##port 2018-12-03 00:32:39 +01:00
pancake
bd4bfbc6f3 Add clock_nanosleep configure check 2018-11-28 17:08:09 +01:00
Florian Märkl
0c0fee7b48 ptrace-wrap (#11723)
* Add ptrace-wrap
* Add r_io_ptrace* and r_debug_ptrace()
* Use wrappers instead of calling ptrace and fork directly
* Sleep while waiting in linux_debug
* Add ptrace-wrap Makefile
* Link io against ptrace-wrap with acr
* Define ptrace usages in r_userconf.h
* Conditional ptrace-wrap in acr
* Fix HAVE_PTRACE
* Some fixes for Solaris
* Fixes for FreeBSD
* More fixes for Solaris
* Style Fix
2018-10-12 12:20:18 +02:00
Florian Märkl
c05c85aa9f Reimplement TCP Server with libuv and add configure/meson flags (#11403) 2018-09-17 12:07:00 +02:00
Riccardo Schirone
ab4dbd509f r_assert: create functions to handle preconditions (#11286) 2018-09-16 23:24:57 +02:00
Paul I
0ba26fb3d6 Add R2_GLOBAL_RC (#11258) 2018-08-26 14:09:32 +02:00
Riccardo Schirone
1b129f4862 Make xxhash dependency optional in acr and meson (#10901) 2018-08-06 15:18:50 +02:00
Paul I
3e68187c36 Fix pathes for meson (#10536) 2018-06-30 10:08:22 +02:00
David CARLIER
44cb24f1bf Using safe memory clearance for sensitive data. (#10337)
* Native one if possible or using memory barrier.
* Usage in few places at the moment.
* Attempt to fix OSx linkage issue, Meson linking to utils anyway
2018-06-13 16:38:08 +02:00
David CARLIER
b907cab694 acr4random env var propagation fix (#10332) 2018-06-13 01:01:46 +02:00
pancake
b63e146300 Fix ft help message and install flag tags file 2018-05-27 15:55:33 +02:00
Paul I
5180e0220f Add R2_PLUGINS, R2_EXTRAS, R2_BINDINGS macros (#9994) 2018-05-02 15:58:14 +02:00
Paul I
cc90ec6be5 [WIP] Move hardcoded paths to r_userconf.h (#9959)
* Move hardcoded paths to r_userconf.h

* Add R2_HOME_* macros

* Some cleanup
2018-04-28 10:02:55 +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
xarkes
4a58713c56 Fix prefix for msvc 2017-10-22 22:17:12 +02:00
pancake
a48c3b7d1e Disable jemalloc for old mac-ppc builds, so much crappy code 2017-08-28 20:49:33 +02:00
xarkes
57f2c6da27 Fixing meson build (#8178) 2017-08-10 17:04:13 +02:00
alvarofe
7264603877 Revert "Fix meson build"
This reverts commit 96f1e821a2.
2017-08-10 13:15:30 +02:00
xarkes
96f1e821a2 Fix meson build 2017-08-10 10:18:12 +02:00
xarkes
f0fc5cbc25 Fixed meson r_version creation + reorder (#7909) 2017-07-14 13:13:18 +02:00
Maijin
266eee75ae Fix #6560 Unify Windows/Win32 define 2017-02-26 16:51:03 +01:00
Anton Kochkov
e9c2d22da9 Fix windows detection in headers (#6557) 2017-01-25 11:30:16 +01:00
pancake
58cc6558ce Release 0.10.3 - codename: Bleeding Tooth 2016-05-25 01:32:30 +02:00
Damien Zammit
632dccc217 Remove LIL_ENDIAN macro and configure option
TODO: Remove other endian cruft from:
- hashing algs
- judy
- squashfs
- grub
- tms320

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-06 10:21:55 +02:00
pancake
b331ba86f7 Fix problem with C++11 2015-12-01 13:10:54 +01:00
pancake
9092338930 Fix @WWWROOT@ issue 2015-10-31 11:48:23 +01:00
xambroz
d448260816 build cleanup focused on possibility to control the lib directories with the build parameters
needed mainly for RedHat/Fedora builds
2015-10-27 03:26:45 +01:00
pancake
882a0ee164 Add --without-fork and r_sys_fork() 2015-04-11 05:00:05 +02:00
pancake
098d0ec1de Initial implementation of --without-gpl 2015-02-07 01:50:25 +01:00
pancake
1306b87112 Fix #2050 - Show commit counter in r2 -v 2015-02-07 00:14:55 +01:00
pancake
2397c956c9 Use R2_ as unique header guard prefix 2014-03-27 16:34:17 +01:00
pancake
13ea5e467d More Jamroot files and move vm out 2013-12-31 15:57:52 +01:00
pancake
a1123b6a69 Added default color paletes for rcons
Added 'ecf':load colorschemes
Added VE visual menu to configure colors
r_cons_rgb_parse() needs a rewrite
2013-07-17 03:51:53 +02:00