Rust: Auto-generate CfgNodes.qll

This commit is contained in:
Tom Hvitved
2024-11-04 08:45:54 +01:00
parent 1c2fdc29a3
commit c8736e8a3d
18 changed files with 4139 additions and 56 deletions

View File

@@ -53,6 +53,7 @@ def _get_class(cls: type) -> schema.Class:
bases=[b.__name__ for b in cls.__bases__ if b is not object],
derived=derived,
pragmas=pragmas,
cfg=cls.__cfg__ if hasattr(cls, "__cfg__") else False,
# in the following we don't use `getattr` to avoid inheriting
properties=[
a | _PropertyNamer(n)