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 files59
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- hw/
- Automake.inc
- Makefile.am
- Makefile.in
- Makefile.sources
- README
- etnaviv_asm.c
- etnaviv_asm.h
- etnaviv_blend.c
- etnaviv_blend.h
- etnaviv_clear_blit.c
- etnaviv_clear_blit.h
- etnaviv_compiler.c
- etnaviv_compiler.h
- etnaviv_compiler_cmdline.c
- etnaviv_context.c
- etnaviv_context.h
- etnaviv_debug.h
- etnaviv_disasm.c
- etnaviv_disasm.h
- etnaviv_emit.c
- etnaviv_emit.h
- etnaviv_fence.c
- etnaviv_fence.h
- etnaviv_format.c
- etnaviv_format.h
- etnaviv_internal.h
- etnaviv_query.c
- etnaviv_query.h
- etnaviv_query_hw.c
- etnaviv_query_hw.h
- etnaviv_query_sw.c
- etnaviv_query_sw.h
- etnaviv_rasterizer.c
- etnaviv_rasterizer.h
- etnaviv_resource.c
- etnaviv_resource.h
- etnaviv_rs.c
- etnaviv_rs.h
- etnaviv_screen.c
- etnaviv_screen.h
- etnaviv_shader.c
- etnaviv_shader.h
- etnaviv_state.c
- etnaviv_state.h
- etnaviv_surface.c
- etnaviv_surface.h
- etnaviv_texture.c
- etnaviv_texture.h
- etnaviv_tiling.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/etnaviv/etnaviv_debug.h
Text · 3,652 bytes/*
* Copyright (c) 2012-2013 Etnaviv Project
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sub license,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the
* next paragraph) shall be included in all copies or substantial portions
* of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
/* Common debug stuffl */
#ifndef H_ETNA_DEBUG
#define H_ETNA_DEBUG
#include "util/u_debug.h"
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
/* Logging */
#define ETNA_DBG_MSGS 0x1 /* Warnings and non-fatal errors */
#define ETNA_DBG_FRAME_MSGS 0x2
#define ETNA_DBG_RESOURCE_MSGS 0x4
#define ETNA_DBG_COMPILER_MSGS 0x8
#define ETNA_DBG_LINKER_MSGS 0x10
#define ETNA_DBG_DUMP_SHADERS 0x20
/* Bypasses */
#define ETNA_DBG_NO_TS 0x1000 /* Disable TS */
#define ETNA_DBG_NO_AUTODISABLE 0x2000 /* Disable autodisable */
#define ETNA_DBG_NO_SUPERTILE 0x4000 /* Disable supertile */
#define ETNA_DBG_NO_EARLY_Z 0x8000 /* Disable early z */
#define ETNA_DBG_CFLUSH_ALL 0x10000 /* Flush before every state update + draw call */
#define ETNA_DBG_MSAA_2X 0x20000 /* Force 2X MSAA for screen */
#define ETNA_DBG_MSAA_4X 0x40000 /* Force 4X MSAA for screen */
#define ETNA_DBG_FINISH_ALL 0x80000 /* Finish on every flush */
#define ETNA_DBG_FLUSH_ALL 0x100000 /* Flush after every rendered primitive */
#define ETNA_DBG_ZERO 0x200000 /* Zero all resources after allocation */
#define ETNA_DBG_DRAW_STALL 0x400000 /* Stall FE/PE after every draw op */
#define ETNA_DBG_SHADERDB 0x800000 /* dump program compile information */
extern int etna_mesa_debug; /* set in etna_screen.c from ETNA_DEBUG */
#define DBG_ENABLED(flag) unlikely(etna_mesa_debug & (flag))
#define DBG_F(flag, fmt, ...) \
do { \
if (etna_mesa_debug & (flag)) \
debug_printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__, \
##__VA_ARGS__); \
} while (0)
#define DBG(fmt, ...) \
do { \
if (etna_mesa_debug & ETNA_DBG_MSGS) \
debug_printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__, \
##__VA_ARGS__); \
} while (0)
/* A serious bug, show this even in non-debug mode */
#define BUG(fmt, ...) \
do { \
printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__); \
} while (0)
#endif