MCPcopy Create free account
hub / github.com/asmjit/asmjit / label_offset_from_base

Method label_offset_from_base

asmjit/core/codeholder.h:1159–1165  ·  view source on GitHub ↗

Returns offset of a label by it's `label_id` relative to the base offset. \attention The passed `label_id` must be valid as it's used as an index to `_label_entries[]` array. In debug builds the array access uses an assertion, but such assertion is not present in release builds. To get whether a label is valid, check out \ref CodeHolder::is_label_valid() function. \note The offset of the section

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

is_label_validFunction · 0.85
is_boundMethod · 0.80
offsetMethod · 0.45
section_idMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected