MCPcopy Create free account
hub / github.com/D7EAD/mkPIVM / mark_block

Method mark_block

include/mkpivm/bytecode.h:34–36  ·  view source on GitHub ↗

record this cursor as the start of IR block_id

Source from the content-addressed store, hash-verified

32
33 // record this cursor as the start of IR block_id
34 void mark_block(std::uint32_t block_id) {
35 block_offsets_[block_id] = buf_.size();
36 }
37
38 std::uint32_t block_offset(std::uint32_t block_id) const {
39 auto it = block_offsets_.find(block_id);

Callers 2

encode_bytecodeFunction · 0.80
package_shellcodeFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected