solana/programs/bpf_loader/src/syscalls
Alexander Meißner 24a87f33a8
Refactor - Cleanup error handling in program runtime (#30693)
* Moves stable_log::program_invoke(), stable_log::program_success() and stable_log::program_failure() calls from bpf_loader into InvokeContext::process_executable_chain().

* Turns result of ProcessInstructionWithContext from InstructionError into Box<dyn std::error::Error>.

* Bump to solana_rbpf v0.3.0

* Removes Result from return type of EbpfVm::new().

* Turns EbpfError into Box<dyn std::error::Error>.

* Removes BpfError.

* Removes SyscallError::InstructionError.

* Adds a type alias for Box<dyn std::error::Error> in syscalls.
2023-04-05 15:50:34 +02:00
..
cpi.rs Refactor - Cleanup error handling in program runtime (#30693) 2023-04-05 15:50:34 +02:00
logging.rs Refactor - Cleanup error handling in program runtime (#30693) 2023-04-05 15:50:34 +02:00
mem_ops.rs Refactor - Cleanup error handling in program runtime (#30693) 2023-04-05 15:50:34 +02:00
mod.rs Refactor - Cleanup error handling in program runtime (#30693) 2023-04-05 15:50:34 +02:00
sysvar.rs Refactor - Cleanup error handling in program runtime (#30693) 2023-04-05 15:50:34 +02:00