2311 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | CMakeLists.txt | 2601 | "${SDL3_SOURCE_DIR}/src/joystick/darwin/*.h" |
| LOW | …ject/app/src/main/java/org/libsdl/app/SDLActivity.java | 1501 | } |
| LOW | test/testoverlay.c | 21 | #include <SDL3/SDL_main.h> |
| LOW | test/gamepadutils.c | 21 | #include "gamepad_face_sony.h" |
| LOW | test/testvulkan.c | 21 | SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "No Vulkan support on this system"); |
| LOW | test/testgpu_spinning_cube.c | 21 | */ |
| LOW | test/testffmpeg.c | 21 | #include <libavcodec/avcodec.h> |
| LOW | test/testffmpeg.c | 41 | #ifndef DRM_FORMAT_GR88 |
| LOW | test/testautomation_blit.c | 1 | /** |
| LOW | test/testcontroller.c | 21 | #ifdef SDL_PLATFORM_EMSCRIPTEN |
| LOW | test/testnative.c | 21 | |
| LOW | test/testfile.c | 21 | #include <stdlib.h> |
| LOW | test/testmouse.c | 21 | #include <stdlib.h> /* exit() */ |
| LOW | test/testautomation_render.c | 1 | /** |
| LOW | test/gamepadutils.h | 61 | #define PRESSED_TEXTURE_MOD 175, 238, 238 |
| LOW | test/testevdev.c | 21 | #endif |
| LOW | test/testnative.h | 41 | #ifdef SDL_VIDEO_DRIVER_X11 |
| LOW | test/testime.c | 21 | #include <SDL3/SDL.h> |
| LOW | test/testime.c | 101 | #define UNIFONT_REPLACEMENT 0xFFFD |
| LOW | test/win32/sdlprocdump.c | 1 | #ifndef WIN32_LEAN_AND_MEAN |
| LOW | test/win32/sdlprocdump.c | 21 | #define EXCEPTION_STACK_INVALID 0x8 |
| LOW | test/win32/sdlprocdump.c | 41 | |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 41 | #define GL_COLORDODGE_KHR 0x9299 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 61 | |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 81 | #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 101 | #define GL_MAX_LABEL_LENGTH_KHR 0x82E8 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 141 | #endif /* GL_KHR_no_error */ |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 181 | #ifndef GL_KHR_shader_subgroup |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 201 | #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 221 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 241 | typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 261 | #define GL_OES_compressed_ETC1_RGB8_sub_texture 1 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 281 | #endif /* GL_OES_compressed_paletted_texture */ |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 341 | #endif /* GL_OES_draw_elements_base_vertex */ |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 361 | #define GL_GEOMETRY_SHADER_OES 0x8DD9 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 381 | #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 401 | #define GL_OES_get_program_binary 1 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 421 | #define GL_BUFFER_MAPPED_OES 0x88BC |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 441 | #define GL_OES_primitive_bounding_box 1 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 461 | #define GL_RGB10_EXT 0x8052 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 481 | #endif /* GL_OES_sample_variables */ |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 501 | #endif /* GL_OES_standard_derivatives */ |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 521 | |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 541 | #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 561 | #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 621 | #ifndef GL_OES_texture_buffer |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 641 | GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, G |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 661 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 681 | |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 701 | #endif /* GL_OES_texture_npot */ |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 721 | |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 741 | typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 781 | GL_APICALL void GL_APIENTRY glScissorIndexedvOES (GLuint index, const GLint *v); |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 801 | #ifndef GL_AMD_framebuffer_multisample_advanced |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 861 | #ifndef GL_ANGLE_depth_texture |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 901 | #ifndef GL_ANGLE_pack_reverse_row_order |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 921 | #ifndef GL_ANGLE_texture_usage |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 941 | #define GL_CLIP_DISTANCE2_APPLE 0x3002 |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 961 | #ifndef GL_APPLE_framebuffer_multisample |
| LOW | include/SDL3/SDL_opengles2_gl2ext.h | 981 | #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA |
| 2164 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …oject/app/src/main/java/org/libsdl/app/SDLSurface.java | 278 | // if we are. We'll leverage our existing mouse motion listener |
| LOW | include/SDL3/SDL_main_impl.h | 134 | #else /* platforms that use a standard main() and just call SDL_RunApp(), like iOS and 3DS */ |
| MEDIUM | examples/template.html | 266 | // application robust, you may want to override this behavior before shipping! |
| LOW | build-scripts/wikiheaders.pl | 356 | # So something like "just call `SDL_Whatever`" will become |
| LOW | build-scripts/wikiheaders.pl | 357 | # "just call [`SDL_Whatever`](SDL_Whatever)", but |
| LOW | build-scripts/wikiheaders.pl | 358 | # "just call `SDL_Whatever(7)`" will not. It's just the safest |
| MEDIUM | src/video/SDL_blit_1.c | 540 | case SDL_COPY_COLORKEY | SDL_COPY_BLEND: // this is not super-robust but handles a specific case we found sdl12-com |
| MEDIUM | src/video/windows/SDL_windowsvideo.h | 94 | // More-robust display information in Vista... |
| LOW | src/hidapi/testgui/copy_to_bundle.sh | 84 | # necessary. If ../libtool not available, just use cp to do the copy, but |
| MEDIUM | src/joystick/SDL_gamepad.c | 1476 | // We'll pick up a robust mapping in VIRTUAL_JoystickGetGamepadMapping |
| MEDIUM | src/joystick/hidapi/steam/controller_structs.h | 157 | // Triton and derivatives utilize output reports for haptic commands. This is a |
| MEDIUM | src/events/SDL_pen_c.h | 62 | // Note that name and info are copied but currently unused; this is placeholder for a potentially more robust API later. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | VisualC/examples/generate.py | 44 | |
| LOW | .github/workflows/create-test-plan.py | 921 | |
| LOW | build-scripts/rename_types.py | 37 | |
| LOW | build-scripts/rename_macros.py | 62 | |
| LOW | build-scripts/create-android-project.py | 118 | |
| LOW | build-scripts/rename_headers.py | 31 | |
| LOW | build-scripts/build-release.py | 360 | |
| LOW | build-scripts/build-release.py | 444 | |
| LOW | build-scripts/build-release.py | 478 | |
| LOW | build-scripts/build-release.py | 715 | |
| LOW | build-scripts/build-release.py | 996 | |
| LOW | build-scripts/build-release.py | 1218 | |
| LOW | build-scripts/rename_symbols.py | 48 | |
| LOW | build-scripts/rename_symbols.py | 85 | |
| LOW | build-scripts/rename_api.py | 126 | |
| LOW | build-scripts/rename_api.py | 192 | |
| LOW | build-scripts/check_android_jni.py | 66 | |
| LOW | build-scripts/check_android_jni.py | 101 | |
| LOW | build-scripts/check_android_jni.py | 134 | |
| LOW | build-scripts/check_stdlib_usage.py | 154 | |
| LOW | src/dynapi/gendynapi.py | 77 | |
| LOW | src/dynapi/gendynapi.py | 371 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | build-scripts/rename_types.py | 47 | except Exception as err: |
| LOW | build-scripts/rename_types.py | 75 | except Exception as e: |
| MEDIUM | build-scripts/rename_types.py | 37 | def replace_symbols_in_file(file, regex, replacements): |
| LOW | build-scripts/rename_macros.py | 74 | except Exception as err: |
| LOW | build-scripts/rename_macros.py | 101 | except Exception as e: |
| MEDIUM | build-scripts/rename_macros.py | 62 | def apply_checks_in_file(file, checks): |
| LOW | build-scripts/rename_headers.py | 43 | except Exception as err: |
| LOW | build-scripts/rename_headers.py | 70 | except Exception as e: |
| MEDIUM | build-scripts/rename_headers.py | 31 | def replace_headers_in_file(file, replacements): |
| LOW | build-scripts/rename_symbols.py | 95 | except Exception as err: |
| LOW | build-scripts/rename_symbols.py | 125 | except Exception as e: |
| MEDIUM | build-scripts/rename_symbols.py | 85 | def replace_symbols_in_file(file, regex, replacements): |
| LOW | build-scripts/rename_api.py | 249 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/emscripten/server.py | 13 | class MyHTTPRequestHandler(SimpleHTTPRequestHandler): |
| LOW | build-scripts/rename_types.py | 34 | def create_regex_from_replacements(replacements): |
| LOW | build-scripts/create-android-project.py | 87 | def gradle_add_prefab_and_aar(path: Path, aar: str) -> None: |
| LOW | build-scripts/setup-gdk-desktop.py | 107 | def copy_files_and_merge_into(srcdir: Path, dstdir: Path) -> None: |
| LOW | build-scripts/build-release.py | 604 | def _external_repo_path_filter(cls, path: str) -> bool: |
| LOW | build-scripts/build-release.py | 942 | def _get_prefab_module_json_text(self, library_name: typing.Optional[str], export_libraries: list[str]) -> str: |
| LOW | build-scripts/build-release.py | 975 | def _get_prefab_abi_json_text(self, abi: str, cpp: bool, shared: bool) -> str: |
| LOW | build-scripts/build-release.py | 985 | def _get_android_manifest_text(self) -> str: |
| LOW | build-scripts/build-release.py | 1303 | def _arch_platform_to_build_path(self, arch_platform: VsArchPlatformConfig) -> Path: |
| LOW | build-scripts/build-release.py | 1306 | def _arch_platform_to_install_path(self, arch_platform: VsArchPlatformConfig) -> Path: |
| LOW | build-scripts/rename_symbols.py | 77 | def create_regex_from_replacements(replacements): |
| LOW | build-scripts/rename_symbols.py | 81 | def create_substring_regex_from_replacements(replacements): |
| LOW | build-scripts/check_android_jni.py | 39 | def java_type_to_jni_spec_internal(type_str: str) -> tuple[int, str]: |
| LOW | build-scripts/check_android_jni.py | 66 | def collect_jni_bindings_from_c() -> dict[str, set[JniMethodBinding]]: |
| LOW | build-scripts/check_android_jni.py | 101 | def collect_jni_bindings_from_java() -> dict[str, set[JniMethodBinding]]: |
| LOW | src/dynapi/gendynapi.py | 365 | def print_check_comment_header(): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | build-scripts/casefolding.txt | 31 | # ================================================================================ |
| MEDIUM | build-scripts/casefolding.txt | 33 | # ================================================================================ |
| MEDIUM | build-scripts/casefolding.txt | 55 | # ================================================================= |
| MEDIUM | build-scripts/casefolding.txt | 62 | # ================================================================= |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/emscripten/driver.py | 8 | |
| LOW | cmake/xxd.py | 4 | |
| LOW | build-scripts/rename_types.py | 6 | |
| LOW | build-scripts/create-release.py | 6 | |
| LOW | build-scripts/setup-gdk-desktop.py | 4 | |
| LOW | build-scripts/build-release.py | 10 | |
| LOW | build-scripts/rename_symbols.py | 6 | |
| LOW | build-scripts/rename_api.py | 7 | |
| LOW | build-scripts/rename_api.py | 9 | |
| LOW | build-scripts/check_stdlib_usage.py | 25 | |
| LOW | src/dynapi/gendynapi.py | 36 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …oject/app/src/main/java/org/libsdl/app/SDLSurface.java | 277 | // We need to check if we're in relative mouse mode and get the axis offset rather than the x/y values |
| LOW | src/video/dos/SDL_dosvideo.c | 198 | // Step 1: query the required buffer size (subfunction 0x00). |
| LOW | src/video/dos/SDL_dosvideo.c | 210 | // Step 2: save state (subfunction 0x01) into conventional memory buffer. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | include/SDL3/SDL_process.h | 39 | * Don't forget to call SDL_DestroyProcess() to clean up, whether the process |
| LOW | src/video/SDL_stb.c | 380 | /* And don't forget to report the problem to the the sdl list too! */ |
| LOW | src/render/direct3d11/SDL_render_d3d11.c | 514 | * Don't forget to declare your application's minimum required feature level in its |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | build-scripts/androidbuildlibs.sh | 23 | # Create the build directories |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | build-scripts/check_elf_alignment.sh | 105 | # Check if this is a critical architecture (arm64-v8a or x86_64) |
| LOW | build-scripts/update-version.sh | 42 | # Set compat to major.minor.0 by default. |