718 Commits

Author SHA1 Message Date
pancake
fe7d2a5c85
Fixes and improvements for the Debian packaging scripts ##build (#17825) 2020-10-26 09:10:30 +01: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 2d160f250918609fa8f399a33f003cedaa85d888 (#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 74fb0efbe3c590020514aaa79c9932c5671ea022.
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