MarcoFalke
4aaeb04497
Merge #17205 : ci: Enable address sanitizer (ASan) stack-use-after-return checking
...
8d22ab0e50
ci: Enable address sanitizer (ASan) stack-use-after-return checking (practicalswift)
Pull request description:
Enable address sanitizer (ASan) stack-use-after-return checking (`detect_stack_use_after_return=1`).
Example:
```
#include <iostream>
#include <string>
const std::string& get_string(int i) {
return std::to_string(i);
}
int main() {
std::cout << get_string(41) << "\n";
}
```
Without address sanitizer (ASan) stack-use-after-return checking:
```
$ ./stack-use-after-return
$
```
With address sanitizer (ASan) stack-use-after-return checking:
```
$ ASAN_OPTIONS="detect_stack_use_after_return=1" ./stack-use-after-return
=================================================================
==10400==ERROR: AddressSanitizer: stack-use-after-return on address 0x7f7fa0400030 at pc 0x00000049d2cc bp 0x7ffcbd617070 sp 0x7ffcbd616820
READ of size 2 at 0x7f7abbecd030 thread T0
#0 0x439781 in fwrite
#1 0x7f7ac0504cb3 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x113cb3)
#2 0x4f9b5f in main stack-use-after-return.cpp:9:15
#3 0x7f7abf440b96 in __libc_start_main
#4 0x41bbc9 in _start
…
$
```
Top commit has no ACKs.
Tree-SHA512: 6557a9ff184023380fd9aa433cdf413e01a928ea99dbc59ec138e5d69cb9e13592e8bb5951612f231ff17a37a895bec5c0940c8db5f328a5c840a5771bdeeba5
5 years ago
practicalswift
8d22ab0e50
ci: Enable address sanitizer (ASan) stack-use-after-return checking
5 years ago
MarcoFalke
fa677d1801
ci: Remove redundant check for TRAVIS_OS_NAME
...
Can be reviewed with
git diff --ignore-all-space --function-context
5 years ago
Sjors Provoost
1f6c650c99
travis: run tests on macOS native
...
Review hint:
git show -w
Co-authored-by: MarcoFalke <falke.marco@gmail.com>
Co-authored-by: keneanung <keneanung@googlemail.com>
Co-authored-by: Vadim Peretokin <vperetokin@gmail.com>
5 years ago
MarcoFalke
fa79dff624
ci: Run tests on arm
5 years ago
Wladimir J. van der Laan
34919e0033
Merge #17011 : ci: Use busybox utils for one build
...
ddddd8961b
ci: Use busybox utils for one build (MarcoFalke)
Pull request description:
To make sure Bitcoin Core can be built with BusyBox, see https://github.com/bitcoin/bitcoin/pull/16927#issuecomment-536483706
ACKs for top commit:
laanwj:
ACK ddddd8961b
Tree-SHA512: da3a4654ee7975206d04643675d309b4973a510ca344acaec97fb1ed19c43cf13489bdf236c92c4a90499ec5b3c18c3338fff096110b26abee5ffe955089f267
5 years ago
MarcoFalke
fa95503d64
ci: Make apt-get more verbose, to debug travis timeouts
5 years ago
MarcoFalke
ddddd8961b
ci: Use busybox utils for one build
5 years ago
practicalswift
aa81e2cc0e
Enable UBSan for Travis fuzzer job
5 years ago
MarcoFalke
fadd76acc2
ci: Remove TRAVIS env vars
5 years ago
MarcoFalke
fa449b89b5
ci: Set $HOST before setting fallback values
5 years ago
fanquake
107e030723
build: make protobuf optional in depends
...
Those that want to build it can now pass PROTOBUF=1.
5 years ago
fanquake
376f4929f8
build: disable BIP70 support by default
5 years ago
MarcoFalke
fa27372e65
ci: Move CCACHE_DIR and test_runner tmp dir into ./ci/scratch/
5 years ago
MarcoFalke
fa60583d23
ci: Pass down $MAKEJOBS to test_runner.py
5 years ago
MarcoFalke
8b42db130f
Merge #16623 : ci: Add environment files for all settings
...
fa21737ba7
ci: Add environment files for all settings (MarcoFalke)
Pull request description:
This moves all environment settings from travis to files in the ci folder. Now, it is possible to easily run each travis configuration with a single command.
Top commit has no ACKs.
Tree-SHA512: 989c6b62eb3839eb1fa5461e986496e9660167e2438a789c7588a6fee4f9c37b332782c010fe5c7de8f606bcf98dffb2481d2777cbce88f87cc9f0c42fb2d7fc
5 years ago
MarcoFalke
faba46da07
ci: Set --ansi in test_runner
5 years ago
MarcoFalke
fa21737ba7
ci: Add environment files for all settings
5 years ago
MarcoFalke
fa6cbdc3c9
ci: Use ./ci/ on non-travis host
5 years ago
MarcoFalke
fa31bc35eb
ci: Remove dependence on travis, use it as fallback env
5 years ago
MarcoFalke
fafe78f6ae
ci: Rename .travis/ to ./ci/
5 years ago