android_packages_modules_Vi.../vm_payload/include-restricted
Alan Stokes 88805d55c5 Native API fixes
Port is always 32 bits, move it to uint32_t.

Add _Nullable / _Nonnull annotations in the headers. That initially
triggered a warning because we deliberately pass null to the
getDiceAttestation* functions to get the size needed. Which led me to
notice that our Rust code technically had undefined behavior, because
a null pointer is never valid even for size 0. Added a guard for that,
and documented that null is only allowed for size 0.

Bug: 262415211
Test: atest MicrodroidTests
Change-Id: I44bb2946989f7254e581d885542b41399c3ee059
2022-12-16 16:53:45 +00:00
..
vm_payload_restricted.h Native API fixes 2022-12-16 16:53:45 +00:00