Skip to main content

ShellcodeSource

Trait ShellcodeSource 

Source
pub trait ShellcodeSource {
    // Required method
    fn into_bytes(self) -> Vec<u8> ;
}
Expand description

Trait for types that can be converted to shellcode bytes

Required Methods§

Source

fn into_bytes(self) -> Vec<u8>

Implementations on Foreign Types§

Source§

impl ShellcodeSource for &[u8]

Source§

impl ShellcodeSource for &[u32]

Source§

impl<const N: usize> ShellcodeSource for &[u8; N]

Source§

impl<const N: usize> ShellcodeSource for &[u32; N]

Implementors§