Commit Graph

592 Commits

Author SHA1 Message Date
Riccardo Schirone
58ae11607a
Create script to apply style to diffs (#11261)
* restore tabs size to 8 chars
* fixes clang-format-diff for function declaration
* DEVELOPERS: explain pre-commit hook
* sys/pre-commit: do not consider unstaged changes
* sys/pre-commit: change doc
* create an example in doc
* suggest --no-verify
2018-09-26 10:49:16 +02:00
Paul I
8786d57aa5 Fix sys/meson.py (#11626) 2018-09-23 10:54:37 +02:00
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