commit | fbb5ee2aff9ff567bdb2cc2da80195b516b14308 | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Thu Dec 21 13:49:59 2023 +0000 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Tue Feb 06 12:26:25 2024 +0000 |
tree | 18c7e78bd956e9159837759c90b84313fc97888d | |
parent | 99a7690c9635fd203dd861a444dfff129b5542e7 [diff] |
libfdt: Move funcs for non-DT buffers out of Fdt Move check_full() and create_empty_tree() out of the class as they did not work well with OOP (RAII) given that they were intended to act on buffers that _might_ contain a valid DT (while Fdt should only wrap buffers with valid DTs). This introduces a new module, which should end up containing all (and only) the FFI calls, providing a low-level Rust-safe API to lib.rs. This will allow us to decouple the high-level client-facing classes (Fdt, FdtNode, FdtNodeMut, ...) from the low-level considerations of dealing with the libfdt C function. Reduce the unsafe blocks to the strict minimum (i.e. the FFI calls). Test: m pvmfw Test: atest liblibfdt.integration_test Change-Id: Ic5efebced5827a8a26af48a151bb437df6f71a93
Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.
Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.
If you want a quick start, see the getting started guideline and follow the steps there.
For in-depth explanations about individual topics and components, visit the following links.
AVF components:
AVF APIs:
How-Tos: