Trait EvalContextExt

Source
pub trait EvalContextExt<'tcx>: MiriInterpCxExt<'tcx> {
    // Provided methods
    fn CreateFileW(
        &mut self,
        file_name: &OpTy<'tcx>,
        desired_access: &OpTy<'tcx>,
        share_mode: &OpTy<'tcx>,
        security_attributes: &OpTy<'tcx>,
        creation_disposition: &OpTy<'tcx>,
        flags_and_attributes: &OpTy<'tcx>,
        template_file: &OpTy<'tcx>,
    ) -> InterpResult<'tcx, Handle> { ... }
    fn GetFileInformationByHandle(
        &mut self,
        file: &OpTy<'tcx>,
        file_information: &OpTy<'tcx>,
    ) -> InterpResult<'tcx, Scalar> { ... }
    fn DeleteFileW(
        &mut self,
        file_name: &OpTy<'tcx>,
    ) -> InterpResult<'tcx, Scalar> { ... }
    fn NtWriteFile(
        &mut self,
        handle: &OpTy<'tcx>,
        event: &OpTy<'tcx>,
        apc_routine: &OpTy<'tcx>,
        apc_ctx: &OpTy<'tcx>,
        io_status_block: &OpTy<'tcx>,
        buf: &OpTy<'tcx>,
        n: &OpTy<'tcx>,
        byte_offset: &OpTy<'tcx>,
        key: &OpTy<'tcx>,
        dest: &MPlaceTy<'tcx>,
    ) -> InterpResult<'tcx, ()> { ... }
    fn NtReadFile(
        &mut self,
        handle: &OpTy<'tcx>,
        event: &OpTy<'tcx>,
        apc_routine: &OpTy<'tcx>,
        apc_ctx: &OpTy<'tcx>,
        io_status_block: &OpTy<'tcx>,
        buf: &OpTy<'tcx>,
        n: &OpTy<'tcx>,
        byte_offset: &OpTy<'tcx>,
        key: &OpTy<'tcx>,
        dest: &MPlaceTy<'tcx>,
    ) -> InterpResult<'tcx, ()> { ... }
    fn SetFilePointerEx(
        &mut self,
        file: &OpTy<'tcx>,
        dist_to_move: &OpTy<'tcx>,
        new_fp: &OpTy<'tcx>,
        move_method: &OpTy<'tcx>,
    ) -> InterpResult<'tcx, Scalar> { ... }
}

Provided Methods§

Source

fn CreateFileW( &mut self, file_name: &OpTy<'tcx>, desired_access: &OpTy<'tcx>, share_mode: &OpTy<'tcx>, security_attributes: &OpTy<'tcx>, creation_disposition: &OpTy<'tcx>, flags_and_attributes: &OpTy<'tcx>, template_file: &OpTy<'tcx>, ) -> InterpResult<'tcx, Handle>

Source

fn GetFileInformationByHandle( &mut self, file: &OpTy<'tcx>, file_information: &OpTy<'tcx>, ) -> InterpResult<'tcx, Scalar>

Source

fn DeleteFileW(&mut self, file_name: &OpTy<'tcx>) -> InterpResult<'tcx, Scalar>

Source

fn NtWriteFile( &mut self, handle: &OpTy<'tcx>, event: &OpTy<'tcx>, apc_routine: &OpTy<'tcx>, apc_ctx: &OpTy<'tcx>, io_status_block: &OpTy<'tcx>, buf: &OpTy<'tcx>, n: &OpTy<'tcx>, byte_offset: &OpTy<'tcx>, key: &OpTy<'tcx>, dest: &MPlaceTy<'tcx>, ) -> InterpResult<'tcx, ()>

Source

fn NtReadFile( &mut self, handle: &OpTy<'tcx>, event: &OpTy<'tcx>, apc_routine: &OpTy<'tcx>, apc_ctx: &OpTy<'tcx>, io_status_block: &OpTy<'tcx>, buf: &OpTy<'tcx>, n: &OpTy<'tcx>, byte_offset: &OpTy<'tcx>, key: &OpTy<'tcx>, dest: &MPlaceTy<'tcx>, ) -> InterpResult<'tcx, ()>

Source

fn SetFilePointerEx( &mut self, file: &OpTy<'tcx>, dist_to_move: &OpTy<'tcx>, new_fp: &OpTy<'tcx>, move_method: &OpTy<'tcx>, ) -> InterpResult<'tcx, Scalar>

Implementors§

Source§

impl<'tcx> EvalContextExt<'tcx> for MiriInterpCx<'tcx>