Commit Graph

897 Commits

Author SHA1 Message Date
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 74fb0efbe3.
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
Khairul Azhar Kasmiran
18ef593b2e Set rpath if non-Windows Meson shared ##build (#15051) 2019-09-22 10:49:54 +02:00
Gordon M
ca1eddb22d Debian package fixes (#15081) ##build
* Use xz instead of gzip
2019-09-20 12:25:26 +02:00
kmartin36
5c480054a2 Don't run ldconfig when installing into /usr (#15049) ##build
It seems that commit 7e5f1f5851 attempted to prevent /etc/ld.so.conf.d/radare.conf from being added and ldconfig from being necessary when the user installs into /usr instead of /usr/local. This patch achieves that behaviour.
2019-09-16 09:40:20 +02:00
Paul I
a08cb1bdcf Add webui option to sys/meson.py (#15037) 2019-09-14 23:02:52 +02:00
pancake
c13e6e5013 Fixes for sys/osx-pkg 2019-09-05 18:28:41 +02:00
pancake
72df7056f5 Use LTO for the Cydia build 2019-08-22 20:22:11 +02:00
pancake
5b87871294 Shrink the Cydia package from 512mb to only 64 ##build 2019-08-22 19:26:03 +02:00
pancake
30a5d7ed2d Fixes for the cydia static build of r2, needed for iOS12 2019-08-22 18:56:57 +02:00
radare
c93c094c40
Fix android-static ##build 2019-08-01 04:39:40 +02:00
pancake
f88c30dce7 Delete prefix/ and fix static builds (missing libmpc.a) ##build 2019-07-26 05:30:21 +02:00
pancake
718698d450 Fixes for the android compilations ##build 2019-07-18 11:46:06 +02:00
pancake
1034510dae Add $onlydebug in sys/ios-cydia.sh ##build 2019-07-18 02:32:24 +02:00
pancake
1aebd0a26d Fix single-step in the iOS-arm64 native debugger ##debug 2019-07-18 02:30:45 +02:00
pancake
9f4f802cec Fix build --without-gpl 2019-07-10 19:45:34 +02:00
GustavoLCR
0557ca2a3e Also put r2.bat under \bin on Windows install 2019-06-21 20:25:46 +02:00
GustavoLCR
ae00b18d0b Dynamically find radare2 install dir on Windows ##windows 2019-06-20 18:10:01 +02:00
Anton Kochkov
20e19d6023 More spelling fixes in the code 2019-06-20 13:36:02 +08:00
Anton Kochkov
1da215dcac Add codespell script 2019-06-18 14:51:30 +08:00
pancake
e29ba99a07 Add sys/build-shlib.sh and fix static builds ##build 2019-05-28 23:15:22 +02:00
pancake
092173bf90 Improve configure argument handling in sys/install.sh ##build
* Handle --help, --with-capstone5 and --install (no symlinks)
2019-05-14 17:54:11 +02:00
pancake
a8a22b9383 Add support for build for android-x86_64 ##build 2019-05-14 15:02:30 +02:00
radare
bf5e302881
Add anal.ex option, cleanup and improve the Java support ##anal
* Current java implementation of the analysis is not working well
* RBin.Java doesnt updates the vsizes because it seems to break things. wip for another PR
* Added anal.ex option to use extensions or not
2019-05-08 18:26:11 +02:00
Khairul Azhar Kasmiran
b3503ee207 sys/meson.py: Create r2.bat as alias to radare2.exe ##windows 2019-05-06 18:23:36 +02:00
radare
8f17f58fc3
Do not use system-wide capstone when building with sys/install.sh ##build 2019-04-16 16:55:15 +02:00
pancake
0ba7bdb29e Build for Cydia without libuv 2019-04-02 17:12:28 +02:00
Anton Kochkov
b858e7e10e Fix #13430 - Kill MinGW remnants ##deprecate 2019-03-31 12:03:07 +02:00
radare
7ffa72aaed
Fix #13552 - Crashes in tcc parser (#13566) 2019-03-31 00:32:14 +01:00
radare
e04f31a313
Completely kill the msvc/ directory and the unix-specific includes workarounds 2019-03-19 17:34:02 +01:00
pancake
3af32f95e4 Implement vdo to use aho from visual ##visual 2019-02-14 04:19:12 +01:00
pancake
8cf29fdb95 Purge capstone when doing the iOS build 2019-02-11 15:59:23 +01:00
pancake
158f8fdb8f Fix the iOS simulator build 2019-02-11 15:49:26 +01:00
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
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
pancake
b9df2dc577 Honor R2_PLUGINS_CFG env var in sys/sdk 2017-09-25 19:00:15 +02:00
xarkes
9a8250dbc8 Fix meson sdb generation 2017-09-14 09:20:25 +02:00
xarkes
861648ad49 Renamed sdb models to .sdb.txt (#8463) 2017-09-13 09:20:34 +02:00
pancake
9cfb052fe9 Travis script has been moved into r2r, remove it from here 2017-09-05 01:23:45 +02:00
pancake
406782b8ba Way better travis.js 2017-09-03 01:17:26 +02:00
pancake
a25b87c2f0 More fixes for travis.js 2017-09-03 00:43:47 +02:00
pancake
2ac31bcf2f Enhance the travis script 2017-09-03 00:31:54 +02:00
xarkes
14ce2225d5 Missing gitignore 2017-09-02 22:21:38 +02:00
pancake
90c3ac3aa7 Add travis-logstat script 2017-09-02 20:33:37 +02:00
xarkes
958393c4ad Fixing mingw false status on appveyor (#8401)
* Fixing mingw wrong exit code when make failed
2017-09-01 10:15:39 +02:00
pancake
31604a8a02 Fix build when building with debugger but no debugger plugins 2017-08-31 19:54:50 +02:00
pancake
3443c81946 Update manpage and tweak sys/sdk.sh a bit 2017-08-31 15:22:43 +02:00
xarkes
49398de4ff Meson fixes (SDB, linux, added io_ar) 2017-08-17 10:44:54 +02:00
pancake
59a94ae59f Fix #8084 - Honor colors in json_indent ~{} 2017-08-11 12:23:57 +02:00
xarkes
d4d07ee1ca Better meson build 2017-07-28 14:02:27 +02:00
xarkes
f497590067 Fix meson install script (missing SDB files) (#8039) 2017-07-27 10:19:11 +02:00
xarkes
221b312046 Meson builds generates sdb files (+build clean) (#8035) 2017-07-26 23:15:41 +02:00
xarkes
931aa1e285 Windows XP support test (#7844) 2017-07-10 09:52:00 +02:00
pancake
8c3035acc2 Fix ios-sdk builds 2017-07-04 19:16:24 +02:00
xarkes
927c484932 Reorganized meson version grabbing (#7828) 2017-06-29 17:35:40 +02:00
xarkes
3ee2bd5ede Set windows meson default to static libraries (#7840) 2017-06-29 10:57:20 +02:00
Adrian Pistol
d8f5cdb11c io_gdb: gdb://host:port/pid support; Add gdbr_{attach,detach,detach_pid,kill_pid} to gdbclient. (#7759)
Try to activate extended mode; Attach helper function requires extended mode to actually do something.

Tries to attach to the given pid in io_gdb.
This isn't proper, but it's better than running into the two-pid-vals-no-sync issue.
2017-06-18 00:59:13 +02:00
pancake
65000a7fd9 Fix #7723 - crash in ext2 GRUB code because of variable size array in stack 2017-06-12 09:57:30 +02:00
xarkes
bcdbfcaf8a Moved meson bat script + better meson.build file (#7701) 2017-06-07 23:36:02 +02:00
xarkes
66cb8017f7 Modifed scripts for easier windows install (#7700) 2017-06-07 23:23:22 +02:00
pancake
796dd28aaa Fix ext2 buffer overflow in r2_sbu_grub_memmove 2017-06-05 12:38:39 +02:00
xarkes
9991ac1627 Appveyor windows-installer integration 2017-06-05 11:00:51 +02:00
xarkes
ccc39a88cf Added .appveyor.yml to the repo and better config (#7474) 2017-05-18 16:50:52 +02:00
pancake
7e7e23be36 Properly honor NOSUDO 2017-05-15 15:37:05 +02:00
pancake
a059631c55 Honor NOSUDO in sys/install.sh 2017-05-15 15:32:03 +02:00
pancake
f5948a9124 Fix #7495 - Avoid always-false conditionals 2017-05-15 12:53:05 +02:00
pancake
9847ba8148 Move translations into radare2-translations 2017-05-15 03:22:04 +02:00
pancake
80295bc6c0 Add English to the list of supported languages 2017-05-15 03:06:31 +02:00
pancake
630efb4835 Add some more Catalan and fix some help messages accordingly 2017-05-15 03:01:04 +02:00
pancake
165304fa1a Initial implementation of the sys/translate.sh
- Add initial Catalan language support
2017-05-15 02:48:24 +02:00
pancake
159adf4c14 Fix ldconfig.sh issue on Termux 2017-05-15 00:57:14 +02:00
xarkes
926f024909 Improved MSVC support (WIP) 2017-05-09 14:25:57 +02:00
pancake
8c656231c1 Several bug fixes in the android build scripts and other candies 2017-04-18 11:25:26 +02:00
pancake
9b54c51199 Fix sudo detection 2017-04-18 01:09:30 +02:00
Duncan Ogilvie
bf15457b96 Include debug symbols in windows releases 2017-04-08 00:54:41 +02:00
xarkes
14094583fd Modified windows build script (take care of configure exit code) 2017-04-01 11:01:10 +08:00
ryarnyah
10f5ee880d Add docker hub functionality to r2-docker script and remove all cap by default 2017-03-24 23:57:43 +01:00
pancake
ca0c4908dc Add r2 -Q for faster quits 2017-03-20 10:12:59 +01:00