Exploit databaseDownload repository ZIP
GH-557a35ec88cecc5153df8ffeda95d1c2
bob11vrdp/cve-2022-39425
Sources for CVE-2022-39425
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files136
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- dbghelp.h
- u_bitcast.h
- u_bitmask.c
- u_bitmask.h
- u_blend.h
- u_blit.c
- u_blit.h
- u_blitter.c
- u_blitter.h
- u_box.h
- u_cache.c
- u_cache.h
- u_cpu_detect.c
- u_cpu_detect.h
- u_debug.c
- u_debug.h
- u_debug_describe.c
- u_debug_describe.h
- u_debug_flush.c
- u_debug_flush.h
- u_debug_image.c
- u_debug_image.h
- u_debug_memory.c
- u_debug_refcnt.c
- u_debug_refcnt.h
- u_debug_stack.c
- u_debug_stack.h
- u_debug_symbol.c
- u_debug_symbol.h
- u_dirty_flags.h
- u_dirty_surfaces.h
- u_dl.c
- u_dl.h
- u_draw.c
- u_draw.h
- u_draw_quad.c
- u_draw_quad.h
- u_dual_blend.h
- u_dump.h
- u_dump_defines.c
- u_dump_state.c
- u_fifo.h
- u_format.c
- u_format.csv
- u_format.h
- u_format_etc.c
- u_format_etc.h
- u_format_latc.c
- u_format_latc.h
- u_format_other.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
VirtualBox-6.1.38/src/VBox/Additions/3D/mesa/mesa-17.3.9/src/gallium/auxiliary/util/u_transfer.h
Text · 3,725 bytes
#ifndef U_TRANSFER_H
#define U_TRANSFER_H
/* Fallback implementations for inline read/writes which just go back
* to the regular transfer behaviour.
*/
#include "pipe/p_state.h"
struct pipe_context;
struct winsys_handle;
#ifdef __cplusplus
extern "C" {
#endif
boolean u_default_resource_get_handle(struct pipe_screen *screen,
struct pipe_resource *resource,
struct winsys_handle *handle);
void u_default_buffer_subdata(struct pipe_context *pipe,
struct pipe_resource *resource,
unsigned usage, unsigned offset,
unsigned size, const void *data);
void u_default_texture_subdata(struct pipe_context *pipe,
struct pipe_resource *resource,
unsigned level,
unsigned usage,
const struct pipe_box *box,
const void *data,
unsigned stride,
unsigned layer_stride);
void u_default_transfer_flush_region( struct pipe_context *pipe,
struct pipe_transfer *transfer,
const struct pipe_box *box);
void u_default_transfer_unmap( struct pipe_context *pipe,
struct pipe_transfer *transfer );
/* Useful helper to allow >1 implementation of resource functionality
* to exist in a single driver. This is intended to be transitionary!
*/
struct u_resource_vtbl {
boolean (*resource_get_handle)(struct pipe_screen *,
struct pipe_resource *tex,
struct winsys_handle *handle);
void (*resource_destroy)(struct pipe_screen *,
struct pipe_resource *pt);
void *(*transfer_map)(struct pipe_context *,
struct pipe_resource *resource,
unsigned level,
unsigned usage,
const struct pipe_box *,
struct pipe_transfer **);
void (*transfer_flush_region)( struct pipe_context *,
struct pipe_transfer *transfer,
const struct pipe_box *);
void (*transfer_unmap)( struct pipe_context *,
struct pipe_transfer *transfer );
};
struct u_resource {
struct pipe_resource b;
const struct u_resource_vtbl *vtbl;
};
boolean u_resource_get_handle_vtbl(struct pipe_screen *screen,
struct pipe_context *ctx,
struct pipe_resource *resource,
struct winsys_handle *handle,
unsigned usage);
void u_resource_destroy_vtbl(struct pipe_screen *screen,
struct pipe_resource *resource);
void *u_transfer_map_vtbl(struct pipe_context *context,
struct pipe_resource *resource,
unsigned level,
unsigned usage,
const struct pipe_box *box,
struct pipe_transfer **transfer);
void u_transfer_flush_region_vtbl( struct pipe_context *pipe,
struct pipe_transfer *transfer,
const struct pipe_box *box);
void u_transfer_unmap_vtbl( struct pipe_context *rm_ctx,
struct pipe_transfer *transfer );
#ifdef __cplusplus
} // extern "C" {
#endif
#endif