Riccardo Schirone
7912502149
Fix compilation when python is run through meson runpython ( #111 )
...
Multiline scripts had issues on my windows system while building
from `cmd`. I removed some "pre_sdb" scripts used to read symlinks
because there are only two and it's probably easier to just avoid
symlinks for better portability.
Also moved a bunch of inlined script to separate files in sys/.
2020-12-01 09:17:24 +01:00
Anton Kochkov
b5524025c2
Remove sys/meson.py
2020-11-10 12:24:41 +08:00
Anton Kochkov
e1d83487a6
More renames of r2 to rizin
2020-11-10 12:24:41 +08:00
Anton Kochkov
afc45bec46
Rename r2 to rizin
2020-11-06 12:21:54 +08:00
Anton Kochkov
539f60a1a8
Rename radare to rizin ( #68 )
...
* Rename radare to rizin
- Rename REvent to RzEvent
- Rename RBreakpoint to RzBreakpoint
- Rename RRune to RzRune
* Remove unnecessary files
2020-11-04 18:56:27 +08:00
Riccardo Schirone
22239a1bfc
Delete some unneded documentation ( #59 )
...
* Adjust doxygen documentation on rz_cmd
2020-10-30 16:06:38 +01:00
Hex
afb8b7bd1f
Add cfg.json.* encoding options ( #17681 ) ##json
2020-10-30 10:44:38 +01:00
pancake
c46727c762
Fixes and improvements for the Debian packaging scripts ##build ( #17825 )
2020-10-30 10:44:38 +01:00
Anton Kochkov
1ef15faaee
Rename R2DEPS to RZ_DEPS
2020-10-23 15:19:22 +08:00
Anton Kochkov
7416ad9718
Remove outdated and unused files ( #35 )
...
* Remove outdated and unused files
* fix
2020-10-20 13:31:39 +02:00
Riccardo Schirone
502e91aff7
Rename R_ and R2_ to RZ_ ( #8 )
...
* Rename R2_ -> RZ_
* Rename R_ -> RZ_
* Rename R2R_ -> RZ_TEST_
* Rename R2R defines and types to RZ_TEST/RzTest
* Keep R_ for REIL registers
2020-10-02 16:09:13 +02:00
Anton Kochkov
881058693d
Remove GRUB and librz_fs plugins ( #9 )
2020-10-02 21:02:00 +08:00
Riccardo Schirone
338e6fe172
Other renames in man and small places
...
Remove rz link, just keep rizin
Remove r2 link from acr
Fix http test on macos
2020-10-01 17:53:29 +02:00
Riccardo Schirone
721609a17b
Rename to rizin ( #2 )
2020-10-01 16:13:03 +02:00
GustavoLCR
489538e02b
Add DbgEng based debug backend for Windows ##debug ( #17491 )
...
* Rename `windbg` plugin to `winkd` ##debug
* Add DbgEng based debug backend for Windows ##debug
2020-08-24 19:01:10 +08:00
Christopher Hewitt
5f0be49fd1
meson install: Add DESTDIR to sys/create_r2.sh to allow specifying custom install directory ( #17490 )
...
* meson install: Add DESTDIR to allow specifying custom install directory
* Drop DESTDIR support on Windows
Co-authored-by: Khairul Azhar Kasmiran <kazarmy@gmail.com>
2020-08-19 19:58:58 +08:00
Khairul Azhar Kasmiran
fb1190d248
meson install: Create shortcut/symlink to radare2 ( #17463 )
2020-08-18 18:22:17 +08:00
Anton Kochkov
e3504eb0d9
Some DragonFlyBSD build fixes ##port ( #17470 )
2020-08-17 12:43:10 +08:00
pancake
91f7e91177
Fix sys/sdk.sh after the sdb refactoring ( #17452 )
...
Co-authored-by: pancake <pancake@nopcode.org>
2020-08-14 13:19:10 +08:00
pancake
8efd721dba
Fix Cydia/iOS packaging and compilation issues ##build ( #17342 )
2020-08-14 13:17:32 +08:00
pancake
8b33d764a7
Fix #3929 - Enable LTO in sys/static.sh ##build ( #17141 )
...
* Fix #3929 - Enable LTO in sys/static.sh
* Update Ubuntu to 20.04 for static build
* Use `gcc-ar` when needed
* Do not use "c" option for ${AR}
* Use `$$AR` instead of `$AR`
* Aim to fix `-dynamiclib` issue outside darwin
* Run tests for static LTO build
Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Anton Kochkov <xvilka@gmail.com>
2020-08-13 13:55:39 +08:00
yossizap
a54f9363e4
Use meson install instead of manual installation in meson.py ( #17424 )
...
* Use meson install instead of manual installation in meson.py
* Update AppVeyor and docs to use the new meson.py flag format
* Meson.py should use --prefix for install paths and --install is a boolean for Windows and Unix now.
* Removed windows specific restrictions from meson.py
* Ensure that the prefix path is an absolute path
* Fix install options syntax
* Added an optional rootdir path for the meson setup command
Co-authored-by: yossizap <yossizap@users.noreply.github.com>
2020-08-11 12:33:15 +08:00
pancake
2c48b60f1d
Fix sys/static.sh after 2d160f2509 ( #17336 ) ##build
2020-07-24 11:55:53 +02:00
Riccardo Schirone
e3b67f124c
Release pipeline with GitHub Actions ( #17192 )
...
* Make sure meson can build with `system` = `android`.
* Add support for binr/blob in meson build
* Create release GitHub Actions workflow
* Add publish-docker-image job
* Also create Ubuntu packages and ship static windows zip
2020-07-09 12:07:45 +08:00
Riccardo Schirone
d6c9bd4542
Add support for binr/blob and fix android build ##meson ##build ( #17150 )
...
* Make sure meson can build with `system` = `android`.
* Add support for binr/blob in meson build
* Add also r_util as dependency
* Create sdb_version.py to get the SDBVER value from config.mk
* Set unknown sdb version if something fails
2020-07-05 10:53:37 +08:00
pancake
13e1636d97
Implement RLang.spp for templated scripting ##lang ( #17067 )
...
Co-authored-by: pancake <pancake@nopcode.org>
2020-07-01 14:14:18 +02:00
Anton Kochkov
ffe743ef39
Fix #4056 - rename DEPS to R2DEPS ##build ( #17020 )
...
* Rename DEPS to R2DEPS
* Cleanup of sys/build.sh
2020-06-12 10:49:28 +08:00
karliss
18649ad666
Do the prefix check after prefix argument has been processed. ( #16950 )
2020-05-29 11:04:15 +08:00
FXTi
1ffdedcd07
Add Python bytecode plugins ( #16771 )
2020-05-13 10:37:09 +08:00
Khairul Azhar Kasmiran
dbd33d0efe
Windows sys/meson.py: Add r2 shell script ( #16753 )
2020-05-02 18:54:01 +02:00
pancake
fc65e0f6a8
Fix the Debian package build, add missing deps ( #16745 )
2020-04-30 12:00:58 +08:00
pancake
498292a70d
Fix the static build by dynamically resolving libutil symbols ##build
2020-04-20 14:25:28 +02:00
Florian Märkl
0b7948a643
Fix #15598 - Remove cherrypull.sh ( #16601 )
2020-04-15 13:40:49 +02:00
pancake
2460e004e7
Update the release-notes script for highlights and details folding ##build
2020-04-14 17:49:23 +02:00
Alexis Ehret
ef07476e38
Fix various lgtm warning ( #16497 )
...
* Wrong type of arguments to formatting function root/shlr/mpc/mpc.c
* Overflow in uncontrolled allocation size ./libr/socket/run.c
* Multiplication result converted to larger type ./libr/core/cmd_print.c
* Multiplication result converted to larger type ./libr/bin/p/bin_dyldcache.c
* Multiplication result converted to larger type ./libr/core/linux_heap_glibc.c
* Multiplication result converted to larger type ./libr/core/visual.c
* Comparison of narrow type with wide type in loop condition ./libr/core/p/core_java.c
* Fix various warning -Wall ./libr/core/p/core_java.c
* Multiplication result converted to larger type ./libr/bin/format/mach0/mach0.c
* Multiplication result converted to larger type ./libr/util/print.c
* Multiplication result converted to larger type ./libr/asm/asm.c
* Fix small warning python
* Fix type error and declaration inside loop
* Reset mpc
* replace size_t
* Fix space missing, type and format
2020-04-12 20:45:24 +02:00
pancake
00a30c943a
Publish the emscripten builds ( #16541 )
2020-04-12 20:14:19 +08:00
pancake
fdb75d3bf9
Fix memory leak in /ad/ using r_regex api wrongly ##search ( #16537 )
...
* /ad/ in /bin/ls ate 9 extra MB that was never freed
* This is about 400 bytes for each instruction disassembled
2020-04-12 10:53:41 +02:00
Anton Kochkov
a686a8dcff
Fix #16532 - remove outdated JS build files ( #16536 )
2020-04-12 06:20:20 +02:00
Paul I
aac88e2db3
Make msbuild quieter ( #16482 ) ##build
2020-04-08 20:32:46 +02:00
radare
5a1df188f6
Build fixes to make emscripten builds happy ( #16406 ) ##build
2020-04-02 17:52:03 +02:00
radare
bed2cb1f40
Fix #9240 - sys/install.sh uses always /usr/local + rpath now ##build
2020-03-20 15:27:20 +01:00
pancake
b76831c050
Skip continuous tag in release-notes.sh
2020-03-04 01:26:51 +01:00
radare
40016f7727
Build debian package in CI ##build ( #15997 )
2020-02-20 00:37:30 +01:00
radare
45eb0052b1
Upgrade to acr-1.8.1 to get semver support ##core ( #15816 )
...
Move all version defines into r_version.h and handle it from meson too
- R2_VERSION_MAJOR
- R2_VERSION_MINOR
- R2_VERSION_PATCH
- R2_VERSION_NUMBER
2020-01-17 12:18:05 +01:00
pancake
5a48a40178
Second fix attempt for Alpine/musl builds
2020-01-10 03:32:13 +01:00
pancake
52d9baf988
Aim to fix the alpine build
2020-01-10 03:06:46 +01:00
radare
2b15e7421e
Many improvements in the V testsuite ( #15722 ) ##test
...
* Kill some more tests using <<RUN
* Improve r2r.v quite a lot up to 0.2
* Delete stale temporal files in the unit test
* Use executable path instead of dbpath and more cleanup
* Move manpage and move old bins into the attic
2019-12-29 19:26:15 +01:00
Khairul Azhar Kasmiran
ec8e8c97e7
Add sys/r2env.sh: Set up env for r2 in non-standard loc ( #15696 )
2019-12-28 12:48:22 +01:00
pancake
73bc4da69b
Revert "Strip bins and libs for the Debian package"
...
This reverts commit 74fb0efbe3 .
2019-12-20 21:10:54 +09:00
Khairul Azhar Kasmiran
61a2d421dd
sys/meson.py: Use == 'vs2017' instead
2019-12-17 10:42:22 -06:00
Khairul Azhar Kasmiran
3f5117aa2e
Fix #15653 : Silence MSVC XP deprecation warning
2019-12-17 07:37:22 -06:00
yossizap
9d1421a188
Added rebuild rules for windbg ##debug
2019-11-25 18:04:16 +01:00
Giovanni
08ae6fc891
Fix #15485 - Improve argument parsing in sys/{install,build} ( #15486 ) ##build
2019-11-20 16:40:02 +01:00
Khairul Azhar Kasmiran
1472f849e4
Rename "asan" to "sanitize" ( #15412 ) ##build
2019-11-05 00:33:35 +01:00
Sergi Àlvarez i Capilla
74fb0efbe3
Strip bins and libs for the Debian package
2019-11-04 17:53:29 +01:00
Khairul Azhar Kasmiran
16fa374db1
sys/meson.py: --asan accepts sanitizer list ( #15405 )
2019-11-04 00:38:20 -06:00
Khairul Azhar Kasmiran
3d2b2311d8
Sync default sanitizer list of sys/asan.sh and sys/meson.py ( #15397 )
...
* Sync default sanitizer list of sys/asan.sh and sys/meson.py
* Keep signed-integer-overflow
2019-11-02 21:47:17 +08:00
Khairul Azhar Kasmiran
dc65828446
sys/meson.py: Use -fsanitize=... instead of -lasan when linking ( #15390 )
2019-10-30 18:58:11 +01:00
TheGoddessInari
d42ed33f41
Make the generated r2.bat use bat path_relative syntax instead of hardcoding. ( #15383 )
2019-10-29 22:13:38 +08:00
Khairul Azhar Kasmiran
6190995828
sys/asan.sh: Use -fsanitize=... instead of -lasan when linking ( #15375 ) ##build
2019-10-28 16:09:11 +01:00
pancake
f2d76b16cd
Switch to travis-ci.com
2019-10-10 20:04:02 +02:00
Maijin
9227815fdb
Change radare->radareorg links
2019-10-07 10:48:31 +02:00
Anton Kochkov
e41345edc8
Add MSVC 2019 for AppVeyor ##build ( #13345 )
...
* Try MSVC 2019 for AppVeyor ##build
* Fix meson building scripts
* Remove XP build from AppVeyor VS2019
* Install mingw
* Fix clang-cl build
2019-09-30 12:31:40 +08:00
Khairul Azhar Kasmiran
18ef593b2e
Set rpath if non-Windows Meson shared ##build ( #15051 )
2019-09-22 10:49:54 +02:00
Gordon M
ca1eddb22d
Debian package fixes ( #15081 ) ##build
...
* Use xz instead of gzip
2019-09-20 12:25:26 +02:00
kmartin36
5c480054a2
Don't run ldconfig when installing into /usr ( #15049 ) ##build
...
It seems that commit 7e5f1f5851 attempted to prevent /etc/ld.so.conf.d/radare.conf from being added and ldconfig from being necessary when the user installs into /usr instead of /usr/local. This patch achieves that behaviour.
2019-09-16 09:40:20 +02:00
Paul I
a08cb1bdcf
Add webui option to sys/meson.py ( #15037 )
2019-09-14 23:02:52 +02:00
pancake
c13e6e5013
Fixes for sys/osx-pkg
2019-09-05 18:28:41 +02:00
pancake
72df7056f5
Use LTO for the Cydia build
2019-08-22 20:22:11 +02:00
pancake
5b87871294
Shrink the Cydia package from 512mb to only 64 ##build
2019-08-22 19:26:03 +02:00
pancake
30a5d7ed2d
Fixes for the cydia static build of r2, needed for iOS12
2019-08-22 18:56:57 +02:00
radare
c93c094c40
Fix android-static ##build
2019-08-01 04:39:40 +02:00
pancake
f88c30dce7
Delete prefix/ and fix static builds (missing libmpc.a) ##build
2019-07-26 05:30:21 +02:00
pancake
718698d450
Fixes for the android compilations ##build
2019-07-18 11:46:06 +02:00
pancake
1034510dae
Add $onlydebug in sys/ios-cydia.sh ##build
2019-07-18 02:32:24 +02:00
pancake
1aebd0a26d
Fix single-step in the iOS-arm64 native debugger ##debug
2019-07-18 02:30:45 +02:00
pancake
9f4f802cec
Fix build --without-gpl
2019-07-10 19:45:34 +02:00
GustavoLCR
0557ca2a3e
Also put r2.bat under \bin on Windows install
2019-06-21 20:25:46 +02:00
GustavoLCR
ae00b18d0b
Dynamically find radare2 install dir on Windows ##windows
2019-06-20 18:10:01 +02:00
Anton Kochkov
20e19d6023
More spelling fixes in the code
2019-06-20 13:36:02 +08:00
Anton Kochkov
1da215dcac
Add codespell script
2019-06-18 14:51:30 +08:00
pancake
e29ba99a07
Add sys/build-shlib.sh and fix static builds ##build
2019-05-28 23:15:22 +02:00
pancake
092173bf90
Improve configure argument handling in sys/install.sh ##build
...
* Handle --help, --with-capstone5 and --install (no symlinks)
2019-05-14 17:54:11 +02:00
pancake
a8a22b9383
Add support for build for android-x86_64 ##build
2019-05-14 15:02:30 +02:00
radare
bf5e302881
Add anal.ex option, cleanup and improve the Java support ##anal
...
* Current java implementation of the analysis is not working well
* RBin.Java doesnt updates the vsizes because it seems to break things. wip for another PR
* Added anal.ex option to use extensions or not
2019-05-08 18:26:11 +02:00
Khairul Azhar Kasmiran
b3503ee207
sys/meson.py: Create r2.bat as alias to radare2.exe ##windows
2019-05-06 18:23:36 +02:00
radare
8f17f58fc3
Do not use system-wide capstone when building with sys/install.sh ##build
2019-04-16 16:55:15 +02:00
pancake
0ba7bdb29e
Build for Cydia without libuv
2019-04-02 17:12:28 +02:00
Anton Kochkov
b858e7e10e
Fix #13430 - Kill MinGW remnants ##deprecate
2019-03-31 12:03:07 +02:00
radare
7ffa72aaed
Fix #13552 - Crashes in tcc parser ( #13566 )
2019-03-31 00:32:14 +01:00
radare
e04f31a313
Completely kill the msvc/ directory and the unix-specific includes workarounds
2019-03-19 17:34:02 +01:00
pancake
3af32f95e4
Implement vdo to use aho from visual ##visual
2019-02-14 04:19:12 +01:00
pancake
8cf29fdb95
Purge capstone when doing the iOS build
2019-02-11 15:59:23 +01:00
pancake
158f8fdb8f
Fix the iOS simulator build
2019-02-11 15:49:26 +01:00
pancake
f33db3e48c
Some more fixes for the iOS build in sys/ios-sdk.sh
2019-02-07 17:24:40 +01:00
pancake
6a09544506
More ios-sdk build fixes
2019-01-30 09:14:24 -06:00
pancake
5535b6f380
iOS10 is required for the arm32 builds
2019-01-29 22:10:07 -06:00
pancake
0314eed9fe
Add LC_VERSION_MIN for the libr2.dylib iOS build
2019-01-29 21:44:47 -06:00
pancake
709ffb60b6
Fixes for the android build and related warnings
2019-01-21 12:10:33 +01:00
pancake
fc68124f4d
Do not statically link binaries by default in sys/static.sh ##build
...
* Use STATIC_BINS=1 env var to change this behaviour
2018-12-30 13:38:50 +01:00