sandboxed-api/sandboxed_api
Oliver Kunz 86e356b7ee Add Sandbox::AllocateAndTransferToSandboxee utility function.
Create a utility function to copy a hostcode local buffer into the sandboxee. This combines the following steps into one API call:

1) Create a SAPI variable backed with the hostcode local buffer
2) Allocate the SAPI variable in the sandboxee's memory space
3) Transfer the SAPI variable into the sandboxee's memory space

The function returns a `std::unique_ptr` wrapped `sapi:✌️:RemotePtr` which points to the address of the buffer in the sandboxee's memory space.

PiperOrigin-RevId: 611151615
Change-Id: Ie5012bf17826614395d2056d560689fd9e429d75
2024-02-28 10:39:15 -08:00
..
2024-02-28 07:37:06 -08:00
2023-08-24 06:23:36 -07:00
2023-08-24 06:23:36 -07:00
2023-08-24 23:55:35 -07:00
2023-08-31 00:44:23 -07:00
2023-08-31 00:44:23 -07:00
2023-08-24 06:23:36 -07:00
2023-08-24 06:23:36 -07:00
2023-08-24 06:23:36 -07:00
2023-08-31 00:44:23 -07:00
2023-08-24 06:23:36 -07:00
2023-08-24 06:23:36 -07:00
2023-08-24 06:23:36 -07:00
2023-08-24 06:23:36 -07:00
2024-02-28 06:01:30 -08:00
2023-08-24 06:23:36 -07:00
2023-08-24 06:23:36 -07:00
2023-08-24 06:23:36 -07:00
2023-08-25 00:35:09 -07:00