diff options
author | Kees Cook <[email protected]> | 2022-09-19 19:50:32 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2022-09-26 11:01:32 -0700 |
commit | 9f7d69c5cd23904a29178a7ecc4eee9c1cfba04b (patch) | |
tree | bdfa15b9f30e2a59dc42ba63e9def20a6697206e /scripts/generate_rust_analyzer.py | |
parent | fa35198f39571bbdae53c5b321020021eaad6bd2 (diff) |
fortify: Convert to struct vs member helpers
In preparation for adding support for __builtin_dynamic_object_size(),
wrap each instance of __builtin_object_size(p, N) with either the new
__struct_size(p) as __bos(p, 0), or __member_size(p) as __bos(p, 1).
This will allow us to replace the definitions with __bdos() next.
There are no binary differences from this change.
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Tom Rix <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions