Khairul Azhar Kasmiran
2b94b2a909
sys/asan.sh: -u for user.sh ( #11619 )
2018-09-22 10:50:34 +02:00
radare
7579c57bdc
Add signed-integer-overflow for ASAN ( #11604 )
2018-09-21 12:03:15 +02:00
radare
81acc0dc97
Add undefined behaviour tests in the default sys/asan.sh ( #11555 )
2018-09-17 14:44:55 +02:00
radare
cc8a2b84be
Introduce new R_* macros to define direction, null, defaults, etc in function signatures ( #11546 )
...
- Helps to identify some bugs at compile time
- Useful for git grep and understand the usage of the functions
- Improve readability
- Fix memleak introduced in previous anal/var pr
- Help to find unnecessary null checks and start to use r_assert
- Deprecate R_TRUFAE R_TRUE R_FALSE and R_ERROR
- Add r2api script to ease system-wide git grep for r2 devs
- Use more R_OWN and r_return_val_if_fail
2018-09-17 12:27:11 +02:00
Miles Whittaker
a32ba803f4
Scripted dynamic building of alpine docker image ( #11515 )
2018-09-16 23:05:03 +02:00
pancake
eb4387c4d2
Delete sys/install-su.sh (implemented in install.sh with USE_SU=1)
2018-09-16 00:08:46 +02:00
pancake
d1e5b9a566
Remove sys/gtk*
2018-09-16 00:03:18 +02:00
pancake
75b9f699d8
Remove rasign2 from the list of statically built binaries
2018-09-14 12:15:15 +02:00
pancake
d389cd4468
Fix sys/build.sh on Mac
2018-09-14 01:42:50 +02:00
rdjondo
d4de63a5b2
Make compilation on Raspberry Pi more user friendly ( #11379 )
2018-09-13 19:08:20 +02:00
Paul I
4ed384b230
sys/meson.py: install libr/include/msvc on Windows ( #11507 )
2018-09-13 08:34:14 +02:00
Pavel Krčma
318012c2dc
A quick fix for Android native build ( #11449 )
2018-09-08 17:54:20 +02:00
kij
5c848d1e8a
Added support for single file in shellcheck.sh ( #11360 )
2018-09-03 02:50:27 +02:00
kij
04e52405b4
Add gmake check, just like install.sh ( #11358 )
2018-09-02 22:06:48 +02:00
Khairul Azhar Kasmiran
3a6acc3eb7
sys/user.sh: use dirname($0) instead of dirname($PWD/$0) ( #11333 )
2018-09-02 01:40:25 +02:00
pancake
ad02255f58
Fix shellcheck.sh
2018-08-31 17:58:37 +02:00
kij
f3d2edea56
WIP: Remove hardcoded list of scripts ( #11228 )
...
* remove hardcoded list of scripts
disabled shellcheck xml format
* removed GNU find dependency
* removed unused code
removed file caching
2018-08-31 15:54:25 +02:00
Dmitriy Somov
054351b223
Fix #7011 - Removed unused clean.sh, full-uninstall.sh, uninstall.sh, changed purge.sh ( #10938 )
...
* Deleted clean.sh, full-uninstall.sh
* Removed uninstall.sh, running make uninstall should be enough
* Changed Makefile and purge.sh, now users should only use ,ake purge or make system-purge, as listed in README
* Reduced 'distclean mrproper rmd clean' options to simple 'clean' in Makefile
2018-08-10 16:06:41 +02:00
pancake
cb5ce6ce47
Add sys/meson.py --alias
2018-08-01 14:51:41 +02:00
pancake
0d6647e4f0
Add sys/meson.py --nosudo (use sudo by default)
2018-08-01 03:12:33 +02:00
David CARLIER
adaa0bc986
Making asan no ops for OpenBSD (not supported) and few mem leaks fixes ( #10842 )
2018-07-29 16:43:46 +08:00
Maijin
bf9d45fa47
Fix #10767
2018-07-17 21:05:50 -04:00
pancake
c9242c5a66
Add --uninstall in sys/meson.py
2018-07-18 02:30:59 +02:00
pancake
73147a1e94
Add --pull to sys/meson.py
2018-07-18 02:28:59 +02:00
pancake
f04057cae4
Implement sys/meson.py --asan
2018-07-18 02:27:02 +02:00
pancake
33a39499a0
Add sys/meson.py --symstall
2018-07-18 02:06:19 +02:00
Riccardo Schirone
c932d1abff
meson fixes ( #10743 )
...
* r2pm/meson.build: install r2pm
* meson.build: use system libraries when available
* travis: add fedora-sys to the list of things to test
* bin_nso.c: still include lz4.c when not on meson
* Dockerfile.travis: add required system dependencies to dockerfile
* meson.build: split zip_dep in libzip and zlib dependencies
* shlr/meson.build: zip needs zlib
2018-07-17 23:01:40 +02:00
pancake
47894aec70
Fix all the pending fuzzed bins for omf
2018-07-16 14:17:26 +02:00
pancake
d13c50a688
Without-debugger is now --disable-debugger
2018-07-14 11:34:10 +02:00
pancake
04d5a85d24
Add ios-libr.sh workaround script
2018-07-11 19:15:08 +02:00
pancake
df0aadb89f
Fix sys/ios-cydia.sh for iOS11/electra jailbreak
2018-06-21 02:41:14 +02:00
pancake
afe3792d0f
Force embed-bitcode on iOS builds
...
- Fix typo and improve ios-sdk build
- Don't let capstone set the -arch flags
2018-06-10 03:38:28 +02:00
pancake
34cb7c5ec0
Drop armv7 for ios-sdk by default, armv7s is fine
2018-06-06 17:28:55 +02:00
Paul I
cad927a591
Meson: add rule for tags.r2 ( #10215 )
2018-05-28 23:25:48 +02:00
radare
d461644977
Add --with-libr and deprecate --with-{nonpic,pic,merged} ( #10212 )
2018-05-28 17:14:49 +02:00
pancake
b63e146300
Fix ft help message and install flag tags file
2018-05-27 15:55:33 +02:00
pancake
e2e2af1998
Add initial refactoring script and hints for android-mips
2018-05-23 18:22:37 +02:00
pancake
8bab020ff5
Honor libr.dylib on ios-sdk.sh
2018-05-21 02:03:41 +02:00
pancake
d263e32a3b
Fix sys/install.sh when builddir have spaces, make still fails
2018-05-16 16:35:53 +02:00
pancake
93551610b8
Fixes for the ios-sdk build
2018-05-16 10:16:56 +02:00
pancake
05d092453b
Enforce embed-bitcode ldflags in ios-sdk
2018-05-15 11:26:42 +02:00
radare
9e08da0fa6
Improve build of libr.a and libr.dylib, fix and improve sys/ios-sdk.sh ( #10046 )
...
- Update spp and force hidden visibility
- Use R_API wisely
- RSys.prefix returns const things
- Use -install_name on Apple
- Fix merged lib visibility linking on Linux
- Use OSTYPE instead of BUILD_OS
- Honor crosscompiler-objcopy and support android like linux
- Add extra missing archives
- Fix for android
- Upgrade spp and sdb
- Skip libr. from symstall
- Add --enable-merged configure option
- Use --enable-merged on ios-sdk
- Upgrade sdb again for js0n
- Kill sys/ios-shell.sh
- Msvc dynamic build fix
2018-05-09 23:31:52 +02:00
Paolo Monti
acf3ea06cf
Fix #9706 , created signing script and added to build.sh ( #10013 )
2018-05-04 20:07:50 +02:00
Gromimousse
78ce646cf6
Ragg2-cc is now completely erased from r2 (merged into ragg2) ( #9996 )
2018-05-02 20:34:30 +02:00
Paul I
52aabd40ff
Reduce r2 default subdirs paths for Windows ( #9991 )
...
R2_INCDIR: include\libr -> include
R2_WWWROOT': share\radare2\{R2_VERSION}\www -> share\www
R2_SDB': share\radare2\{R2_VERSION} -> share
R2_ZIGNS': share\radare2\{R2_VERSION}\zigns -> share\zigns
R2_THEMES': share\radare2\{R2_VERSION}\cons -> share\cons
R2_FORTUNES': share\doc\radare2 -> share\doc
R2_HUD': share\radare2\{R2_VERSION}\hud -> share\hud
2018-04-30 12:38:25 +02:00
Paul I
bfff81c199
sys/meson.py: allow to redefine r2 paths (R2_*DIR, R2_SDB, R2_WWWROOT, ...) ( #9981 )
2018-04-29 16:03:04 +02:00
Paul I
6fa279ca1f
Update Meson version to 0.46.0 ( #9950 )
2018-04-25 13:07:43 +02:00
lzutao
0767f40853
Remove end slash in ROOT ( #9910 )
2018-04-17 15:59:28 +02:00
pancake
6760b26376
Add asm.meta, and make magic when disabled. Fix sys/rebuild.sh cs
2018-04-15 02:29:03 +02:00
pancake
5cde546971
Fix aae on x86-64, improve Vx, add sys/rebuild.sh tcc, ..
2018-04-11 02:32:27 +02:00
pancake
9e39a91bd0
Add ndk-g++
2018-04-11 00:22:46 +02:00
Paul I
8675e324ac
Meson: add libr_shlr.a building/installation rule ( #9789 )
...
* Meson: add libr_shlr.a building/installation rule
* Meson: distribute *.lib/*.a files for Windows by default
2018-04-02 22:33:05 +02:00
Paul I
4f7687287f
Meson: Some little fixes ( #9783 )
...
* fix shlr libraries names
* fix missing headers for Windows dist
* fix missing format files for Windows dist
* add <static_runtime> option
* add argument with list of additional meson options for sys/meson.py
2018-03-30 23:35:12 +02:00
Lowly Worm
f91bd2d323
update asan.sh to actually take the env for ASAN
2018-03-13 19:08:29 -07:00
zlowram
b91169efcc
Honor CFLAGS on the static build test compilation ( #9677 )
2018-03-13 10:38:38 +08:00
zlowram
0716a903cc
Honor CFLAGS and LDFLAGS in static build script ( #9660 )
...
The CFLAGS and LDFLAGS were being overwritten and didn't allow
modification of such variables for adding other compiling and
linking options (e.g. compile with address sanitizer + coverage)
2018-03-11 23:35:40 +01:00
pancake
ca8eac68c2
Hardcode umask in sys/install.sh to avoid problems in some distros
2018-03-07 00:53:05 +01:00
Paul I
13f7013696
Meson: Added sdb building/installation rules ( #9575 )
2018-03-05 00:10:28 +01:00
zlowram
7f0bc8ee03
Fixed static build script ( #9566 )
2018-03-03 22:28:21 +01:00
pancake
46a1b2291d
Fix sys/static.sh on Linux
2018-03-02 16:38:42 +01:00
pancake
348057f5ae
Fix return value check in sys/static.sh
2018-03-02 01:06:50 +01:00
pancake
ebd92e91be
Fix #9514 - Initial sys/purge.sh distro to remove r2 distro packages
2018-02-28 00:50:01 +01:00
xarkes
d225c83d11
Easier meson instructions
2018-02-24 14:41:22 +01:00
Paul I
bb4f61580e
Cleanup meson files ( #9424 )
2018-02-20 09:33:19 +01:00
pancake
e4c0746cb8
Remove a bunch of conflicting plugins for the static build
...
- Will be re-enabled when fixed the visibility of common symbols
2018-02-19 13:17:21 +01:00
Paul I
25f40417b2
Using meson via subprocess.call() ( #9344 )
...
* Using meson via subprocess.call()
* meson: Changed r2/sdb build order + some cleanup
2018-02-09 09:16:15 +01:00
Paul I
d66df132e7
mesonbuild: Using radare2 as subproject ( #9317 )
...
* meson: Using radare2 as subproject
* JUST TEST
2018-02-06 13:41:42 +01:00
v14dz
871296d985
Fix shell error if docker isn't present ( #9328 )
2018-02-05 19:46:35 +01:00
Paul I
2782a1890e
Some sys/meson.py cleanup ( #9258 )
2018-01-28 18:16:38 +01:00
Paul I
bec01d21ac
Fixed asm.describe on Windows ( #9196 )
2018-01-14 21:09:03 +01:00
pancake
75505b882d
Remove use of deprecated configure flags
2018-01-11 23:14:00 +01:00
Paul I
2b0c9d1a17
Refactored meson scripts ( #9143 )
2018-01-11 20:20:23 +04:00
pancake
6437e0049b
Add sys/subst.sh shellscript helper
2018-01-08 11:25:46 +01:00
Paul I
7bfea1be93
Merge meson scripts ( #9132 )
2018-01-05 13:20:17 +04:00
pancake
b589f8821a
Implement of and minor fixes for o?
2018-01-02 18:44:26 +01:00
pancake
f76bb3300a
Fixes for the ios-sdk.sh -simulator for iOS11
2017-12-31 11:51:54 +01:00
pancake
499cb34d8e
Use r2 -HLIBEXT in sys/apia
2017-12-18 16:54:55 +01:00
pancake
160ea9266e
Fix ASAN build for High Sierra
2017-12-18 12:35:48 +01:00
pancake
019792d7ec
Initial import of apia, the api analysis tool for r2
...
cd sys/apia ; make
checkout the directory out/ when finished, helps to identify unused
apis, unnecessary libraries linked, bad api usages, renamings, ...
2017-12-18 00:41:52 +01:00
xarkes
aeac3d001c
Translated meson.bat to sys/meson.py ( #9011 )
...
Cf https://github.com/radare/radare2/issues/8690
2017-12-13 15:07:01 +01:00
xarkes
6cad3b5225
Some meson linux improvements
2017-12-02 12:56:31 +01:00
Anton Kochkov
e162bf3c3d
Slight Mingw32 building fixes
2017-11-21 12:50:27 +08:00
Raul Siles
08d9abe283
Change references from OSX to macOS
2017-11-15 10:43:31 -05:00
pancake
ba1f4f9d8f
Honor brew's Android NDK in sys/android-shell
2017-11-09 13:11:25 +01:00
Anton Kochkov
45dd7e13e9
Fix indentation for shlr/tcc
2017-11-07 16:16:01 +08:00
Daniel Corak
9f08ccbcc4
Build radare2 for all iOS archs and the simulator ( #8775 )
...
* Fix system() not available for iOS Simulator
* Embedding Bitcode should be set in sys/ios-sdk.sh. Removed unused code
* Supports now all available iOS archs and the simulator
2017-11-03 19:53:11 +01:00
akil
adc90a6674
bad checking in build.sh (capstone.h) ( #8762 )
2017-10-31 11:09:20 +01:00
pancake
149f4b61de
Handle without-pull in sys/user and install-su
2017-10-20 03:21:03 +02:00
pancake
ef2965d3f8
Fix #6032 - Honor --without-pull for capstone and www-m
2017-10-20 03:19:55 +02:00
xarkes
7aaf5f12fe
Removed meson Windows useless message
2017-10-15 16:02:42 +02:00
xarkes
d0b1e63e33
Meson script improvements
2017-10-13 16:45:48 +02:00
pancake
a9f52dfbc1
More fixes for sys/ios-sdk.sh
2017-10-10 02:36:54 +02:00
pancake
30d7267bcc
Fix sys/ios-cydia.sh build
2017-10-10 02:27:34 +02:00
pancake
c2d1392af2
Use libtool instead of ranlib for iOS
2017-10-09 10:53:41 +02:00
pancake
5db2e67490
Fix #8653 - Fix spp build for iOS and enhance ios-sdk.sh
2017-10-09 01:56:44 +02:00
xarkes
8c728959b2
Fix meson_install
2017-10-07 15:59:43 +02:00
xarkes
816a59e452
Meson install script fix
2017-10-03 09:06:07 +02:00
xarkes
cd51ac78e5
Meson install script typo
2017-10-02 23:15:35 +02:00
xarkes
ba55d63373
Added option to meson_install
2017-10-02 22:14:26 +02:00
pancake
314f9d0e57
Fix uninitialized issue in core/cmd and another path fix for sdk.sh
2017-09-25 19:26:47 +02:00