Function pelite::stringify::reloc_type [−][src]
pub fn reloc_type(reloc_type: u8) -> Option<&'static str>
Stringifies the IMAGE_REL_BASED_*
constants for IMAGE_BASE_RELOCATION
types.
Examples
let reloc_type = pelite::image::IMAGE_REL_BASED_HIGHLOW; assert_eq!(pelite::stringify::reloc_type(reloc_type), Some("HIGHLOW"));