- 20 Apr, 2017 2 commits
-
-
David Renshaw authored
-
David Renshaw authored
-
- 19 Apr, 2017 2 commits
-
-
David Renshaw authored
-
David Renshaw authored
-
- 16 Apr, 2017 3 commits
-
-
Kenton Varda authored
Refactor bounds checks to avoid ever creating out-of-bounds pointer values, which is technically UB even if not dereferenced.
-
Kenton Varda authored
-
- 12 Apr, 2017 2 commits
- 11 Apr, 2017 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
This eliminates a TODO(soon).
-
Kenton Varda authored
-
- 10 Apr, 2017 2 commits
-
-
Kenton Varda authored
The previous approach worked only for ekam builds, where fuzz-test was its own binary.
-
Kenton Varda authored
-
- 07 Apr, 2017 9 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
-
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 1 commit
-
-
Kenton Varda authored
-
- 30 Mar, 2017 5 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
-
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.
-
- 27 Mar, 2017 1 commit
-
-
Kenton Varda authored
-
- 24 Mar, 2017 1 commit
-
-
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.
-
- 19 Mar, 2017 1 commit
-
-
Kenton Varda authored
-
- 11 Mar, 2017 1 commit
-
-
David Renshaw authored
-
- 10 Mar, 2017 1 commit
-
-
David Renshaw authored
-
- 09 Mar, 2017 2 commits
-
-
David Renshaw authored
-
David Renshaw authored
-
- 08 Mar, 2017 2 commits
-
-
David Renshaw authored
-
David Renshaw authored
-