solana/programs/bpf
Alexander Meißner 6330cbcf33
Refactor: Use InvokeContext in all Syscalls (#21545)
* Adds ComputeMeter::mock_set_remaining().

* Adds InvokeContext::get_loader()

* Adds a LogCollector to InvokeContext::new_mock().

* Adds "invoke_context: Rc<RefCell<&'a mut dyn InvokeContext>>,"
to all SyscallObjects.

* Adds LogCollector::get_recorded_content().

* Removes loader_id parameter from bind_syscall_context_objects() and create_vm().
2021-12-02 08:58:02 +01:00
..
benches Refactor: Use InvokeContext in all Syscalls (#21545) 2021-12-02 08:58:02 +01:00
c Bump bpf-tools to v1.20 2021-11-18 20:50:58 -08:00
rust Upgrade to Rust 2021 2021-11-30 20:43:46 -08:00
tests Refactor: Use InvokeContext in all Syscalls (#21545) 2021-12-02 08:58:02 +01:00
.gitignore
Cargo.lock Remove unused bpfloader openssl dependency 2021-12-01 09:05:39 -08:00
Cargo.toml Upgrade to Rust 2021 2021-11-30 20:43:46 -08:00
build.rs Allow programs to realloc their accounts within limits (#19475) 2021-09-28 01:13:03 -07:00