solana-labs / rbpf

Rust virtual machine and JIT compiler for eBPF programs
Apache License 2.0
277 stars 169 forks source link

Fix - `emit_validate_instruction_count()` in JIT #613

Closed Lichtso closed 2 weeks ago

Lichtso commented 2 weeks ago

Continuation of #593 which removed the exclusive parameter from emit_validate_and_profile_instruction_count(). This PR removes the exclusive parameter from emit_validate_instruction_count().

It also fixes an error priority bug in callx ExceededMaxInstructions.