(module: &'a CompiledModule)
| 28 | |
| 29 | impl<'a> CodeUnitVerifier<'a> { |
| 30 | pub fn verify_module(module: &'a CompiledModule) -> VMResult<()> { |
| 31 | Self::verify_module_impl(module).map_err(|e| e.finish(Location::Module(module.self_id()))) |
| 32 | } |
| 33 | |
| 34 | fn verify_module_impl(module: &'a CompiledModule) -> PartialVMResult<()> { |
| 35 | for (idx, function_definition) in module.function_defs().iter().enumerate() { |
nothing calls this directly
no test coverage detected