Commit Graph

637 Commits

Author SHA1 Message Date
pancake
f33db3e48c Some more fixes for the iOS build in sys/ios-sdk.sh 2019-02-07 17:24:40 +01:00
pancake
6a09544506 More ios-sdk build fixes 2019-01-30 09:14:24 -06:00
pancake
5535b6f380 iOS10 is required for the arm32 builds 2019-01-29 22:10:07 -06:00
pancake
0314eed9fe Add LC_VERSION_MIN for the libr2.dylib iOS build 2019-01-29 21:44:47 -06:00
pancake
709ffb60b6 Fixes for the android build and related warnings 2019-01-21 12:10:33 +01:00
pancake
fc68124f4d Do not statically link binaries by default in sys/static.sh ##build
* Use STATIC_BINS=1 env var to change this behaviour
2018-12-30 13:38:50 +01:00
pancake
90ac594f08 Initial implementation of the Alpine Linux package ##build 2018-12-18 23:07:38 +01:00
iamahuman
9ed24b16a3 Fix Emscripten support 2018-12-15 18:32:24 +01:00
Dan Robertson
81b3d9aa7a sys/user.sh: Allow setting an install path (#12412)
Users may want to install radare2 to a different directory than ~/bin.
Parse --install-path in sys/user.sh to allow for users to do so.
2018-12-05 12:30:36 +01:00
pancake
8c6ddc6375 Add sys/release.sh 2018-11-26 05:32:24 +01:00
pancake
6043d798be Fix codesigning for ios-cydia.sh with ldid2 2018-11-24 03:30:08 +01:00
Riccardo Schirone
0868b2d47f Use -static in CFLAGS too (#12246) 2018-11-21 01:55:23 +01:00
Riccardo Schirone
015ed58426 ELF plugin code cleaning ##refactor
* clang-format-diff: do not put space after Elf_
* bin/elf: remove warning because it's already printed by R_LOG_WARN
* bin/elf: rename get_static to is_static
* bin/elf: a bit of refactoring in init_dynamic_section
* Revert "bin/elf: other cleaning"
This reverts commit e39af6f69e.
* bin/elf: cleaning in r_bin_elf_get_sections
* bin/elf: refactor a bit get_sections_from_phdr
* bin/elf: fix create_section_from_phdr
* bin/elf: small style fixes in get_boffset
* bin/elf: simplify the code by using READWORD instead of #if/#else
* bin/elf: fix read_phdr because you need to pay attention to the order
2018-11-17 22:45:49 +01:00
pancake
aaea9b973c Add -static in sys/static for non-macos 2018-11-16 16:53:50 +01:00
pancake
712fca842c Improve the support for emscripten asm.js/wasm 2018-11-15 22:49:52 +01:00
Riccardo Schirone
bb3d054c6d sys/clang-format-diff: other small fixes to the style script 2018-11-15 12:18:12 +01:00
Riccardo Schirone
5651cf58f4 clang-format-diff: improve modified lines detection 2018-11-12 10:30:01 +01:00
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