Skip to main content

nop_buffer

Function nop_buffer 

Source
pub fn nop_buffer(len: usize) -> Vec<u8> 
Expand description

Return a buffer of len NOPs (0x90). Used both for fully-NOPed setcc / cmovcc instructions (always-false outcome) and for NOP-padding shorter replacements.