Commit Graph

620 Commits

Author SHA1 Message Date
Paul I
9ebbe7251b sys/meson.py: add missing makedirs() (#12127) 2018-11-12 08:26:38 +01:00
Paul I
3b8e0a585c Meson: add r_crypto headers to r2 dist 2018-11-11 22:07:43 +01:00
pancake
14fd07d5db Add --without-libuv and companion flags in ios-static-appstore.sh ##build 2018-11-09 18:14:47 +01:00
Riccardo Schirone
936512916b Another RBin API cleanup ##bin
* remove R_API from functions not used outside of RBin module
* move not-exported functions to a separate private header
* move bin_private in i/private.h
* fix and use R_IPI
* fix mips_assemble
2018-11-05 11:25:31 +01:00
pancake
9ae01a3c97 Make sys/indent.sh usable system wide and support directories 2018-10-27 03:14:48 +02:00
Riccardo Schirone
6115f00455
remove r_bin_load_io2 and rename MODE defines ##refactor
PR #11888 

* bin: no need for 2 r_bin_load_io APIs
* bin: remove io-related unused functions
* r_bin.h: remove some old comments
* r_bin.h: group together related APIs
* extract print/set modes in r_types, to remove dups in r_bin and r_core
* clang-format-diff: fix ternary operator indent for pancake
2018-10-24 16:54:57 +02:00
pancake
1b7d5b5f7f Downgrade credentials when building with sudo ##build 2018-10-23 22:22:38 +02:00
pancake
3670657748 Some more build fixes for iOS 2018-10-22 16:00:02 +02:00
radare
c50357fbe6
Fix the build of the iOS SDK ##build (#11884) 2018-10-21 14:56:56 +02:00
pancake
8ed55d5ea5 ios fixes 2018-10-21 01:41:48 +02:00
Riccardo Schirone
64d16fc506 Some code cleanup and asserts in RBin ##refactor
* libr/bin: no need to allocate RBinOptions on the heap
* bin: start using r_return_* around, that's just the beginning
* bin: remove io_owned since it's not used anywhere
* io: make r_io_bind return nothing
* bin: remove unused functions and simplify r_bin_load_io
r_bin_load_io was calling r_bin_load_io2 with UT64_MAX as sz parameter,
but r_bin_load_io2 just returns false if (st64)sz is less than 0, so
that call is actually useless and can be removed.
* bin/bin: fix some preconditions
* bin/open: fix precondition to check for bin and filename too
2018-10-21 01:27:15 +02:00
pancake
fd0ab00b14 Fix static blob build for android and disable libuv ##build 2018-10-20 20:10:17 +02:00
pancake
089e21ff46 Disable libuv in sys/sdk too 2018-10-20 20:00:20 +02:00
pancake
72246175f5 Add missing linking flags to statically build in OpenBSD 2018-10-20 19:58:20 +02:00
pancake
60508a370d Fix sys/meson-sdk.sh 2018-10-20 19:14:27 +02:00
pancake
7d32c05f9a Initial import of the sys/meson-sdk.sh ##build 2018-10-20 12:26:07 +02:00
pancake
a33fc03725 Fix visual panels glitch and handle 's' in zoom mode ##visual
* And remove dead code
2018-10-20 02:12:30 +02:00
pancake
9d912b46a1 Fix android build for the latest NDK based on LLVM ##build 2018-10-20 02:12:30 +02:00
pancake
734b3d73ba Do not build GPL code with the static build 2018-09-09 08:24:45 +02:00
pancake
1ad4b20e80 Static builds must go without libuv dependency ##build 2018-09-09 05:33:38 +02:00
pancake
fbd5bb72d4 Fix regexes in sys/release-notes.sh 2018-10-17 12:23:45 +02:00
Stefan Ilic
0e62aee601 Don't strip binaries in static.sh (#11832) ##build 2018-10-16 23:38:42 +02:00
radare
0a699f60e1
Add sys/release-notes.sh and define commit message conventions ##rules (#11827) 2018-10-16 23:38:20 +02:00
pancake
2e68dccde2 Improve autogen.sh to use r2pm if available 2018-10-16 00:28:51 +02:00
pancake
dc96db9e51 Try clang-format when no uncrustify is found and reindent r_reg with sys/indent.sh 2018-10-16 00:17:44 +02:00
Stefan Ilic
a0f274629c Remove auto-generated test file after build (#11719) 2018-10-02 23:58:16 +02:00
pancake
8caa2ba2ee Fix sys/sdk.sh (--without-gpl) 2018-09-26 10:03:32 -07:00
Riccardo Schirone
1f0ceaa6c7 sys/pre-commit-indent.sh: fix return code 2018-09-26 11:06:04 +02:00
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