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 files32
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- nv01_2d.xml.h
- nv30-40_3d.xml.h
- nv30_clear.c
- nv30_context.c
- nv30_context.h
- nv30_draw.c
- nv30_format.c
- nv30_format.h
- nv30_fragprog.c
- nv30_fragtex.c
- nv30_miptree.c
- nv30_push.c
- nv30_query.c
- nv30_resource.c
- nv30_resource.h
- nv30_screen.c
- nv30_screen.h
- nv30_state.c
- nv30_state.h
- nv30_state_validate.c
- nv30_texture.c
- nv30_transfer.c
- nv30_transfer.h
- nv30_vbo.c
- nv30_vertprog.c
- nv30_vertprog.h
- nv30_winsys.h
- nv40_vertprog.h
- nv40_verttex.c
- nvfx_fragprog.c
- nvfx_shader.h
- nvfx_vertprog.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/drivers/nouveau/nv30/nv30_resource.h
Text · 1,914 bytes#ifndef __NV30_RESOURCE_H__
#define __NV30_RESOURCE_H__
#include "nouveau_buffer.h"
void nv30_resource_screen_init(struct pipe_screen *);
void nv30_resource_init(struct pipe_context *);
struct nv30_surface {
struct pipe_surface base;
uint32_t offset;
uint32_t pitch;
uint32_t width;
uint16_t height;
uint16_t depth;
};
static inline struct nv30_surface *
nv30_surface(struct pipe_surface *ps)
{
return (struct nv30_surface *)ps;
}
struct nv30_miptree_level {
uint32_t offset;
uint32_t pitch;
uint32_t zslice_size;
};
struct nv30_miptree {
struct nv04_resource base;
struct nv30_miptree_level level[13];
uint32_t uniform_pitch;
uint32_t layer_size;
bool swizzled;
unsigned ms_mode;
unsigned ms_x:1;
unsigned ms_y:1;
};
static inline struct nv30_miptree *
nv30_miptree(struct pipe_resource *pt)
{
return (struct nv30_miptree *)pt;
}
struct pipe_resource *
nv30_miptree_create(struct pipe_screen *, const struct pipe_resource *);
struct pipe_resource *
nv30_miptree_from_handle(struct pipe_screen *, const struct pipe_resource *,
struct winsys_handle *);
struct pipe_surface *
nv30_miptree_surface_new(struct pipe_context *, struct pipe_resource *,
const struct pipe_surface *);
void
nv30_miptree_surface_del(struct pipe_context *, struct pipe_surface *);
void
nv30_resource_copy_region(struct pipe_context *pipe,
struct pipe_resource *dst, unsigned dst_level,
unsigned dstx, unsigned dsty, unsigned dstz,
struct pipe_resource *src, unsigned src_level,
const struct pipe_box *src_box);
void
nv30_blit(struct pipe_context *pipe,
const struct pipe_blit_info *blit_info);
void
nv30_flush_resource(struct pipe_context *pipe,
struct pipe_resource *resource);
#endif