(script: &'a CompiledScript)
| 56 | } |
| 57 | |
| 58 | fn verify_script_impl(script: &'a CompiledScript) -> PartialVMResult<()> { |
| 59 | Self::check_identifiers(script.identifiers())?; |
| 60 | Self::check_address_identifiers(script.address_identifiers())?; |
| 61 | Self::check_constants(script.constant_pool())?; |
| 62 | Self::check_signatures(script.signatures())?; |
| 63 | Self::check_module_handles(script.module_handles())?; |
| 64 | Self::check_struct_handles(script.struct_handles())?; |
| 65 | Self::check_function_handles(script.function_handles())?; |
| 66 | Self::check_function_instantiations(script.function_instantiations()) |
| 67 | } |
| 68 | |
| 69 | fn check_identifiers(identifiers: &[Identifier]) -> PartialVMResult<()> { |
| 70 | match Self::first_duplicate_element(identifiers) { |
nothing calls this directly
no test coverage detected