Andrew Poelstra
8c54b98b25
Merge e0bc27a14c into merged_master (Bitcoin PR #21404 )
2021-06-26 22:39:09 +00:00
Andrew Poelstra
5314c886d9
Merge 8bb40d5f56 into merged_master (Bitcoin PR #20560 )
2021-06-14 13:42:32 +00:00
Andrew Poelstra
14ff891036
Various ubsan fixes
...
Mostly harmless signed/unsigned conversions but also an actual
memory leak related to `BlindingData`.
2021-03-26 17:33:05 +00:00
Andrew Poelstra
1670bdfa0b
ci: fix benchmarks, fuzztests and unit tests
...
Includes a memory leak in the checkqueue unit test (but not in
the actual code). WE really need to switch our checkqueue to use
std::unique_pointer rather than bare pointers. But this would be
invasive enough that I want to do it in a followup PR.
Also pretty-much disable the validation_flush_cache unit test.
This is a stupid and irritating test which tries to unit-test
exact memory usage of std containers. It already has at least
one "remove wrong assumptions" update upstream and after many
tries I was unable to change all the magic numbers in a way
that'd consistently pass CI for Elements.
Also adds a couple ubsan suppressions about perfectly-legitimate
conversions of integer types.
2021-03-26 17:33:05 +00:00
fanquake
3ba2840e7e
scripted-diff: remove MakeUnique<T>()
...
-BEGIN VERIFY SCRIPT-
git rm src/util/memory.h
sed -i -e 's/MakeUnique/std::make_unique/g' $(git grep -l MakeUnique src)
sed -i -e '/#include <util\/memory.h>/d' $(git grep -l '#include <util/memory.h>' src)
sed -i -e '/util\/memory.h \\/d' src/Makefile.am
-END VERIFY SCRIPT-
2021-03-11 13:45:14 +08:00
MarcoFalke
44444ba759
fuzz: Link all targets once
2020-12-10 07:15:42 +01:00
Andrew Poelstra
8c3388f038
Merge 924a4ff7eb into merged_master (Bitcoin PR #20242 )
2020-12-01 18:34:13 +00:00
Andrew Poelstra
fd37b7c5d6
Merge 54f812d9d2 into merged_master (Bitcoin PR #18673 )
2020-11-26 01:08:23 +00:00
Andrew Poelstra
8615d49507
Merge 249114b1a6 into merged_master (Bitcoin PR #18314 )
2020-11-26 01:07:54 +00:00
Andrew Poelstra
964e4aef5f
Merge 7754cd3848 into merged_master (Elements PR #797 )
2020-11-14 16:52:06 +00:00
MarcoFalke
fa56d56d4e
fuzz: Properly initialize PrecomputedTransactionData
2020-10-26 09:17:25 +01:00
MarcoFalke
fa488f131f
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
2020-04-16 13:33:09 -04:00
practicalswift
d3d4892ef4
tests: Simplify code by removing unwarranted use of unique_ptr:s
2020-03-11 12:51:26 +00:00
Gregory Sanders
ee068ef075
Fix VerifyScript calls in fuzz/script_flags
2019-12-05 10:18:47 -05:00
practicalswift
9cae3d5e94
tests: Add fuzzer initialization (hold ECCVerifyHandle)
2019-10-27 21:22:24 +00:00
practicalswift
ffa2221256
tests: Pass fuzzing inputs as constant references
2019-10-07 08:48:35 +00:00
practicalswift
9a841696c1
tests: Reduce compilation time and unneccessary recompiles by removing unused includes in tests
2019-06-26 20:37:48 +02:00
MarcoFalke
fab15ff70e
fuzz: Script validation flags
2019-02-13 14:53:57 -05:00