fn read_x86_syscall(mut reader: impl Read) -> Result<u16> {
    /*
     * Windows 8 <= syscall functions are constructed in format
     * mov r10, rcx              ;; 3 byte instruction
     * mov eax, {syscall number} ;; 5 bytes instruction
     *
     * reading 4 bytes removes these unnecessary opcodes and leaves us
     * with 32 bit syscall number to read
     */
    let _opcodes = typed_consume!(reader, u32, "Useless opcodes")?;
    Ok(typed_consume!(reader, u16, "Syscall number")?)
}
/// Read x86 syscall for Windows 8 and higher
Read x86 syscall for Windows 8 and higher
Read x86 syscall for Windows 8 and higher
fn read_x86_syscall(mut reader: impl Read) -> Result<u16> {
    /*
     * Windows 8 <= syscall functions are constructed in format
     * mov r10, rcx              ;; 3 byte instruction
     * mov eax, {syscall number} ;; 5 bytes instruction
     *
     * reading 4 bytes removes these unnecessary opcodes and leaves us
     * with 32 bit syscall number to read
     */
    let _opcodes = typed_consume!(reader, u32, "Useless opcodes")?;
    Ok(typed_consume!(reader, u16, "Syscall number")?)
}
fn read_x86_syscall ( mut reader : impl Read ) -> Result < u16 > { /*
     * Windows 8 <= syscall functions are constructed in format
     * mov r10, rcx              ;; 3 byte instruction
     * mov eax, {syscall number} ;; 5 bytes instruction
     *
     * reading 4 bytes removes these unnecessary opcodes and leaves us
     * with 32 bit syscall number to read
     */ let _opcodes = typed_consume ! ( reader u32 " " ) ? ; Ok ( typed_consume ! ( reader u16 " " ) ? ) }
Read x86 syscall for Windows 8 and higher
Read x86 syscall for Windows 8 and higher
reader
impl Read
reader
impl Read