Function isCode [src]
Prototype
pub fn isCode(sect: section_64) bool
Parameters
sect: section_64
Source
pub fn isCode(sect: section_64) bool {
const attr = sect.attrs();
return attr & S_ATTR_PURE_INSTRUCTIONS != 0 or attr & S_ATTR_SOME_INSTRUCTIONS != 0;
}