A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.
This report summarizes scanner evidence for google/angle, a C++ project with 4,109 GitHub stars. SynthScan examined 1,571,938 lines of code across 3190 source files, recording 4884 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 3.4 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 4696 finding(s).
Are imports declared and package/API names verified? 92 finding(s).
Are wrappers, guards, and repeated structures necessary? 336 finding(s).
Which changes need focused human review? 4884 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 4884 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .rustfmt.toml | 1 | # This file defines the Rust style for automatic reformatting. | COMMENT |
| LOW | tools/flex-bison/update_flex_bison_binaries.py | 1 | #!/usr/bin/python3 | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/glr.c | 1 | # -*- C -*- | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/glr.c | 181 | COMMENT | |
| LOW | tools/flex-bison/third_party/skeletons/glr.c | 261 | #include <stdlib.h> | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/glr.c | 281 | #endif | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/glr.c | 421 | COMMENT | |
| LOW | tools/flex-bison/third_party/skeletons/glr.c | 2741 | #endif | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/yacc.c | 1 | # -*- C -*- | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/yacc.c | 141 | # See README. | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/yacc.c | 161 | m4_define([b4_lhs_location], | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/yacc.c | 441 | ]b4_identification[ | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/yacc.c | 481 | /* Stored state numbers (used for stacks). */ | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/yacc.c | 521 | # if YYSTACK_USE_ALLOCA | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/yacc.c | 541 | # endif | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/yacc.c | 561 | && ! ((defined YYMALLOC || defined malloc) \ | COMMENT |
| LOW | tools/flex-bison/third_party/skeletons/lalr1.java | 1 | #Java skeleton for Bison - *-java - *- | COMMENT |
| LOW | tools/variations/fieldtrial_util.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/glslang/update_glslang_binary.py | 1 | #!/usr/bin/python3 | COMMENT |
| LOW | tools/ubsan/vptr_ignorelist.txt | 1 | ############################################################################# | COMMENT |
| LOW | util/test_blob_cache_unittest.cpp | 1 | // | COMMENT |
| LOW | util/geometry_utils.h | 1 | // | COMMENT |
| LOW | util/random_utils.cpp | 1 | // | COMMENT |
| LOW | util/test_utils.h | 1 | // | COMMENT |
| LOW | util/OSWindow.cpp | 1 | // | COMMENT |
| LOW | util/shader_utils.h | 1 | // | COMMENT |
| LOW | util/OSWindow.h | 1 | // | COMMENT |
| LOW | util/Matrix.h | 1 | // | COMMENT |
| LOW | util/test_blob_cache.cpp | 1 | // | COMMENT |
| LOW | util/test_blob_cache.cpp | 21 | // they were last used. | COMMENT |
| LOW | util/test_blob_cache.cpp | 41 | COMMENT | |
| LOW | util/EGLPlatformParameters.h | 1 | // | COMMENT |
| LOW | util/test_utils_unittest.cpp | 1 | // | COMMENT |
| LOW | util/test_utils_unittest.cpp | 61 | timer.start(); | COMMENT |
| LOW | util/random_utils.h | 1 | // | COMMENT |
| LOW | util/geometry_utils.cpp | 1 | // | COMMENT |
| LOW | util/util_export.h | 1 | // | COMMENT |
| LOW | util/util_export.h | 21 | # elif defined(__GNUC__) | COMMENT |
| LOW | util/util_gl.h | 1 | // | COMMENT |
| LOW | util/test_blob_cache.h | 1 | // | COMMENT |
| LOW | util/test_utils.cpp | 1 | // | COMMENT |
| LOW | util/png_utils.cpp | 1 | // | COMMENT |
| LOW | util/OSPixmap.h | 1 | // | COMMENT |
| LOW | util/Matrix.cpp | 1 | // | COMMENT |
| LOW | util/test_utils_unittest_helper.cpp | 1 | // | COMMENT |
| LOW | util/png_utils.h | 1 | // | COMMENT |
| LOW | util/EGLWindow.cpp | 1 | // | COMMENT |
| LOW | util/shader_utils.cpp | 1 | // | COMMENT |
| LOW | util/egl_loader_autogen.h | 1 | // GENERATED FILE - DO NOT EDIT. | COMMENT |
| LOW | util/egl_loader_autogen.h | 21 | #define eglCreateContext l_eglCreateContext | COMMENT |
| LOW | util/egl_loader_autogen.h | 41 | #define eglWaitGL l_eglWaitGL | COMMENT |
| LOW | util/egl_loader_autogen.h | 61 | #define eglCreatePlatformPixmapSurface l_eglCreatePlatformPixmapSurface | COMMENT |
| LOW | util/egl_loader_autogen.h | 81 | #define eglCopyMetalSharedEventANGLE l_eglCopyMetalSharedEventANGLE | COMMENT |
| LOW | util/egl_loader_autogen.h | 101 | #define eglQueryDisplayAttribEXT l_eglQueryDisplayAttribEXT | COMMENT |
| LOW | util/egl_loader_autogen.h | 121 | #define eglSignalSyncKHR l_eglSignalSyncKHR | COMMENT |
| LOW | util/gles_loader_autogen.h | 1 | // GENERATED FILE - DO NOT EDIT. | COMMENT |
| LOW | util/gles_loader_autogen.h | 21 | #define glAlphaFunc l_glAlphaFunc | COMMENT |
| LOW | util/gles_loader_autogen.h | 41 | #define glOrthof l_glOrthof | COMMENT |
| LOW | util/gles_loader_autogen.h | 61 | #define glFogx l_glFogx | COMMENT |
| LOW | util/gles_loader_autogen.h | 81 | #define glMatrixMode l_glMatrixMode | COMMENT |
| 3928 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/libANGLE/Caps.h | 136 | // Some backends don't apply robust init when glCopyTexImage2D reads out of bounds of source | COMMENT |
| MEDIUM | src/libANGLE/FramebufferAttachment.h | 249 | // These are used for robust resource initialization. | COMMENT |
| MEDIUM | src/libANGLE/Context.cpp | 103 | // more custom handling for robust resource init. | COMMENT |
| MEDIUM | src/libANGLE/Context.cpp | 1761 | // For robust init, make sure the texture is initialized before storage writes. | COMMENT |
| MEDIUM | src/libANGLE/Context.cpp | 4181 | // Determine robust resource init availability from EGL. | COMMENT |
| MEDIUM | src/libANGLE/Context.cpp | 4184 | // mState.getExtensions().robustBufferAccessBehaviorKHR is true only if robust access is true | COMMENT |
| MEDIUM | src/libANGLE/Context.cpp | 4894 | // If we are in a WebGL or robust access context and the back-end does not support robust buffer | COMMENT |
| MEDIUM | src/libANGLE/Framebuffer.cpp | 1619 | // TODO(jmadill): WebGL behaviour, and robust resource init behaviour without WebGL. | COMMENT |
| MEDIUM | src/libANGLE/Framebuffer.cpp | 1639 | // TODO(jmadill): WebGL behaviour, and robust resource init behaviour without WebGL. | COMMENT |
| MEDIUM | src/libANGLE/Framebuffer.cpp | 1678 | // which would incorrectly suppress robust-init of the other aspect. | COMMENT |
| MEDIUM | src/libANGLE/Framebuffer.cpp | 1803 | // We treat sub-area invalidation as no-op in robust mode | COMMENT |
| MEDIUM | src/libANGLE/Context.h | 525 | // robust access is enabled). The following variables help implement this limit given the | COMMENT |
| MEDIUM | src/libANGLE/Texture.cpp | 1658 | // other pixels untouched. For safety in robust resource initialization, assume that that | COMMENT |
| MEDIUM | src/libANGLE/Texture.cpp | 1735 | // other pixels untouched. For safety in robust resource initialization, assume that that | COMMENT |
| MEDIUM | src/libANGLE/Texture.cpp | 2586 | // During glGenerateMipmap, robust initialization of levels i > baseLevel can be skipped | COMMENT |
| MEDIUM | src/libANGLE/ShareGroup.h | 124 | // group is robust, any program created in any context of the share group must have robustness | COMMENT |
| MEDIUM | src/libANGLE/Buffer.cpp | 192 | // If we are using robust resource init, make sure the buffer starts cleared. | COMMENT |
| MEDIUM | src/libANGLE/validationES.cpp | 8024 | // Unimplemented, let the robust command fail in this case. | COMMENT |
| MEDIUM | src/libANGLE/Renderbuffer.h | 84 | // For robust resource init. | COMMENT |
| MEDIUM | src/libANGLE/Texture.h | 88 | // Needed for robust resource initialization. | COMMENT |
| MEDIUM | src/libANGLE/Texture.h | 738 | // Needed for robust resource init. | COMMENT |
| MEDIUM | src/libANGLE/State.h | 192 | DIRTY_OBJECT_READ_ATTACHMENTS, // Only used if robust resource init is enabled | CODE |
| MEDIUM | src/libANGLE/State.h | 193 | DIRTY_OBJECT_DRAW_ATTACHMENTS, // Only used if robust resource init is enabled | CODE |
| MEDIUM | src/libANGLE/State.h | 1620 | // framebuffer, then TEXTURES_INIT and IMAGES_INIT can be removed since robust init happens | COMMENT |
| MEDIUM | src/libANGLE/Image.h | 58 | // which is important for the robust resource init extension with Textures and EGLImages. | COMMENT |
| MEDIUM | src/libANGLE/renderer/metal/DisplayMtl.mm | 482 | // Note that robust resource initialization is not yet implemented. We only expose | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/FramebufferVk.cpp | 535 | // If robust resource initialization is enabled, do not invalidate sub-regions of the | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/FramebufferVk.cpp | 2283 | // If robust resource initialization is enabled, restage clears on the invalidated resources. | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/FramebufferVk.cpp | 2365 | // When robust-resource init is enabled, a clear is stashed in the image after invalidating | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_helpers.cpp | 5151 | // only needed when robust resource init is enabled so that vulkan driver will know the | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_helpers.cpp | 10246 | // A prior clear or update (such as a previous robust clear or a ClearAfterInvalidate on an | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_helpers.cpp | 10253 | // Otherwise robust clears must only be staged if we do not have any prior data for this | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_helpers.cpp | 10346 | // Skip staging extra clears if robust resource init is enabled. | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_helpers.cpp | 10364 | // If the image has an emulated channel and robust resource init is not enabled, always clear | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/TextureVk.cpp | 1469 | // The front-end is unable to stage a robust init clear during self-copies because that | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/TextureVk.cpp | 2979 | // Only staged update here is the robust resource init if any. | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/TextureVk.cpp | 3510 | // The MSAA image always comes from the single sampled one, so disable robust init. | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_helpers.h | 1100 | // when robust resource init is enabled, we may want to create a dedicated VkBuffer for the | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_helpers.h | 2723 | // Stage a clear based on robust resource init. | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_renderer.cpp | 4920 | // Used to support robust buffer access, if VK_EXT_pipeline_robustness is not supported. | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/ContextVk.h | 850 | // Whether VK_EXT_pipeline_robustness should be used to enable robust buffer access in the | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/SurfaceVk.cpp | 3186 | // image use after ANI must go through barrier code, this approach is very robust. And since | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/BufferVk.cpp | 525 | // buffer size is larger or if robust resource init is enabled. | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/BufferVk.cpp | 554 | // In case of redefining an existing buffer with no input data and enabled robust | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/VertexArrayVk.cpp | 1224 | // Vulkan requires the offset is within the buffer. We use robust access | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_cache_utils.cpp | 3380 | // effect, or the context is robust. For VK_EXT_graphics_pipeline_library, such state that affects | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_cache_utils.h | 556 | // Whether the pipeline is robust (vertex input copy) | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_cache_utils.h | 612 | // Whether the pipeline is robust (shader stages copy) | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_cache_utils.h | 827 | // Whether VK_EXT_pipeline_robustness should be used to make the pipeline robust. Note that | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_cache_utils.h | 828 | // programs are allowed to be shared between robust and non-robust contexts, so different | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_caps_utils.cpp | 453 | // Only expose robust buffer access if the physical device supports it. | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/vk_caps_utils.cpp | 1516 | // Ask the front-end to handle robust-init when copying between mips of the same texture via | COMMENT |
| MEDIUM | …vulkan/android/HardwareBufferImageSiblingVkAndroid.cpp | 558 | // disable robust init for this external image. | COMMENT |
| MEDIUM | src/libANGLE/renderer/gl/BufferGL.cpp | 38 | // Shadow WebGL index buffers when the driver is unable to provide robust access. | COMMENT |
| MEDIUM | src/libANGLE/renderer/gl/DisplayGL.cpp | 174 | // Advertise robust resource initialization on all OpenGL backends for testing even though it is | COMMENT |
| MEDIUM | src/libANGLE/renderer/gl/BlitGL.cpp | 298 | // Clear with the desired robust-init clear value after the driver-internal cache is | COMMENT |
| MEDIUM | src/libANGLE/renderer/gl/BlitGL.cpp | 356 | // Clear with the desired robust-init clear value after the driver-internal cache is modified | COMMENT |
| MEDIUM | src/libANGLE/renderer/gl/TextureGL.cpp | 2391 | // When robust resource initialization is enabled, the area outside the framebuffer must be | COMMENT |
| MEDIUM | src/libANGLE/renderer/gl/egl/DisplayEGL.cpp | 193 | // that expose the robustness extensions but fail to create robust contexts. | COMMENT |
| MEDIUM | src/libANGLE/renderer/d3d/TextureD3D.cpp | 1495 | // Same thing for robust resource init. | COMMENT |
| 144 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PRESUBMIT.py | 407 | def implementation_and_headers_including_third_party(f): | STRING |
| LOW | PRESUBMIT.py | 444 | def implementation_and_headers(f): | STRING |
| LOW | PRESUBMIT.py | 725 | def find_unwrapped_vk_calls_files(f): | STRING |
| LOW | scripts/roll_chromium_deps_v2.py | 482 | def _ensure_updated_main_branch() -> None: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 547 | def _get_remote_head_revision(remote_url: str) -> str: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 619 | def _read_remote_chromium_file(src_relative_path: str, revision: str) -> str: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 631 | def _get_changed_deps_entries(angle_deps: dict, chromium_deps: dict) -> list[ChangedDepsEntry]: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 761 | def _get_changed_non_exported_repos(angle_deps: dict, chromium_deps: dict) -> list[ChangedRepo]: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 797 | def _get_changed_exported_repos(angle_deps: dict) -> list[ChangedRepo]: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 827 | def _get_raw_url_for_dep_entry(dep_name: str, deps: dict) -> str: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 898 | def _generate_chromium_section(chromium_revision_range: ChangedRepo, autoroll: bool) -> list[str]: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 924 | def _generate_command_section() -> list[str]: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 940 | def _generate_section_for_entry_type(entry_type: Type[ChangedDepsEntry], | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 971 | def _generate_variables_section(changed_entries: list[ChangedDepsEntry]) -> list[str]: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 1026 | def _generate_footers_section(autoroll: bool) -> list[str]: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 1109 | def _run_lucicfg_and_stage_changes() -> None: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 1121 | def _exchange_starlark_package_revision(package_name: str, package_star_contents: str, | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 1144 | def _get_starlark_package_regex_for(package_name: str) -> re.Pattern: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 1171 | def _extract_starlark_package_revision(package_name: str, package_star_contents: str) -> str: | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 1190 | def _replace_starlark_package_revision(package_name: str, new_revision: str, | CODE |
| LOW⚡ | scripts/angle_presubmit_utils_unittest.py | 60 | def test_missing_description_body(self): | CODE |
| LOW⚡ | scripts/angle_presubmit_utils_unittest.py | 383 | def run_shader_version_check_presubmit(self, commit_msg, diffs): | CODE |
| LOW⚡ | scripts/angle_presubmit_utils_unittest.py | 392 | def test_shader_lang_changed_with_version_change(self): | CODE |
| LOW⚡ | scripts/angle_presubmit_utils_unittest.py | 409 | def test_shader_lang_changed_with_no_version_change(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 35 | def run_check_commit_message_formatting(self, commit_msg): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 39 | def test_correct_commit_message(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 83 | def test_missing_tag_paragraph_and_description_body(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 93 | def test_missing_blank_line_between_description_summary_and_description_body(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 104 | def test_missing_blank_line_between_description_body_and_tags_paragraph(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 112 | def test_multiple_blank_lines_before_and_after_commit_message(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 141 | def test_summmary_description_in_warning_thresholds(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 171 | def test_description_body_exceeds_line_count_limit(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 205 | def test_description_body_exceeds_line_count_limit_but_without_space(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 218 | def test_description_body_exceeds_line_count_limit_but_in_quote(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 231 | def test_tabs_in_commit_message(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 279 | def test_multiple_commits_with_errors_in_multiple_commits(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 306 | def test_multiple_commits_with_error_in_one_commit(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 327 | def test_multiple_commits_with_no_error(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 420 | def test_shader_lang_changed_with_no_version_change(self): | CODE |
| LOW | scripts/angle_presubmit_utils_unittest.py | 433 | def test_shader_lang_changed_with_version_cosmetic_change(self): | CODE |
| LOW⚡ | scripts/angle_presubmit_utils_unittest.py | 50 | def test_missing_description_body_and_description_summary(self): | STRING |
| LOW⚡ | scripts/angle_presubmit_utils_unittest.py | 70 | def test_missing_tag_paragraph(self): | STRING |
| LOW⚡ | scripts/angle_presubmit_utils_unittest.py | 400 | def test_both_changed_with_version_change(self): | STRING |
| LOW | scripts/angle_presubmit_utils_unittest.py | 125 | def test_newlines_within_description_body(self): | STRING |
| LOW | scripts/angle_presubmit_utils_unittest.py | 157 | def test_summary_description_in_error_threshold(self): | STRING |
| LOW | scripts/angle_presubmit_utils_unittest.py | 446 | def test_shader_lang_changed_with_version_decrement(self): | STRING |
| LOW | scripts/angle_presubmit_utils_unittest.py | 459 | def test_shader_lang_changed_in_revert(self): | STRING |
| LOW | scripts/angle_presubmit_utils_unittest.py | 491 | def test_json_modified_limit_not_exceeded(self): | STRING |
| LOW | scripts/angle_presubmit_utils_unittest.py | 501 | def test_json_modified_limit_exceeded(self): | STRING |
| LOW | scripts/angle_presubmit_utils_unittest.py | 557 | def test_allowed_coexisting_tags(self): | STRING |
| LOW | scripts/angle_presubmit_utils_unittest.py | 622 | def test_new_trace_with_tags_fails(self): | STRING |
| LOW | scripts/angle_presubmit_utils_unittest.py | 649 | def test_new_trace_without_tags_passes(self): | STRING |
| LOW⚡ | scripts/generate_android_bp.py | 194 | def gn_path_to_blueprint_path(source): | CODE |
| LOW⚡ | scripts/generate_android_bp.py | 199 | def gn_paths_to_blueprint_paths(paths): | CODE |
| LOW⚡ | scripts/generate_android_bp.py | 206 | def gn_generated_sources_to_blueprint_generated_sources(sources): | CODE |
| LOW⚡ | scripts/generate_android_bp.py | 306 | def get_rust_ffi_header_file_gen_target_name(rust_source_full_path): | CODE |
| LOW⚡ | scripts/generate_android_bp.py | 313 | def get_rust_ffi_source_file_gen_target_name(rust_source_full_path): | CODE |
| LOW | scripts/generate_android_bp.py | 82 | def write_blueprint_key_value(output, name, value, indent=1): | CODE |
| LOW | scripts/generate_android_bp.py | 142 | def gn_target_to_blueprint_target(target, target_info): | CODE |
| LOW | scripts/generate_android_bp.py | 223 | def gn_sources_to_blueprint_sources(sources): | CODE |
| 178 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 52 | # --------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 61 | # ---------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 69 | # ------------ | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 76 | # ------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 84 | # --------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 91 | # -------------------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 98 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 110 | # -------------------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 117 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 124 | # -------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 136 | # ----------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 143 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/glr.c | 151 | # --------------------------------------------------- | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/glr.c | 164 | # ---------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 98 | # -------------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 106 | # ------------------ | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 116 | # --------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 130 | # ----------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 140 | # -------------------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 147 | # ---------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 198 | # ------------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 206 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 349 | # ------------------- | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 358 | # ------------------ | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 366 | # ---------------------------- | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/yacc.c | 53 | # ---------------------- | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/yacc.c | 158 | # ----------------- | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/yacc.c | 166 | # --------------------------------- | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/yacc.c | 179 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/yacc.c | 225 | # ------------------------------------------ | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/yacc.c | 252 | # ----------------------------------------- | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/yacc.c | 304 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/yacc.c | 327 | # ------------------------ | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/yacc.c | 381 | # ---------------------- | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/yacc.c | 398 | # --------------------------------------- | COMMENT |
| MEDIUM | scripts/export_targets.py | 75 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | scripts/export_targets.py | 113 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | scripts/export_targets.py | 130 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | scripts/export_targets.py | 176 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | scripts/export_targets.py | 379 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 46 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 50 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 53 | # ============================================================================= | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 17 | # ============================================================================= | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 19 | # ============================================================================= | COMMENT |
| MEDIUM | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 69 | # ============================================================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/generate_entry_points.py | 1445 | if (returnValue != nullptr && frameCaptureShared->enabled()) | CODE |
| HIGH | scripts/generate_entry_points.py | 1916 | condition = "context->getClientVersion() < ES_2_0 || context->getClientVersion() >= ES_3_2" | CODE |
| HIGH | scripts/generate_entry_points.py | 1962 | lockless_assertion = "ASSERT(isCallValid || context->getPushedErrorCount() != errorCount);" | STRING |
| HIGH | scripts/generate_entry_points.py | 3898 | prepareCall = "if (attribute == EGL_BUFFER_AGE_EXT || attribute == EGL_SURFACE_COMPRESSION_EXT) {" + prepareCall | STRING |
| HIGH | src/libANGLE/renderer/gen_load_functions_table.py | 91 | ASSERT(internalFormat == GL_NONE || angleFormat == angle::FormatID::NONE); | CODE |
| HIGH | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 98 | bool supportDepthStencilAutoResolve = supportDepthAutoResolve && supportStencilAutoResolve; | CODE |
| HIGH | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 510 | switch_data += " (TARGET_OS_TV && __TV_OS_VERSION_MAX_ALLOWED >= 160400) || TARGET_OS_VISION\n" | STRING |
| HIGH | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 549 | switch_data += " (TARGET_OS_TV && __TV_OS_VERSION_MAX_ALLOWED >= 160400) || TARGET_OS_VISION\n" | STRING |
| HIGH | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 608 | switch_data += " (TARGET_OS_IOS && __IPHONE_OS_VERSION_MAX_ALLOWED >= 160400) ||\\\n" | STRING |
| HIGH | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 609 | switch_data += " (TARGET_OS_TV && __TV_OS_VERSION_MAX_ALLOWED >= 160400) || TARGET_OS_VISION\n" | STRING |
| HIGH | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 755 | caps_init_str += " (TARGET_OS_IOS && __IPHONE_OS_VERSION_MAX_ALLOWED >= 160400) ||\\\n" | STRING |
| HIGH | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 756 | caps_init_str += " (TARGET_OS_TV && __TV_OS_VERSION_MAX_ALLOWED >= 160400) || TARGET_OS_VISION\n" | STRING |
| HIGH | src/tests/angle_android_test_runner.py | 134 | 'dumpsys deviceidle | grep mScreen || true']).decode().split() | CODE |
| HIGH | src/tests/py_utils/android_helper.py | 60 | 'id -u; which su || echo noroot; am get-current-user; stat --format %a /data').decode( | CODE |
| HIGH | src/tests/py_utils/android_helper.py | 204 | probe_cmd = f"run-as com.android.angle.test {user_flag}id -u 2>/dev/null || true".strip() | CODE |
| HIGH | src/tests/py_utils/android_helper.py | 250 | '; tar --no-same-permissions --no-same-owner -xf $r/t.tar -C $r/ && rm $r/t.tar && chmod -R o+r $r/' | CODE |
| HIGH | src/tests/py_utils/android_helper.py | 276 | '; tar --no-same-permissions --no-same-owner -xf $r/deqp.tar -C $r/ && rm $r/deqp.tar && chmod -R o+r $r/' | CODE |
| HIGH | src/tests/py_utils/android_helper.py | 283 | f"pm path {user_flag}com.android.angle.test || pm path com.android.angle.test || true" | CODE |
| HIGH | src/tests/py_utils/android_helper.py | 312 | cmd = 'test -f {path} && tail -c {gz_tail_size} {path} | sha256sum -b || true'.format( | CODE |
| HIGH | src/tests/py_utils/android_helper.py | 360 | _AdbShell('appops set com.android.angle.test MANAGE_EXTERNAL_STORAGE allow || true') | CODE |
| HIGH | src/tests/py_utils/android_helper.py | 668 | 'cat /dev/thermal/tz-by-name/*_therm/temp 2>/dev/null || true').decode().split() | STRING |
| HIGH | src/common/gen_uniform_type_table.py | 131 | ASSERT(index.value >= 0 && index.value < {total_count}); | CODE |
| HIGH | src/compiler/translator/gen_builtin_symbols.py | 52 | return os.write(str.data(), str.length()); | CODE |
| HIGH | src/compiler/translator/gen_builtin_symbols.py | 73 | for (size_t i = 0; i < key.length(); i++) | CODE |
| HIGH | src/compiler/translator/gen_builtin_symbols.py | 83 | if (key.length() > {mangled_NS}) | CODE |
| HIGH | src/compiler/translator/gen_builtin_symbols.py | 97 | for (size_t i = 0; i < key.length(); i++) | CODE |
| HIGH | src/compiler/translator/gen_builtin_symbols.py | 107 | if (key.length() > {unmangled_NS}) | CODE |
| HIGH | src/compiler/translator/gen_builtin_symbols.py | 364 | if (name.length() > {max_mangled_name_length}) | CODE |
| HIGH | src/compiler/translator/gen_builtin_symbols.py | 385 | if (name.length() > {max_unmangled_name_length}) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/flex-bison/update_flex_bison_binaries.py | 43 | # Step 1: Upload to cloud storage | COMMENT |
| LOW⚡ | tools/flex-bison/update_flex_bison_binaries.py | 49 | # Step 2: Stage new SHA to git | COMMENT |
| LOW | tools/glslang/update_glslang_binary.py | 33 | # Step 1: Generate an output directory | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 47 | # Step 2: Generate the ninja build files in the output directory | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 52 | # Step 3: Compile glslang_validator | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 57 | # Step 4: Copy glslang_validator to the tools/glslang directory | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 65 | # Step 5: Delete the build directory | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 68 | # Step 6: Upload to cloud storage | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 73 | # Step 7: Stage new SHA to git | COMMENT |
| LOW⚡ | scripts/update_extension_data.py | 180 | # Step 1: Find the build ID. | COMMENT |
| LOW⚡ | scripts/update_extension_data.py | 186 | # Step 2: Get the test suite swarm hashes. | COMMENT |
| LOW⚡ | scripts/update_extension_data.py | 201 | # Step 3: Find all tasks using the swarm hashes. | COMMENT |
| LOW⚡ | scripts/update_extension_data.py | 206 | # Step 4: Download the extension data for each configuration we're monitoring. | COMMENT |
| LOW | src/libANGLE/renderer/metal/VertexArrayMtl.mm | 848 | // Step 1: Get the index buffer of supported type and resolve the first index to | COMMENT |
| LOW | src/libANGLE/renderer/metal/VertexArrayMtl.mm | 871 | // Step 2: GL draw range is firstIndex, count. In case Metal primitive topology for | COMMENT |
| LOW | src/libANGLE/renderer/metal/VertexArrayMtl.mm | 901 | // Step 3: Conditionally rewrite the index buffer for provoking vertex. | COMMENT |
| LOW | src/libANGLE/renderer/metal/VertexArrayMtl.mm | 917 | // Step 4: Compute draw command ranges (handles primitive restart splitting and large draw | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 6938 | // Step 3: Bind VAO 0, draw with prog2 (active: 0, 3. Inactive: 1, 2, 4). | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 6946 | // Step 4: Bind VAO 2, force resize of streamed buffer for attribute 3. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7083 | // Step 1: slots 0+1 active -> client-attrib merge -> single allocation under index 0. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7090 | // Step 2: the bypass. Draw once on the buffer-backed VAO. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7100 | // Step 3: slot 0 only active, streaming much bigger vertices to trigger backend streaming | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7106 | // Step 4: advance the queue serial -> the old block is released and destroyed. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7109 | // Step 5: groom, so the freed block is handed back out to a live BufferHelper. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7118 | // Step 6: slot 2 only active. Slot 2 is buffer-backed, so nothing is streamed, but | COMMENT |
| LOW | src/tests/gl_tests/VertexAttributeTest.cpp | 6888 | // Step 1: Setup VAO 0 (default) and draw with prog1. | COMMENT |
| LOW | src/tests/gl_tests/VertexAttributeTest.cpp | 6909 | // Step 2: Bind VAO 1, force resize of streamed buffer for attribute 1. | COMMENT |
| LOW | src/tests/gl_tests/VertexAttributeTest.cpp | 6975 | // Step 5: Bind VAO 0, draw with prog3 (active: 0, 2, 4. Inactive: 1, 3). | COMMENT |
| LOW | src/tests/gl_tests/ComputeShaderTest.cpp | 5371 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/ComputeShaderTest.cpp | 5403 | // Step 2: load this image through compute | COMMENT |
| LOW | src/tests/gl_tests/ComputeShaderTest.cpp | 5474 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/ComputeShaderTest.cpp | 5506 | // Step 2: load this image through compute | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 1756 | // Step 2: Change max level and draw. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 1763 | // Step 3: Change max level back to original value and verify we hit the cache. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 8437 | // Step 1: Draw to start a render pass. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 8441 | // Step 2: Switch to fbo and clear it to set mRenderPassCommandBuffer to null, | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11089 | // Step 1: start a render pass on fboA with depthA -> populates | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11097 | // Step 2: invalidate depth so depthA is content-undefined when RP_A ends. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11114 | // Step 3: draw on fboB -> closes RP_A, opens RP_B, | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11118 | // Step 4: rebind fboA as the *draw* framebuffer. Front-end state only: | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11123 | // Step 5: delete depthA. This auto-detached from fboA. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11126 | // Step 6: glFinish(), which triggers submission. It should not access deleted render targets. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11158 | // Step 1: start a render pass on fboA with depthA | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11166 | // Step 2: invalidate depthA so that it is content-undefined. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11183 | // Step 3: draw on fboB | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11187 | // Step 4: rebind fboA as the draw framebuffer. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11190 | // Step 5: delete colA. This auto-detached from fboA and makes fboA dirty. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11193 | // Step 6: glFinish(), which triggers submission. It should not access any deleted objects. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 790 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 819 | // Step 2: Introduce a new 2D Texture with the same Program and Framebuffer. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 881 | // Step 1: Set up a simple 2D texture. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 914 | // Step 2: Load a new 2D Texture multiple times with the same Program and Framebuffer. The total | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 1727 | // Step 1: Set up a simple mipped 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 1780 | // Step 1: Set up four buffers for two copies. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 1808 | // Step 2: Do the two copies. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 6820 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 6855 | // Step 2: load this image through compute | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 6932 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 6978 | // Step 2: load this image through compute | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 7039 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/flex-bison/update_flex_bison_binaries.py | 43 | # Step 1: Upload to cloud storage | COMMENT |
| LOW⚡ | tools/flex-bison/update_flex_bison_binaries.py | 49 | # Step 2: Stage new SHA to git | COMMENT |
| LOW | tools/glslang/update_glslang_binary.py | 33 | # Step 1: Generate an output directory | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 47 | # Step 2: Generate the ninja build files in the output directory | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 52 | # Step 3: Compile glslang_validator | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 57 | # Step 4: Copy glslang_validator to the tools/glslang directory | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 65 | # Step 5: Delete the build directory | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 68 | # Step 6: Upload to cloud storage | COMMENT |
| LOW⚡ | tools/glslang/update_glslang_binary.py | 73 | # Step 7: Stage new SHA to git | COMMENT |
| LOW⚡ | scripts/update_extension_data.py | 180 | # Step 1: Find the build ID. | COMMENT |
| LOW⚡ | scripts/update_extension_data.py | 186 | # Step 2: Get the test suite swarm hashes. | COMMENT |
| LOW⚡ | scripts/update_extension_data.py | 201 | # Step 3: Find all tasks using the swarm hashes. | COMMENT |
| LOW⚡ | scripts/update_extension_data.py | 206 | # Step 4: Download the extension data for each configuration we're monitoring. | COMMENT |
| LOW | src/libANGLE/renderer/metal/VertexArrayMtl.mm | 848 | // Step 1: Get the index buffer of supported type and resolve the first index to | COMMENT |
| LOW | src/libANGLE/renderer/metal/VertexArrayMtl.mm | 871 | // Step 2: GL draw range is firstIndex, count. In case Metal primitive topology for | COMMENT |
| LOW | src/libANGLE/renderer/metal/VertexArrayMtl.mm | 901 | // Step 3: Conditionally rewrite the index buffer for provoking vertex. | COMMENT |
| LOW | src/libANGLE/renderer/metal/VertexArrayMtl.mm | 917 | // Step 4: Compute draw command ranges (handles primitive restart splitting and large draw | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 6938 | // Step 3: Bind VAO 0, draw with prog2 (active: 0, 3. Inactive: 1, 2, 4). | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 6946 | // Step 4: Bind VAO 2, force resize of streamed buffer for attribute 3. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7083 | // Step 1: slots 0+1 active -> client-attrib merge -> single allocation under index 0. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7090 | // Step 2: the bypass. Draw once on the buffer-backed VAO. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7100 | // Step 3: slot 0 only active, streaming much bigger vertices to trigger backend streaming | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7106 | // Step 4: advance the queue serial -> the old block is released and destroyed. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7109 | // Step 5: groom, so the freed block is handed back out to a live BufferHelper. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VertexAttributeTest.cpp | 7118 | // Step 6: slot 2 only active. Slot 2 is buffer-backed, so nothing is streamed, but | COMMENT |
| LOW | src/tests/gl_tests/VertexAttributeTest.cpp | 6888 | // Step 1: Setup VAO 0 (default) and draw with prog1. | COMMENT |
| LOW | src/tests/gl_tests/VertexAttributeTest.cpp | 6909 | // Step 2: Bind VAO 1, force resize of streamed buffer for attribute 1. | COMMENT |
| LOW | src/tests/gl_tests/VertexAttributeTest.cpp | 6975 | // Step 5: Bind VAO 0, draw with prog3 (active: 0, 2, 4. Inactive: 1, 3). | COMMENT |
| LOW | src/tests/gl_tests/ComputeShaderTest.cpp | 5371 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/ComputeShaderTest.cpp | 5403 | // Step 2: load this image through compute | COMMENT |
| LOW | src/tests/gl_tests/ComputeShaderTest.cpp | 5474 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/ComputeShaderTest.cpp | 5506 | // Step 2: load this image through compute | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 1756 | // Step 2: Change max level and draw. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 1763 | // Step 3: Change max level back to original value and verify we hit the cache. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 8437 | // Step 1: Draw to start a render pass. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 8441 | // Step 2: Switch to fbo and clear it to set mRenderPassCommandBuffer to null, | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11089 | // Step 1: start a render pass on fboA with depthA -> populates | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11097 | // Step 2: invalidate depth so depthA is content-undefined when RP_A ends. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11114 | // Step 3: draw on fboB -> closes RP_A, opens RP_B, | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11118 | // Step 4: rebind fboA as the *draw* framebuffer. Front-end state only: | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11123 | // Step 5: delete depthA. This auto-detached from fboA. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11126 | // Step 6: glFinish(), which triggers submission. It should not access deleted render targets. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11158 | // Step 1: start a render pass on fboA with depthA | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11166 | // Step 2: invalidate depthA so that it is content-undefined. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11183 | // Step 3: draw on fboB | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11187 | // Step 4: rebind fboA as the draw framebuffer. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11190 | // Step 5: delete colA. This auto-detached from fboA and makes fboA dirty. | COMMENT |
| LOW⚡ | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 11193 | // Step 6: glFinish(), which triggers submission. It should not access any deleted objects. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 790 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 819 | // Step 2: Introduce a new 2D Texture with the same Program and Framebuffer. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 881 | // Step 1: Set up a simple 2D texture. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 914 | // Step 2: Load a new 2D Texture multiple times with the same Program and Framebuffer. The total | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 1727 | // Step 1: Set up a simple mipped 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 1780 | // Step 1: Set up four buffers for two copies. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 1808 | // Step 2: Do the two copies. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 6820 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 6855 | // Step 2: load this image through compute | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 6932 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 6978 | // Step 2: load this image through compute | COMMENT |
| LOW | src/tests/gl_tests/VulkanPerformanceCounterTest.cpp | 7039 | // Step 1: Set up a simple 2D Texture rendering loop. | COMMENT |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PRESUBMIT.py | 105 | CODE | |
| LOW | PRESUBMIT.py | 778 | CODE | |
| LOW | third_party/mesa/mesa_build.py | 49 | CODE | |
| LOW | third_party/wayland/wayland_scanner_wrapper.py | 23 | CODE | |
| LOW | scripts/generate_android_bp.py | 331 | CODE | |
| LOW | scripts/generate_android_bp.py | 443 | CODE | |
| LOW | scripts/generate_android_bp.py | 481 | CODE | |
| LOW | scripts/generate_android_bp.py | 507 | CODE | |
| LOW | scripts/generate_android_bp.py | 823 | CODE | |
| LOW | scripts/generate_android_bp.py | 1028 | CODE | |
| LOW | scripts/gen_interpreter_utils.py | 105 | CODE | |
| LOW | scripts/generate_entry_points.py | 1885 | CODE | |
| LOW | scripts/generate_entry_points.py | 2233 | CODE | |
| LOW | scripts/generate_entry_points.py | 2267 | CODE | |
| LOW | scripts/generate_entry_points.py | 3364 | CODE | |
| LOW | scripts/generate_entry_points.py | 3439 | CODE | |
| LOW | scripts/generate_entry_points.py | 3653 | CODE | |
| LOW | scripts/generate_entry_points.py | 1908 | CODE | |
| LOW | scripts/gen_vk_gl_cts_build.py | 92 | CODE | |
| LOW | scripts/export_targets.py | 134 | CODE | |
| LOW | scripts/export_targets.py | 311 | CODE | |
| LOW | scripts/export_targets.py | 140 | CODE | |
| LOW | scripts/run_code_generation.py | 165 | CODE | |
| LOW | scripts/process_angle_perf_results.py | 134 | CODE | |
| LOW | scripts/process_angle_perf_results.py | 187 | CODE | |
| LOW | scripts/process_angle_perf_results.py | 227 | CODE | |
| LOW | scripts/process_angle_perf_results.py | 511 | CODE | |
| LOW | scripts/gen_gl_enum_utils.py | 190 | CODE | |
| LOW | scripts/registry_xml.py | 586 | CODE | |
| LOW | scripts/registry_xml.py | 608 | CODE | |
| LOW | scripts/update_extension_data.py | 135 | CODE | |
| LOW | scripts/update_extension_data.py | 166 | CODE | |
| LOW | scripts/roll_chromium_deps.py | 301 | CODE | |
| LOW | scripts/roll_chromium_deps.py | 305 | CODE | |
| LOW | src/libANGLE/renderer/gen_angle_format_table.py | 290 | CODE | |
| LOW | src/libANGLE/renderer/angle_format.py | 71 | CODE | |
| LOW | src/libANGLE/renderer/angle_format.py | 120 | CODE | |
| LOW | src/libANGLE/renderer/angle_format.py | 187 | CODE | |
| LOW | src/libANGLE/renderer/angle_format.py | 240 | CODE | |
| LOW | src/libANGLE/renderer/angle_format.py | 268 | CODE | |
| LOW | src/libANGLE/renderer/gen_load_functions_table.py | 139 | CODE | |
| LOW | src/libANGLE/renderer/gen_dxgi_support_tables.py | 158 | CODE | |
| LOW | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 226 | CODE | |
| LOW | src/libANGLE/renderer/vulkan/gen_vk_internal_shaders.py | 263 | CODE | |
| LOW | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 259 | CODE | |
| LOW | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 473 | CODE | |
| LOW | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 533 | CODE | |
| LOW | src/libANGLE/renderer/vulkan/gen_vk_format_table.py | 134 | CODE | |
| LOW | src/libANGLE/renderer/gl/generate_gl_dispatch_table.py | 155 | CODE | |
| LOW | …ibANGLE/renderer/d3d/d3d11/gen_texture_format_table.py | 72 | CODE | |
| LOW | src/tests/capture_replay_tests.py | 234 | CODE | |
| LOW | src/tests/capture_replay_tests.py | 280 | CODE | |
| LOW | src/tests/capture_replay_tests.py | 585 | CODE | |
| LOW | src/tests/capture_replay_tests.py | 668 | CODE | |
| LOW | src/tests/capture_replay_tests.py | 122 | CODE | |
| LOW | src/tests/capture_replay_tests.py | 437 | CODE | |
| LOW | …c/tests/restricted_traces/retrace_restricted_traces.py | 392 | CODE | |
| LOW | …c/tests/restricted_traces/retrace_restricted_traces.py | 477 | CODE | |
| LOW | …c/tests/restricted_traces/retrace_restricted_traces.py | 668 | CODE | |
| LOW | …tests/restricted_traces/restricted_trace_gold_tests.py | 217 | CODE | |
| 31 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PRESUBMIT.py | 651 | except Exception as e: | STRING |
| LOW | PRESUBMIT.py | 663 | except Exception as e: | STRING |
| MEDIUM⚡ | tools/flex-bison/update_flex_bison_binaries.py | 46 | print('Error upload to cloud storage') | CODE |
| MEDIUM⚡ | tools/flex-bison/update_flex_bison_binaries.py | 51 | print('Error running git add') | CODE |
| MEDIUM⚡ | tools/glslang/update_glslang_binary.py | 49 | print('Error calling gn') | CODE |
| MEDIUM⚡ | tools/glslang/update_glslang_binary.py | 54 | print('Error calling ninja') | CODE |
| MEDIUM⚡ | tools/glslang/update_glslang_binary.py | 70 | print('Error upload to cloud storage') | CODE |
| MEDIUM⚡ | tools/glslang/update_glslang_binary.py | 75 | print('Error running git add') | CODE |
| LOW | scripts/roll_chromium_deps_v2.py | 421 | except Exception as e: | CODE |
| LOW | scripts/run_code_generation.py | 44 | except Exception: | CODE |
| MEDIUM | scripts/run_code_generation.py | 45 | print('Error with auto_script %s: %s, executable %s' % (param, script, exe)) | CODE |
| MEDIUM | scripts/process_angle_perf_results.py | 483 | def _upload_individual_benchmark(params): | CODE |
| MEDIUM | scripts/process_angle_perf_results.py | 493 | def _GetCpuCount(log=True): | CODE |
| LOW⚡ | scripts/process_angle_perf_results.py | 357 | except Exception: | CODE |
| LOW⚡ | scripts/process_angle_perf_results.py | 364 | except Exception: | CODE |
| LOW⚡ | scripts/process_angle_perf_results.py | 373 | except Exception: | CODE |
| LOW | scripts/process_angle_perf_results.py | 486 | except Exception: | CODE |
| LOW | scripts/process_angle_perf_results.py | 756 | except Exception: | CODE |
| MEDIUM⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 541 | print(f"Error reading {file_path}: {e}", file=sys.stderr) | CODE |
| MEDIUM⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 714 | print(f"Error: volk.h file not found: {volk_h_path}", file=sys.stderr) | CODE |
| MEDIUM⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 719 | print(f"Error: Search directory not found: {args.search_dir}", file=sys.stderr) | CODE |
| MEDIUM⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 728 | print("Error: No Vulkan functions found in volk.h", file=sys.stderr) | CODE |
| MEDIUM | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 231 | print(f"Error reading {volk_h_path}: {e}", file=sys.stderr) | CODE |
| LOW⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 540 | except Exception as e: | CODE |
| LOW | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 230 | except Exception as e: | CODE |
| LOW | src/tests/capture_replay_tests.py | 184 | except Exception: | CODE |
| LOW | src/tests/capture_replay_tests.py | 553 | except Exception: | CODE |
| LOW | src/tests/capture_tests/capture_tests.py | 166 | except Exception as e: | CODE |
| LOW | …c/tests/restricted_traces/retrace_restricted_traces.py | 576 | except Exception: | CODE |
| LOW | …tests/restricted_traces/restricted_trace_gold_tests.py | 580 | except Exception: | CODE |
| LOW | src/tests/restricted_traces/restricted_trace_perf.py | 639 | except Exception as e: | STRING |
| MEDIUM | src/tests/restricted_traces/restricted_trace_perf.py | 635 | def reader(): | CODE |
| LOW | src/tests/restricted_traces/gen_restricted_traces.py | 141 | except Exception as e: | STRING |
| MEDIUM | src/tests/restricted_traces/gen_restricted_traces.py | 142 | print(f'Error running lucicfg: {e}') | STRING |
| MEDIUM | src/tests/restricted_traces/gen_restricted_traces.py | 183 | print(f'Error: Too many CQ extra traces ({len(cq_extra_traces)}). Limit is {LIMIT_N}.') | STRING |
| LOW | …ests/restricted_traces/check_attribute_interleaving.py | 145 | except Exception as e: | CODE |
| LOW | …ests/restricted_traces/check_attribute_interleaving.py | 160 | except Exception as e: | CODE |
| MEDIUM | src/tests/py_utils/android_helper.py | 419 | print('Error: missing library: ' + local_path) | CODE |
| LOW | src/tests/py_utils/android_helper.py | 653 | except Exception as e: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/flex-bison/update_flex_bison_binaries.py | 17 | CODE | |
| LOW | include/platform/gen_features.py | 11 | CODE | |
| LOW | third_party/logdog/logdog/varint.py | 5 | CODE | |
| LOW | third_party/logdog/logdog/varint.py | 7 | CODE | |
| LOW | third_party/wayland/wayland_scanner_wrapper.py | 9 | CODE | |
| LOW | scripts/angle_presubmit_utils_unittest.py | 12 | CODE | |
| LOW | scripts/angle_presubmit_utils_unittest.py | 15 | CODE | |
| LOW | scripts/generate_entry_points.py | 11 | CODE | |
| LOW | scripts/apply_clang_format_on_all_sources.py | 12 | CODE | |
| LOW | scripts/gen_vk_gl_cts_build.py | 11 | CODE | |
| LOW | scripts/gen_vk_gl_cts_build.py | 14 | CODE | |
| LOW | scripts/export_targets.py | 51 | CODE | |
| LOW | scripts/export_targets.py | 54 | CODE | |
| LOW | scripts/process_angle_perf_results.py | 11 | CODE | |
| LOW | scripts/process_angle_perf_results.py | 58 | CODE | |
| LOW | scripts/registry_xml.py | 19 | CODE | |
| LOW | scripts/file_exists.py | 8 | CODE | |
| LOW | scripts/file_exists.py | 10 | CODE | |
| LOW | scripts/generate_loader.py | 11 | CODE | |
| LOW | scripts/generate_loader.py | 11 | CODE | |
| LOW | scripts/trigger.py | 48 | CODE | |
| LOW | src/libANGLE/renderer/gen_angle_format_table.py | 13 | CODE | |
| LOW | src/libANGLE/renderer/gen_angle_format_table.py | 15 | CODE | |
| LOW | src/libANGLE/renderer/gen_angle_format_table.py | 16 | CODE | |
| LOW | src/libANGLE/renderer/gen_load_functions_table.py | 13 | CODE | |
| LOW | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 17 | CODE | |
| LOW | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 18 | CODE | |
| LOW | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 20 | CODE | |
| LOW | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 21 | CODE | |
| LOW | src/libANGLE/renderer/metal/shaders/embed_in_header.py | 7 | CODE | |
| LOW | src/libANGLE/renderer/metal/shaders/metal_wrapper.py | 5 | CODE | |
| LOW | …GLE/renderer/metal/shaders/gen_mtl_internal_shaders.py | 10 | CODE | |
| LOW | src/libANGLE/renderer/wgpu/gen_wgpu_format_table.py | 10 | CODE | |
| LOW | src/libANGLE/renderer/wgpu/gen_wgpu_format_table.py | 11 | CODE | |
| LOW | src/libANGLE/renderer/wgpu/gen_wgpu_format_table.py | 12 | CODE | |
| LOW | src/libANGLE/renderer/wgpu/gen_wgpu_format_table.py | 14 | CODE | |
| LOW | src/libANGLE/renderer/vulkan/gen_vk_format_table.py | 10 | CODE | |
| LOW | src/libANGLE/renderer/vulkan/gen_vk_format_table.py | 11 | CODE | |
| LOW | src/libANGLE/renderer/vulkan/gen_vk_format_table.py | 12 | CODE | |
| LOW | src/libANGLE/renderer/gl/generate_gl_dispatch_table.py | 12 | CODE | |
| LOW | src/libANGLE/renderer/d3d/d3d11/gen_blit11helper.py | 11 | CODE | |
| LOW | …ibANGLE/renderer/d3d/d3d11/gen_texture_format_table.py | 13 | CODE | |
| LOW | src/tests/capture_replay_tests.py | 43 | CODE | |
| LOW | src/tests/run_angle_android_test.py | 14 | CODE | |
| LOW | src/tests/run_angle_android_test.py | 15 | CODE | |
| LOW | src/tests/run_angle_android_test.py | 16 | CODE | |
| LOW | src/tests/angle_android_test_runner.py | 15 | CODE | |
| LOW | src/tests/run_perf_tests.py | 13 | CODE | |
| LOW | src/tests/run_perf_tests.py | 14 | CODE | |
| LOW | …c/tests/restricted_traces/retrace_restricted_traces.py | 36 | CODE | |
| LOW | src/tests/restricted_traces/check_trace_diffs.py | 4 | CODE | |
| LOW | …tests/restricted_traces/restricted_trace_gold_tests.py | 19 | CODE | |
| LOW | …tests/restricted_traces/restricted_trace_gold_tests.py | 37 | CODE | |
| LOW | src/tests/restricted_traces/restricted_trace_perf.py | 44 | CODE | |
| LOW | …ts/restricted_traces/sync_restricted_traces_to_cipd.py | 19 | CODE | |
| LOW | src/tests/restricted_traces/gen_restricted_traces.py | 11 | CODE | |
| LOW | src/tests/restricted_traces/gen_restricted_traces.py | 12 | CODE | |
| LOW | src/tests/restricted_traces/gen_restricted_traces.py | 13 | CODE | |
| LOW | src/tests/py_utils/android_helper.py | 16 | CODE | |
| LOW | src/tests/py_utils/android_helper.py | 21 | CODE | |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/libANGLE/angletypes.h | 580 | // Get the number of supported samples that is at least as many as requested. Returns 0 if | COMMENT |
| HIGH | src/libANGLE/renderer/vulkan/ContextVk.cpp | 5280 | // rasterizer discard as requested. Otherwise disable it. | COMMENT |
| HIGH | src/libANGLE/renderer/gl/wgl/PbufferSurfaceWGL.cpp | 103 | // The returned pbuffer may not be as large as requested, update the size members. | COMMENT |
| HIGH | src/compiler/translator/glslang_lex_autogen.cpp | 14 | // Ignore errors in auto-generated code. | COMMENT |
| HIGH | src/compiler/translator/glslang_tab_autogen.cpp | 78 | // Ignore errors in auto-generated code. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/export_targets.py | 338 | except ValueError: | CODE |
| HIGH | scripts/process_angle_perf_results.py | 54 | except ImportError: | CODE |
| HIGH | scripts/trigger.py | 167 | except: | CODE |
| HIGH | src/commit_id.py | 147 | except: | CODE |
| HIGH | src/tests/capture_replay_tests.py | 553 | except Exception: | CODE |
| HIGH | src/tests/restricted_traces/restricted_trace_perf.py | 668 | except OSError: | CODE |
| HIGH | src/tests/py_utils/android_helper.py | 675 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .rustfmt.toml | 1 | # This file defines the Rust style for automatic reformatting. | COMMENT |
| MEDIUM⚡ | tools/flex-bison/third_party/skeletons/yacc.c | 207 | # Define the parsing function for START-SYMBOL-NUM. | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/yacc.c | 180 | # Define the return type of the parsing function for SYMBOL-NUM, and | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/lalr1.java | 44 | #Define a macro to be true when api.push - pull has the value "both". | COMMENT |
| MEDIUM | tools/flex-bison/third_party/skeletons/lalr1.java | 55 | #Define a macro to encapsulate the parse state variables.This | COMMENT |
| MEDIUM | scripts/roll_chromium_deps_v2.py | 1258 | # Create the commit message before adding the entry for the Chromium | COMMENT |
| MEDIUM | scripts/angle_deqp_bundle.py | 85 | # Create a script directly inside the zip file | STRING |
| MEDIUM | scripts/gen_vk_gl_cts_build.py | 170 | # Create the copy() commands | STRING |
| MEDIUM | scripts/process_angle_perf_results.py | 594 | # Create a place to write the perf results that you will write out to | COMMENT |
| MEDIUM | scripts/trigger.py | 161 | # Define a user tag. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PRESUBMIT.py | 797 | # Check if safety comment is on the same line. | STRING |
| LOW | scripts/roll_aosp.sh | 155 | # Check if we are inside an Android repo | COMMENT |
| LOW⚡ | scripts/generate_android_bp.py | 320 | # Check if the given gn build target type and target information matches with the target that generates C++ headers | COMMENT |
| LOW | scripts/roll_chromium_deps.py | 407 | # Check if an update is necessary. | COMMENT |
| LOW | src/libANGLE/renderer/metal/gen_mtl_format_table.py | 276 | # Check if the format can be override with swizzle feature | STRING |
| LOW⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 589 | # Check if this is a known vk function name or variation | COMMENT |
| LOW⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 597 | # Check if this function is in the denylist of non-Vulkan functions | COMMENT |
| LOW⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 603 | # Check if this is a call without arguments - Vulkan API calls always have arguments | COMMENT |
| LOW⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 712 | # Check if volk.h exists | COMMENT |
| LOW⚡ | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 717 | # Check if search directory exists | COMMENT |
| LOW | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 295 | # Check if this is followed by the delimiter and closing quote | COMMENT |
| LOW | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 498 | # Check if this belongs to a wrapping macro | COMMENT |
| LOW | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 621 | # Check if this is a member or namespace call (not a global Vulkan call) | COMMENT |
| LOW | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 627 | # Check if it's wrapped (by macro or inside timer scope) | COMMENT |
| LOW | src/libANGLE/renderer/vulkan/find_unwrapped_vk_calls.py | 755 | # Print results | COMMENT |
| LOW | src/tests/capture_replay_tests.py | 671 | # Set cwd to ANGLE root | COMMENT |
| LOW | src/tests/py_utils/android_helper.py | 202 | # Check if run-as works for the current user | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/generate_android_bp.py | 0 | // generated file - do not edit. // generated by {script_name} // // copyright 2020 the angle project authors. all right | STRING |
| HIGH | scripts/gen_vk_gl_cts_build.py | 0 | // generated file - do not edit. // generated by {script_name} // // copyright 2020 the angle project authors. all right | STRING |
| HIGH | src/libANGLE/renderer/metal/shaders/embed_in_header.py | 0 | // generated file - do not edit. // generated by {script_name} // // copyright 2020 the angle project authors. all right | STRING |
| HIGH | …GLE/renderer/metal/shaders/gen_mtl_internal_shaders.py | 0 | // generated file - do not edit. // generated by {script_name} // // copyright 2020 the angle project authors. all right | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | third_party/logdog/logdog/bootstrap.py | 70 | Returns: (StreamClient) stream client for the bootstrap streamserver URI. If the Butler accepts external stream con | STRING |
| HIGH | third_party/logdog/logdog/varint.py | 38 | Reads a uvarint from a stream. This is targeted towards testing, and will not be used in production code. Args: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | third_party/r8/playground/build.sh | 6 | # Usage: | COMMENT |
| LOW | scripts/angle_deqp_bundle.py | 15 | # Example usage: | COMMENT |
| LOW | scripts/winappsdk_setup.py | 11 | # Usage: | COMMENT |
| LOW | scripts/angle_trace_bundle.py | 15 | # Example usage: | COMMENT |
| LOW | src/common/base/anglebase/sha1.h | 41 | // Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | util/posix/crash_handler_posix.cpp | 224 | // ... and don't forget to trim off excess bytes. | COMMENT |
| LOW | …r/vulkan/shaders/src/third_party/ffx_spd/src/ffx_spd.h | 193 | // [SAMPLER] don't forget to add the define #SPD_LINEAR_SAMPLER :) | COMMENT |
| LOW | src/tests/perf_tests/TracePerfTest.cpp | 215 | // Don't forget to include KHRONOS_APIENTRY in override methods. Necessary on Win/x86. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/libANGLE/capture/serialize.cpp | 984 | // TODO: implement MEC context validation only after all contexts have been initialized | COMMENT |
| LOW | src/libANGLE/capture/serialize.cpp | 1131 | // TODO: implement MEC context validation only after all contexts have been initialized | COMMENT |
| LOW | src/libANGLE/renderer/vulkan/FramebufferVk.cpp | 3422 | // TODO: implement clear of layered framebuffers. UtilsVk::clearFramebuffer should add a | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | android/compress_symbols.py | 94 | CODE | |
| LOW | src/tests/py_utils/android_helper.py | 137 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/libANGLE/Platform.cpp | 54 | constexpr char kPlaceholder[] = "placeholder"; | CODE |