- 11 Apr, 2017 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 10 Apr, 2017 4 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
This allows functions which use KJ_EXPECT and other test macros to be built without linking libkj-test, which pulls in a possibly-unwanted main() function. In particular, afl-testcase.c++ could not link in -fno-exceptions mode without this change.
-
Kenton Varda authored
The previous approach worked only for ekam builds, where fuzz-test was its own binary.
-
Kenton Varda authored
-
- 07 Apr, 2017 18 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
I changed it to use TestAllTypes instead of a trivial struct, which will probably get more coverage quicker.
-
Kenton Varda authored
-
Kenton Varda authored
I'm not really sure how Cap'n Proto has worked at all on GCC 5. For some reason this only ended up being tickled after e6e29122. Fixes #442.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
This includes making builders a little more tolerant of corrupt data. Note that our threat model generally does not expect this tolerance -- we expect that builders always contain either structures created locally or copied in from a reader, which does a certain amount of validation in itself.
-
Kenton Varda authored
-
- 06 Apr, 2017 1 commit
-
-
David Renshaw authored
-
- 04 Apr, 2017 1 commit
-
-
Kenton Varda authored
-
- 31 Mar, 2017 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 30 Mar, 2017 8 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Since this header is included by everyone, and units.h has lots of templates, this seems like it could significantly improve build times.
-
Kenton Varda authored
-
Kenton Varda authored
Don't allow kj::maxValue / kj::minValue for Guarded types, since they'll break down when CAPNP_DEBUG_TYPES is off.
-
Kenton Varda authored
-
Kenton Varda authored
TODO: - Rename Guarded to Bounded? - Consider bounded array (where size and indexes are bounded quantities). - Implement non-CAPNP_DEBUG_TYPES fallback. - Don't allow casting kj::maxValue to bounded type, this won't work right when not using debug types! - Verify that this change doesn't hurt performance.
-
Kenton Varda authored
-
Kenton Varda authored
-
- 29 Mar, 2017 1 commit
-
-
Kenton Varda authored
-
- 27 Mar, 2017 1 commit
-
-
Kenton Varda authored
-
- 24 Mar, 2017 2 commits
-
-
Kenton Varda authored
See: https://capnproto.org/news/2015-03-02-security-advisory-and-integer-overflow-protection.html This commit as-is is the result of wading through two years of merge conflicts. It does not build as-is because new code added in that time hasn't been converted over.
-
Kenton Varda authored
-