Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This checks in the trapgen script generating trap entries in C++.
The codegen suite has been slightly reorganized, moving the templates
directory up one level and chopping everything into smaller bazel
packages. Running tests is now done via
With respect to the PoC, the nested
codeql::trap
namespace has beendropped in favour of a
Trap
prefix (or suffix in case of entries)within the
codeql
namespace. Also, generated C++ code is not checkedin in git any more, and generated during build. Finally, labels get
printed in hex in the trap file.
TrapLabel
is for the moment only default-constructible, so only onesingle label is possible.
TrapArena
, that is responsible for creatingdisjoint labels will come in a later commit, as well as
trapgen
unit tests.