Commit graph

751 commits

Author SHA1 Message Date
Alexis Ehret
34f06489d3 Add short flags sys/clang-format.py 2021-02-08 21:44:10 +01:00
Alexis Ehret
49e1874b09 Add flag diff sys/clang-format.py 2021-02-08 21:44:10 +01:00
wargio
a7490e65a7 added -f/--file to clang format for simpler run. 2021-02-08 01:53:32 +01:00
Alexis Ehret
1e7604f325 Add check option to sys/clang-format.py 2021-02-04 07:19:19 -01:00
Riccardo Schirone
f8291ee3c1
Switch to meson subprojects and wraps
* Remove tree-sitter/sdb git submodules and move them to meson subprojects/wraps
* Use meson subprojects/wraps to get capstone
* Remove capstone patches as they are already applied to rizinorg/capstone repository
* Use meson from master branch to create the release tarball, as all released versions so far have a bug that prevent wrap-git to be patched correctly when creating the tarball with meson dist
* Add check_meson_subproject script to do a quick check if the currently downloaded subprojects are updated
* Add subprojects_check meson option to skip the check_meson_subproject script
* Update documentation to remove references to git submodules.
2021-02-03 14:31:11 +01:00
Riccardo Schirone
4198091991 Remove configure.acr and use meson project version 2021-01-28 11:57:28 +01:00
Riccardo Schirone
cee8d470c2 Remove Makefiles and many related scripts 2021-01-28 11:57:28 +01:00
Riccardo Schirone
018c0eaa53
Change how version is reported in -v command flag 2021-01-27 16:42:47 +08:00
Khairul Azhar Kasmiran
687885b6af
Remove sys/clang-format-diff.py (#442)
* Remove sys/clang-format-diff.py

* Update DEVELOPERS.md
2021-01-24 12:27:18 +08:00
Khairul Azhar Kasmiran
8146b73e95
Merge pull request #422 from rizinorg/shorter-clang-format-diff-invocation
clang-format-diff.py invocation: Change master to dev and remove unneeded my-branch
2021-01-22 18:23:24 +08:00
Maijin
48c153ef7f Remove obsolete indent scripts 2021-01-21 16:39:57 +01:00
Anton Kochkov
5830f1cd7e Add clang-format script 2021-01-21 22:05:44 +08:00
Riccardo Schirone
6f41360178
MacOS improvements (#322)
* Ad-hoc sign rizin binary with debugger entitlements on MacOS
* Use re.rizin.rizin and move OSX pkg files in dist/osx
* Use dist/osx/build_osx_package.sh to create OSX pkg with meson
* Mention how to create OSX pkg in doc/PACKAGERS.md
* Remove doc/macos.md
2021-01-11 14:45:38 +01:00
Paul I
b80757382c
Delete create_rz.bat (#331) 2021-01-07 17:15:21 +08:00
Anton Kochkov
e9d91af698 More Rizin renames 2021-01-05 05:21:41 -06:00
Anton Kochkov
f0e5db286c More Rizin renames 2021-01-05 00:45:10 -06:00
Maijin
2886a6f835
Remove unused callback.c (#261)
* Remove unused callback.c
* Remove missing entry from indent-whitelist.sh
* Remove callback.o

Co-authored-by: Maijin <maijin21@gmail.com>
Co-authored-by: Giovanni <561184+wargio@users.noreply.github.com>
2020-12-28 13:19:22 +08:00
Maijin
f61569b8d8
Remove purge.sh (#181)
* Remove purge.sh

* Update Makefile
2020-12-14 16:14:58 +01:00
Anton Kochkov
041d73dce3
Change the "anal" abbreviation to "Analysis" in Code (#117) 2020-12-06 19:25:27 +01:00
Giovanni
35a9ef94c9
Code and comments cleanup (#108) 2020-12-04 18:11:51 +08:00
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