Struct dynasmrt::components::ManagedRelocs [−][src]
pub struct ManagedRelocs<R: Relocation> { /* fields omitted */ }
Expand description
A registry of relocations that have been encoded previously, but need to be adjusted when the address of the buffer they reside in changes.
Implementations
Take all items from another registry and add them to this registry
Remove all managed relocations whose byte fields start in the range start .. end.
This is useful when implementing an Assembler::alter
API, as any managed relocations
that were overwritten should be removed from the registry, otherwise the replacement code
would be corrupted when managed relocations are updated.
Trait Implementations
Returns the “default value” for a type. Read more