MCPcopy Create free account
hub / github.com/diem/move / at_code_offset

Method at_code_offset

language/move-binary-format/src/errors.rs:324–328  ·  view source on GitHub ↗
(self, function: FunctionDefinitionIndex, offset: CodeOffset)

Source from the content-addressed store, hash-verified

322 }
323
324 pub fn at_code_offset(self, function: FunctionDefinitionIndex, offset: CodeOffset) -> Self {
325 let mut offsets = self.offsets;
326 offsets.push((function, offset));
327 Self { offsets, ..self }
328 }
329
330 pub fn at_code_offsets(
331 self,

Callers 13

offset_out_of_boundsFunction · 0.80
call_nativeMethod · 0.80
execute_codeMethod · 0.80
verify_blockMethod · 0.80
check_type_opMethod · 0.80
check_function_opMethod · 0.80
verifyFunction · 0.80
errorMethod · 0.80
errorMethod · 0.80
errorMethod · 0.80
errorMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected