entity_id
stringlengths
36
36
source_system
stringclasses
3 values
raw_snippet
stringlengths
1
9.23M
normalized_structure
stringlengths
1
9.23M
applied_algorithm
stringclasses
3 values
complexity
stringclasses
11 values
ast_metadata
stringlengths
2
704
nl_alignment
stringlengths
2
150k
security_context
stringlengths
238
304k
data_flow_graph
stringlengths
2
4.44M
code_hash
stringlengths
64
64
created_at
stringlengths
25
32
80ff916c-e523-4a5e-bee2-420c96202dbc
GITHUB
/* * Copyright 2013 Red Hat, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This program is distribu...
#pragma once #include "clutter-cursor.h" TYPE_1 void FUNC_1 (TYPE_2 *VAR_2, float VAR_3, int VAR_4, int VAR_5); TYPE_1 void FUNC_2 (TYPE_2 *VAR_2); TYPE_1 VAR_28 FUNC_3 (TYPE_2 *VAR_2); TYPE_1 ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 368, "tree_depth": 9, "variables_renamed": 27, "functions_renamed": 15, "types_renamed": 7, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include ...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
97fa3114f63e680a8004fd6910ba254021698ea23e93d57a4909ea4922371d63
2026-06-03T02:56:46.699686+00:00
49967514-7a04-4430-be88-73f9661fa49f
GITHUB
/* * Copyright 2013 Red Hat, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This program is distribu...
#include "config.h" #include "clutter-color-state.h" #include "clutter-cursor-private.h" #include "cogl/cogl.h" enum { VAR_41, VAR_42, VAR_2 }; static TYPE_1 *VAR_1[VAR_2] = { 0, }; enum { VAR_43, VAR_4, }; static TYPE_2 VAR_3[VAR_4] = { 0, }; typedef struct TYPE_3 { TYPE_4 VAR_44; float VAR_45; TYPE_5 ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1677, "tree_depth": 15, "variables_renamed": 23, "functions_renamed": 38, "types_renamed": 14, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \"...
{}
{"is_vulnerable": true, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unknownMacro\" severity=\"error\" msg=\"There is an unknown macro here somewhere. Configuration is required. If G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE is a macro then please configure it.\" verbose=\"There is an unknown ma...
[{"from": "ClutterCursor", "to": "G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "clutter_cursor", "to": "G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "G_TYPE_OBJECT", "to": "G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "CLUTTER_CURSOR_GET_CLASS", "to":...
f7ab5f51d2d3ef41995e0ef07943900a85c9a5786402c2bc455ee3482b0ca7af
2026-06-03T02:56:52.222873+00:00
d6c0ab7a-6323-4b83-9813-2f67cff0e3e9
GITHUB
/* * Copyright 2013 Red Hat, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This program is distribu...
#pragma once #if !defined(VAR_9) && !defined(VAR_10) #error "Only <clutter/clutter.h> can be included directly." #endif #include "clutter/clutter-types.h" #include "cogl/cogl.h" #define VAR_1 (clutter_cursor_get_type ()) TYPE_1 VAR_2 (VAR_11, VAR_12, VAR_13, VAR_14, ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 225, "tree_depth": 10, "variables_renamed": 8, "functions_renamed": 0, "types_renamed": 6, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #if ...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;_ClutterCursorClass::get_texture&apos; is never used.\" verbose=\"struct member &apos;_ClutterCursorClass::get_texture&apos; is never used.\" cw...
[]
53263c3b11563430ca80d467e509fd1b58846d0d9f0dc6efbf0aba4967590ec6
2026-06-03T02:56:58.080198+00:00
f9f892c5-d6ff-4bd3-9aad-730e187c5a80
GITHUB
/* * Copyright (C) 2007,2008,2009,2010,2011 Intel Corporation. * Copyright (C) 2020 Red Hat Inc * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License...
#include "config.h" #include "clutter/clutter-damage-history.h" #define VAR_1 0x10 struct TYPE_1 { TYPE_2 *VAR_9[VAR_1]; int VAR_10; }; TYPE_3 * FUNC_1 (void) { TYPE_3 *VAR_3; VAR_3 = FUNC_2 (VAR_11, 1); return VAR_3; } void FUNC_3 (TYPE_3 *VAR_3) { int VAR_12; for (VAR_12 = 0; VAR_12 < FUNC_4 (VAR_3->VAR...
github_ast_structnorm
n
{"language": "cpp", "total_nodes": 397, "tree_depth": 11, "variables_renamed": 7, "functions_renamed": 12, "types_renamed": 4, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \" \...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[{"from": "g_new0", "to": "history", "type": "assignment"}, {"from": "ClutterDamageHistory", "to": "g_new0", "type": "call_arg"}, {"from": "history", "to": "G_N_ELEMENTS", "type": "call_arg"}, {"from": "mtk_region_unref", "to": "g_clear_pointer", "type": "call_arg"}, {"from": "history", "to": "g_free", "type": "call_ar...
7a09c3ed17d1eb8f657ecaebaeff1e47d2009ffb72f0289e6c48668e7535d751
2026-06-03T02:57:05.241772+00:00
3f4e3b33-3a55-4b93-bf0b-624af678d524
GITHUB
/* * Copyright (C) 2007,2008,2009,2010,2011 Intel Corporation. * Copyright (C) 2020 Red Hat Inc * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License...
#pragma once #include <glib.h> #include "clutter/clutter-macros.h" #include "mtk/mtk.h" typedef struct TYPE_1 TYPE_2; TYPE_3 ClutterDamageHistory * TYPE_4 (void); TYPE_3 void FUNC_1 (TYPE_2 *VAR_2); TYPE_3 VAR_9 FUNC_2 (TYPE_2 *VAR_2, int VAR_4); TYPE_3 vo...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 136, "tree_depth": 8, "variables_renamed": 8, "functions_renamed": 5, "types_renamed": 5, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include ( ...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
918fefab46c4f74ba1b03f5b8ed807266b461c894c4e2e6223f3ac31aec93197
2026-06-03T02:57:10.696440+00:00
98cff456-c897-4948-855c-8a5fd1f42e6b
GITHUB
#pragma once #include <glib.h> #include "clutter/clutter-main.h" G_BEGIN_DECLS #define CLUTTER_HAS_DEBUG(type) ((clutter_debug_flags & CLUTTER_DEBUG_##type) != FALSE) #ifdef __GNUC__ /* Try the GCC extension for valists in macros */ #define CLUTTER_NOTE(type,x,a...) G_STMT_START { \...
#pragma once #include <glib.h> #include "clutter/clutter-main.h" VAR_12 #define VAR_1(VAR_13) ((clutter_debug_flags & CLUTTER_DEBUG_##type) != FALSE) #ifdef VAR_2 #define VAR_3(VAR_13,VAR_14,VAR_15...) G_STMT_START { \ if (G_UNLIKELY (CLUTTER_HAS_DEBUG (type))) { ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 135, "tree_depth": 8, "variables_renamed": 11, "functions_renamed": 3, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include (...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
149122c62cf29f6c01965aed02fdf682ddb84fe60e9026c7d607db81b8615b45
2026-06-03T02:57:16.480630+00:00
ccbf9f9a-bd0c-4519-bf81-3f0fb31d624d
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2010 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#include "config.h" #include "cogl/cogl.h" #include "clutter/clutter-deform-effect.h" #include "clutter/clutter-debug.h" #include "clutter/clutter-enum-types.h" #include "clutter/clutter-paint-node.h" #include "clutter/clutter-paint-nodes.h" #include "clutter/clutter-private.h" #define VAR_1 32 typedef struct {...
github_ast_structnorm
n log n
{"language": "cpp", "total_nodes": 4006, "tree_depth": 19, "variables_renamed": 50, "functions_renamed": 94, "types_renamed": 33, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \"...
{}
{"is_vulnerable": true, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unknownMacro\" severity=\"error\" msg=\"There is an unknown macro here somewhere. Configuration is required. If G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE is a macro then please configure it.\" verbose=\"There is an unknown ma...
[{"from": "ClutterDeformEffect", "to": "G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "clutter_deform_effect", "to": "G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "CLUTTER_TYPE_OFFSCREEN_EFFECT", "to": "G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "G_S...
4a981b3c90e2909f2cf42dcca344a085683a57b97db4c719a26ace43bebe3d3b
2026-06-03T02:57:22.274228+00:00
2ef8067c-2fb0-4cfe-a2c1-72d497aa4a5a
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2010 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#pragma once #if !defined(VAR_15) && !defined(VAR_16) #error "Only <clutter/clutter.h> can be included directly." #endif #include "cogl/cogl.h" #include "clutter/clutter-offscreen-effect.h" VAR_17 #define VAR_1 (clutter_deform_effect_get_type ()) typedef struct TYPE_1 { float VAR_18, VAR_19, VAR_20; fl...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 261, "tree_depth": 9, "variables_renamed": 14, "functions_renamed": 5, "types_renamed": 11, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #if...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;_ClutterDeformEffectClass::deform_vertex&apos; is never used.\" verbose=\"struct member &apos;_ClutterDeformEffectClass::deform_vertex&apos; is ...
[]
45971770c43100fa596891260192f065c566ebac0b8e9634bf133dfb2a35c437
2026-06-03T02:57:28.316786+00:00
858b6e49-f64e-4e78-bfd8-640bc47a8069
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2010 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#include "config.h" #include <math.h> #include "clutter/clutter-desaturate-effect.h" #include "cogl/cogl.h" #include "clutter/clutter-debug.h" #include "clutter/clutter-enum-types.h" #include "clutter/clutter-private.h" typedef struct TYPE_1 { TYPE_2 VAR_29; TYPE_3 VAR_32; TYPE_3 VAR_33; TYPE_3 VAR_34; TYPE_4...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1235, "tree_depth": 12, "variables_renamed": 21, "functions_renamed": 46, "types_renamed": 21, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"constVariablePointer\" severity=\"style\" msg=\"Variable &apos;priv&apos; can be declared as pointer to const\" verbose=\"Variable &apos;priv&apos; can be declared as pointer to const\" cwe=\"398\" file0=\"C:/U...
[{"from": "ClutterDesaturateEffect", "to": "G_DEFINE_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "clutter_desaturate_effect", "to": "G_DEFINE_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "CLUTTER_TYPE_OFFSCREEN_EFFECT", "to": "G_DEFINE_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "CLUTTER_DESATURATE_EFF...
aa1341a7e462b4d7bb073edc5dd5897ba179cc6df0817fa57ae127b8b7d0a392
2026-06-03T02:57:34.038511+00:00
f656a5b1-fd79-4f4f-afea-7c58105975e9
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2010 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#pragma once #if !defined(VAR_7) && !defined(VAR_8) #error "Only <clutter/clutter.h> can be included directly." #endif #include "clutter/clutter-effect.h" #include "clutter/clutter-offscreen-effect.h" VAR_9 #define VAR_1 (clutter_desaturate_effect_get_type ()) struct TYPE_1 { TYPE_2 VAR_10; TYPE_3 *VAR_11;...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 133, "tree_depth": 8, "variables_renamed": 6, "functions_renamed": 2, "types_renamed": 7, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #if #...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;_ClutterDesaturateEffectClass::base_pipeline&apos; is never used.\" verbose=\"struct member &apos;_ClutterDesaturateEffectClass::base_pipeline&a...
[]
99680b121b7d7a60a77768f817f19245d5e49e390c7ff63bb8343bee71960ed6
2026-06-03T02:57:40.985338+00:00
371686ab-2132-4341-b8a9-623a4917efb5
GITHUB
#include "config.h" #include "clutter/clutter-easing.h" #include <math.h> double clutter_linear (double t, double d) { return t / d; } double clutter_ease_in_quad (double t, double d) { double p = t / d; return p * p; } double clutter_ease_out_quad (double t, ...
#include "config.h" #include "clutter/clutter-easing.h" #include <math.h> double FUNC_1 (double VAR_1, double VAR_2) { return VAR_1 / VAR_2; } double FUNC_2 (double VAR_1, double VAR_2) { double VAR_33 = VAR_1 / VAR_2; return VAR_33 * VAR_33; } double FUNC_3 (double VAR_1, ...
github_ast_structnorm
n
{"language": "cpp", "total_nodes": 3462, "tree_depth": 18, "variables_renamed": 19, "functions_renamed": 48, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \"...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[{"from": "G_PI_2", "to": "cos", "type": "call_arg"}, {"from": "G_PI_2", "to": "sin", "type": "call_arg"}, {"from": "d", "to": "cos", "type": "call_arg"}, {"from": "d", "to": "pow", "type": "call_arg"}, {"from": "p", "to": "pow", "type": "call_arg"}, {"from": "q", "to": "pow", "type": "call_arg"}, {"from": "p", "to": "...
dd114461d31103bbd853de117502292e255c973716a855eb6f5f940d3ad9520c
2026-06-03T02:57:46.928734+00:00
fc471346-a130-41d2-a86a-26fe3b1a64fb
GITHUB
#pragma once #include "clutter/clutter-types.h" G_BEGIN_DECLS /*< private > * ClutterEasingFunc: * @t: elapsed time * @d: total duration * * Internal type for the easing functions used by Clutter. * * Return value: the interpolated value, between -1.0 and 2.0 */ typedef double (* ClutterEasingFunc) (double t...
#pragma once #include "clutter/clutter-types.h" TYPE_1 typedef double (* VAR_45) (double VAR_4, double VAR_5); TYPE_2 const char * FUNC_1 (TYPE_3 VAR_2); TYPE_2 double FUNC_2 (TYPE_3 VAR_2, double ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 675, "tree_depth": 7, "variables_renamed": 44, "functions_renamed": 36, "types_renamed": 3, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include ...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
b000a04dc8d641ca5a45083ca0aeedd1c9549d51e99927caa4098663b1605606
2026-06-03T02:57:52.618864+00:00
82667b5e-70cc-4c06-b914-03c5dad2bd4c
GITHUB
#pragma once #include "clutter/clutter-effect.h" G_BEGIN_DECLS gboolean _clutter_effect_modify_paint_volume (ClutterEffect *effect, ClutterPaintVolume *volume); gboolean _clutter_effect_has_custom_paint_volume (ClutterEffect ...
#pragma once #include "clutter/clutter-effect.h" TYPE_1 VAR_11 FUNC_1 (TYPE_2 *VAR_2, TYPE_3 *VAR_3); TYPE_4 FUNC_2 (TYPE_2 *VAR_2); void FUNC_3 (TYPE_2 *VAR_2, ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 95, "tree_depth": 7, "variables_renamed": 10, "functions_renamed": 4, "types_renamed": 8, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include ( ...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
6d6cdc143e8e4a1432def400cf076334582e5bb20fa31d2d58801c125ed47ee6
2026-06-03T02:57:58.635087+00:00
dd44dc17-2169-4f38-84c4-6268818ff092
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2010 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#include "config.h" #include "clutter/clutter-effect.h" #include "clutter/clutter-actor-meta-private.h" #include "clutter/clutter-debug.h" #include "clutter/clutter-effect-private.h" #include "clutter/clutter-enum-types.h" #include "clutter/clutter-marshal.h" #include "clutter/clutter-paint-node-private.h" #include "cl...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 977, "tree_depth": 10, "variables_renamed": 17, "functions_renamed": 29, "types_renamed": 11, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \"...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"constParameterCallback\" severity=\"style\" msg=\"Parameter &apos;effect&apos; can be declared as pointer to const. However it seems that &apos;clutter_effect_real_pre_paint&apos; is a callback function, if &ap...
[{"from": "ClutterEffect", "to": "G_DEFINE_ABSTRACT_TYPE", "type": "call_arg"}, {"from": "clutter_effect", "to": "G_DEFINE_ABSTRACT_TYPE", "type": "call_arg"}, {"from": "CLUTTER_TYPE_ACTOR_META", "to": "G_DEFINE_ABSTRACT_TYPE", "type": "call_arg"}, {"from": "clutter_actor_meta_get_actor", "to": "actor", "type": "assign...
ebaa5a59ab00f7c5abc87f04b1fe6212ed6191bbe08182a31424ae96c94a880d
2026-06-03T02:58:04.313599+00:00
d6f11979-f95f-4d15-a286-a4914745a0f6
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2010 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#pragma once #if !defined(VAR_19) && !defined(VAR_20) #error "Only <clutter/clutter.h> can be included directly." #endif #include "clutter/clutter-actor-meta.h" #include "clutter/clutter-paint-context.h" #include "clutter/clutter-pick-context.h" VAR_21 #define VAR_1 (clutter_effect_get_type ()) TYPE_1 VAR_2...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 441, "tree_depth": 9, "variables_renamed": 18, "functions_renamed": 8, "types_renamed": 13, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #if...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
e82a0c6b7125dcbbb812ccb7a538a01d70c926fa162fc5b2f83f313085f22bbb
2026-06-03T02:58:11.191572+00:00
107718ad-f8ae-4113-971c-8f375a58ccff
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2011 Intel Corporation * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of...
#pragma once #if !defined(VAR_2) && !defined(VAR_3) #error "Only <clutter/clutter.h> can be included directly." #endif #include <glib-object.h> TYPE_1 typedef enum { VAR_4, VAR_5, VAR_6 } VAR_7; typedef enum { VAR_8, VAR_9, VAR_10 } TYPE_2; typedef enum { VAR_11 = 0, VAR_12, VAR_13, VAR_14, VAR_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 2090, "tree_depth": 9, "variables_renamed": 1, "functions_renamed": 0, "types_renamed": 53, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #if...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
72747897222b5946f7a68ef1bb5156de99ec37d11d639f143c330f8431512bf3
2026-06-03T02:58:17.130317+00:00
e9faa3be-cee4-4d75-bfe8-1602a2e212b6
GITHUB
#pragma once #include "clutter/clutter-event.h" G_BEGIN_DECLS typedef struct _ClutterModifierSet ClutterModifierSet; struct _ClutterModifierSet { ClutterModifierType pressed; ClutterModifierType latched; ClutterModifierType locked; }; CLUTTER_EXPORT ClutterEvent * clutter_event_key_new (ClutterEventType ...
#pragma once #include "clutter/clutter-event.h" TYPE_1 typedef struct VAR_57 VAR_1; struct TYPE_2 { TYPE_3 VAR_58; TYPE_3 VAR_59; TYPE_3 VAR_60; }; TYPE_4 ClutterEvent * TYPE_5 (TYPE_6 VAR_2, TYPE_7 VAR_3, int64_t VAR_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1039, "tree_depth": 9, "variables_renamed": 56, "functions_renamed": 6, "types_renamed": 44, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
0949266156789d5695f52ecb96979aa40f1a60a5580ba7e7136cb76dc2ad5ebe
2026-06-03T02:58:22.775913+00:00
c94eb108-c99d-4b5a-bb9e-1afadb195a89
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Authored By Matthew Allum <mallum@openedhand.com> * * Copyright (C) 2006 OpenedHand * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the...
#include "config.h" #include "clutter/clutter-backend-private.h" #include "clutter/clutter-context-private.h" #include "clutter/clutter-debug.h" #include "clutter/clutter-event-private.h" #include "clutter/clutter-keysyms.h" #include "clutter/clutter-input-device-tool.h" #include "clutter/clutter-input-focus.h" #includ...
github_ast_structnorm
n
{"language": "cpp", "total_nodes": 13648, "tree_depth": 16, "variables_renamed": 90, "functions_renamed": 133, "types_renamed": 71, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( ...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-119"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unknownMacro\" severity=\"error\" msg=\"There is an unknown macro here somewhere. Configuration is required. If G_GINT64_FORMAT is a macro then please configure it.\" verbose=\"There is an unknown macro here so...
[{"from": "ClutterEvent", "to": "G_DEFINE_BOXED_TYPE", "type": "call_arg"}, {"from": "clutter_event", "to": "G_DEFINE_BOXED_TYPE", "type": "call_arg"}, {"from": "clutter_event_copy", "to": "G_DEFINE_BOXED_TYPE", "type": "call_arg"}, {"from": "clutter_event_free", "to": "G_DEFINE_BOXED_TYPE", "type": "call_arg"}, {"from...
f9743c4354f9c8452a6f9f99468f3943e19c1f267b95baf08cdaf406c910ef23
2026-06-03T02:58:28.827419+00:00
69d0065f-eda0-4a8d-9209-ba825c5c4054
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Authored By Matthew Allum <mallum@openedhand.com> * * Copyright (C) 2006 OpenedHand * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the...
#pragma once #if !defined(VAR_90) && !defined(VAR_91) #error "Only <clutter/clutter.h> can be included directly." #endif #include "clutter/clutter-types.h" #include "clutter/clutter-input-device.h" VAR_92 #define VAR_1 (clutter_event_get_type ()) #define VAR_2 (clutter_event_sequence_get_type ()) #define VAR_3 ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1382, "tree_depth": 9, "variables_renamed": 89, "functions_renamed": 38, "types_renamed": 59, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
f1f02fc8ef858b369058905fc03834127559a4d3dedae8a8ac3fbeea1d5ddec5
2026-06-03T02:58:34.637028+00:00
1ae770f8-f56f-43f3-90ef-150a19605606
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2009 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#include "config.h" #include "clutter/clutter-debug.h" #include "clutter/clutter-fixed-layout.h" #include "clutter/clutter-private.h" FUNC_1 (VAR_30, VAR_31, VAR_32); static void FUNC_2 (TYPE_1 *VAR_1, TYPE_2 *VAR_2, ...
github_ast_structnorm
n
{"language": "cpp", "total_nodes": 752, "tree_depth": 11, "variables_renamed": 24, "functions_renamed": 18, "types_renamed": 8, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \" ...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"constParameterPointer\" severity=\"style\" msg=\"Parameter &apos;self&apos; can be declared as pointer to const\" verbose=\"Parameter &apos;self&apos; can be declared as pointer to const\" cwe=\"398\" file0=\"C...
[{"from": "ClutterFixedLayout", "to": "G_DEFINE_TYPE", "type": "call_arg"}, {"from": "clutter_fixed_layout", "to": "G_DEFINE_TYPE", "type": "call_arg"}, {"from": "CLUTTER_TYPE_LAYOUT_MANAGER", "to": "G_DEFINE_TYPE", "type": "call_arg"}, {"from": "CLUTTER_ACTOR", "to": "actor", "type": "assignment"}, {"from": "container...
432514dad3d06f159ca6ff0c187dbb4f76b6d666d9bd2c9f3dc3f531508c3132
2026-06-03T02:58:40.319128+00:00
b6accbb2-2c36-470a-ac17-41b7ad1cdad2
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2009 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#pragma once #if !defined(VAR_3) && !defined(VAR_4) #error "Only <clutter/clutter.h> can be included directly." #endif #include "clutter/clutter-layout-manager.h" VAR_5 #define VAR_1 (clutter_fixed_layout_get_type ()) TYPE_1 VAR_2 (VAR_6, VAR_7, VAR_8, V...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 86, "tree_depth": 8, "variables_renamed": 2, "functions_renamed": 0, "types_renamed": 4, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #if #i...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
e48f928133731df712d6d8bedeb59bd7305d3bc1cdde90df4e1271ae855f6e6f
2026-06-03T02:58:46.004451+00:00
303e02ec-b3cd-4544-b8d7-d642a15c48eb
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2011 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#include "config.h" #include "clutter/clutter-flatten-effect.h" #include "clutter/clutter-private.h" #include "clutter/clutter-actor-private.h" struct TYPE_1 { TYPE_2 VAR_3; }; FUNC_1 (VAR_4, VAR_5, VAR_6); static void FUNC_2 (TYPE_3 *VAR_1) { } static void FUNC_3 (TYPE_4 *VAR_2) { } TYP...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 108, "tree_depth": 8, "variables_renamed": 2, "functions_renamed": 5, "types_renamed": 5, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \" \" ...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"constParameterPointer\" severity=\"style\" msg=\"Parameter &apos;klass&apos; can be declared as pointer to const\" verbose=\"Parameter &apos;klass&apos; can be declared as pointer to const\" cwe=\"398\" file0=\...
[{"from": "ClutterFlattenEffect", "to": "G_DEFINE_TYPE", "type": "call_arg"}, {"from": "_clutter_flatten_effect", "to": "G_DEFINE_TYPE", "type": "call_arg"}, {"from": "CLUTTER_TYPE_OFFSCREEN_EFFECT", "to": "G_DEFINE_TYPE", "type": "call_arg"}, {"from": "CLUTTER_TYPE_FLATTEN_EFFECT", "to": "g_object_new", "type": "call_...
59e8e190a1210ca40e155feed6adbc00e4bad42830584f8a74f8c8c8b0853167
2026-06-03T02:58:52.226693+00:00
52ec40d7-5f56-4cea-988f-88d34b8e8009
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2011 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#pragma once #include "clutter/clutter-offscreen-effect.h" VAR_4 #define VAR_1 (_clutter_flatten_effect_get_type ()) TYPE_1 VAR_2 (VAR_5, VAR_6, VAR_7, VAR_8, VAR_9) TYPE_2 *FUNC_1 (void); VAR_10
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 49, "tree_depth": 7, "variables_renamed": 3, "functions_renamed": 1, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include ( #...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
066c226b744881e3f358580337ab52d7ca0fa477f0bbb450e572f9ab32d25fad
2026-06-03T02:58:58.096628+00:00
9de4f533-f3d6-46ab-b8a6-baaa32ad0557
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2009 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#include "config.h" #include <math.h> #include "clutter/clutter-actor.h" #include "clutter/clutter-animatable.h" #include "clutter/clutter-debug.h" #include "clutter/clutter-enum-types.h" #include "clutter/clutter-flow-layout.h" #include "clutter/clutter-layout-meta.h" #include "clutter/clutter-private.h" struct TYPE_1...
github_ast_structnorm
log n
{"language": "cpp", "total_nodes": 6453, "tree_depth": 20, "variables_renamed": 67, "functions_renamed": 73, "types_renamed": 19, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \"...
{}
{"is_vulnerable": true, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unknownMacro\" severity=\"error\" msg=\"There is an unknown macro here somewhere. Configuration is required. If G_DEFINE_FINAL_TYPE is a macro then please configure it.\" verbose=\"There is an unknown macro here somewhe...
[{"from": "ClutterFlowLayout", "to": "G_DEFINE_FINAL_TYPE", "type": "call_arg"}, {"from": "clutter_flow_layout", "to": "G_DEFINE_FINAL_TYPE", "type": "call_arg"}, {"from": "CLUTTER_TYPE_LAYOUT_MANAGER", "to": "G_DEFINE_FINAL_TYPE", "type": "call_arg"}, {"from": "self", "to": "get_columns", "type": "call_arg"}, {"from":...
4e22b52f83c24dc373e4fa427b41a52fbe4ae54927de42c58d36900e5e858e65
2026-06-03T02:59:04.008342+00:00
746cf7ff-877b-4877-a953-39c6ef2820f7
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2009 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 o...
#pragma once #if !defined(VAR_26) && !defined(VAR_27) #error "Only <clutter/clutter.h> can be included directly." #endif #include "clutter/clutter-layout-manager.h" VAR_28 #define VAR_1 (clutter_flow_layout_get_type ()) TYPE_1 VAR_2 (VAR_29, VAR_30, VAR_31, VAR...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 346, "tree_depth": 8, "variables_renamed": 25, "functions_renamed": 13, "types_renamed": 6, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #if...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
90213833bf865055e96193bd171d9892bfb282699fad77433fa86ef8b9f8139e
2026-06-03T02:59:10.012229+00:00
45a88d24-5cc7-4ede-8e9e-07f77d14a3a4
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2024 Red Hat Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the L...
#pragma once #if !defined(VAR_14) && !defined(VAR_15) #error "Only <clutter/clutter.h> can be included directly." #endif #include "clutter/clutter-focus.h" TYPE_1 * FUNC_1 (TYPE_2 *VAR_2); TYPE_3 FUNC_2 (TYPE_2 *VAR_2, TYPE_4 *VAR_4, ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 168, "tree_depth": 9, "variables_renamed": 13, "functions_renamed": 5, "types_renamed": 9, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #if ...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
e16f0e9e40eae023852245ec6c11fd812b35d0d8d6ff1f5cbe088ec6c2964a29
2026-06-03T02:59:17.780714+00:00
efdd8c5c-7e9d-4bfd-879e-f989eb00d05a
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2024 Red Hat Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the L...
#include "config.h" #include "clutter/clutter-focus-private.h" #include "clutter/clutter-grab.h" #include "clutter/clutter-stage.h" enum { VAR_30, VAR_31, VAR_2, }; static TYPE_1 *VAR_1[VAR_2] = { 0, }; typedef struct TYPE_2 { TYPE_3 *VAR_32; } TYPE_4; FUNC_1 (VAR_33, VAR_34, VAR_35) static void FUNC_2 (TYPE_5 ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 861, "tree_depth": 11, "variables_renamed": 18, "functions_renamed": 22, "types_renamed": 15, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \" ...
{}
{"is_vulnerable": true, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unknownMacro\" severity=\"error\" msg=\"There is an unknown macro here somewhere. Configuration is required. If G_DEFINE_TYPE_WITH_PRIVATE is a macro then please configure it.\" verbose=\"There is an unknown macro here ...
[{"from": "ClutterFocus", "to": "G_DEFINE_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "clutter_focus", "to": "G_DEFINE_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "G_TYPE_OBJECT", "to": "G_DEFINE_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "CLUTTER_FOCUS", "to": "focus", "type": "assignment"}, {"from"...
16e07f5f1e27624c1752d593ab9e641f6ee5e90147dd2ae877525055eb1806c6
2026-06-03T02:59:25.831535+00:00
e43be06c-6df5-49ba-a34e-6af1599e5bd6
GITHUB
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2024 Red Hat Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the L...
#pragma once #if !defined(VAR_11) && !defined(VAR_12) #error "Only <clutter/clutter.h> can be included directly." #endif #include "clutter/clutter-grab.h" #include "clutter/clutter-types.h" #define VAR_1 (clutter_focus_get_type ()) TYPE_1 VAR_2 (VAR_13, VAR_14, VAR_15...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 213, "tree_depth": 10, "variables_renamed": 10, "functions_renamed": 0, "types_renamed": 9, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #if...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;_ClutterFocusClass::set_current_actor&apos; is never used.\" verbose=\"struct member &apos;_ClutterFocusClass::set_current_actor&apos; is never ...
[]
6bec266ae8af3a191cdf0ebd1c10b01cf08728affd9cea161fce6b7334dda5eb
2026-06-03T02:59:33.641284+00:00
08971db2-79db-4481-b78d-9286e95e19c6
GITHUB
/* * Copyright (C) 2019 Red Hat Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library i...
#include "config.h" #include "clutter/clutter-frame-clock.h" #include <glib/gstdio.h> #ifdef VAR_1 #include <sys/timerfd.h> #include <time.h> #endif #include "clutter/clutter-debug.h" #include "clutter/clutter-frame-private.h" #include "clutter/clutter-main.h" #include "clutter/clutter-private.h" #include "clutter/clut...
github_ast_structnorm
n
{"language": "cpp", "total_nodes": 9926, "tree_depth": 18, "variables_renamed": 97, "functions_renamed": 123, "types_renamed": 38, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \...
{}
{"is_vulnerable": true, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unknownMacro\" severity=\"error\" msg=\"There is an unknown macro here somewhere. Configuration is required. If G_DEFINE_ABSTRACT_TYPE is a macro then please configure it.\" verbose=\"There is an unknown macro here some...
[{"from": "ClutterFrameClockDriver", "to": "G_DEFINE_ABSTRACT_TYPE", "type": "call_arg"}, {"from": "clutter_frame_clock_driver", "to": "G_DEFINE_ABSTRACT_TYPE", "type": "call_arg"}, {"from": "G_TYPE_OBJECT", "to": "G_DEFINE_ABSTRACT_TYPE", "type": "call_arg"}, {"from": "ClutterFrameClock", "to": "G_DEFINE_TYPE", "type"...
15efd25a8998085ac97687101b3e0951e1f00e7483de60934bdc36bd00a021e8
2026-06-03T03:01:42.307865+00:00
d9385d81-8157-48aa-a1a1-3b46e0aee286
GITHUB
/* * Copyright (C) 2019 Red Hat Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library i...
#pragma once #if !defined(VAR_41) && !defined(VAR_42) #error "Only <clutter/clutter.h> can be included directly." #endif #include <glib.h> #include <glib-object.h> #include <stdint.h> #include "clutter/clutter-types.h" typedef enum TYPE_1 { VAR_43, VAR_44, VAR_45, } TYPE_2; #define VAR_1 (clutter_frame_clock_driv...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 623, "tree_depth": 11, "variables_renamed": 40, "functions_renamed": 19, "types_renamed": 17, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #...
{}
{"is_vulnerable": true, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"syntaxError\" severity=\"error\" msg=\"syntax error\" verbose=\"syntax error\" file0=\"C:/Users/SMAILB~1/AppData/Local/Temp/tmpdz3je962.cpp\">"}], "auto_labeled": true, "risk_scoring": {"base_score": 5.0, "attack_surfac...
[]
41beabb5aa37c4871731cdfd9e5087cc12de8f04102177ac6620f187f5c951ad
2026-06-03T03:01:50.826756+00:00
e8f0960a-72bb-4d6b-ba58-99a4204b4113
GITHUB
/* * Copyright (C) 2020 Red Hat Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library i...
#pragma once #include "clutter/clutter-frame.h" typedef void (* TYPE_1) (TYPE_2 *VAR_1); struct TYPE_3 { TYPE_4 VAR_5; TYPE_1 VAR_3; int64_t VAR_6; TYPE_5 VAR_7; TYPE_5 VAR_8; int64_t VAR_9; TYPE_5 VAR_10; int64_t VAR_11; TYPE_5 VAR_12; TYPE_6 VAR_13; }; TYPE_7 VAR_14 FUNC_1 (size_t siz...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 118, "tree_depth": 7, "variables_renamed": 4, "functions_renamed": 1, "types_renamed": 7, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include ( ...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;_ClutterFrame::release&apos; is never used.\" verbose=\"struct member &apos;_ClutterFrame::release&apos; is never used.\" cwe=\"563\" file0=\"C:...
[]
85d65a09d71b6cc4420dc657b419b16acb6a1129be7032d8b06ad63358f957bf
2026-06-03T03:01:57.237727+00:00
7d6b0c72-0f57-44e0-816e-5ed5521b8380
GITHUB
/* * Copyright (C) 2020 Red Hat Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library i...
#include "config.h" #include "clutter/clutter-frame-private.h" FUNC_1 (VAR_7, VAR_8, FUNC_2, FUNC_3) TYPE_1 * FUNC_2 (TYPE_1 *VAR_1) { FUNC_4 (&VAR_1->VAR_9); return VAR_1; } void FUNC_3 (TYPE_1 *VAR_1) { if (FUNC_5 (&VAR_1->VAR_9)) { if (VAR_1->VAR_2) V...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 447, "tree_depth": 10, "variables_renamed": 5, "functions_renamed": 18, "types_renamed": 5, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \" \"...
{}
{"is_vulnerable": true, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unknownMacro\" severity=\"error\" msg=\"There is an unknown macro here somewhere. Configuration is required. If G_DEFINE_BOXED_TYPE is a macro then please configure it.\" verbose=\"There is an unknown macro here somewhe...
[{"from": "ClutterFrame", "to": "G_DEFINE_BOXED_TYPE", "type": "call_arg"}, {"from": "clutter_frame", "to": "G_DEFINE_BOXED_TYPE", "type": "call_arg"}, {"from": "clutter_frame_ref", "to": "G_DEFINE_BOXED_TYPE", "type": "call_arg"}, {"from": "clutter_frame_unref", "to": "G_DEFINE_BOXED_TYPE", "type": "call_arg"}, {"from...
d15bb0d582aca3b2c58c8aaf36752e6246c925ab9165be4063171660b695fc8e
2026-06-03T03:02:04.243607+00:00
070ddaed-e49a-4b4b-856c-adaf30b65a83
GITHUB
/* * Copyright (C) 2020 Red Hat Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library i...
#pragma once #if !defined(VAR_13) && !defined(VAR_14) #error "Only <clutter/clutter.h> can be included directly." #endif #include "clutter/clutter-frame-clock.h" typedef struct TYPE_1 TYPE_2; #define VAR_1 (clutter_frame_get_type ()) TYPE_3 VAR_15 FUNC_1 (void); TYPE_3 ClutterFrame * TYPE_4 (TYPE_2 *VAR_3); TYPE_3 void...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 190, "tree_depth": 9, "variables_renamed": 12, "functions_renamed": 8, "types_renamed": 5, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #if ...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[{"from": "ClutterFrame", "to": "G_DEFINE_AUTOPTR_CLEANUP_FUNC", "type": "call_arg"}, {"from": "clutter_frame_unref", "to": "G_DEFINE_AUTOPTR_CLEANUP_FUNC", "type": "call_arg"}]
39f5c0199c61672f80bf98f355fbe308a2a38d289b7610788bd42d6244904cab
2026-06-03T03:02:11.114481+00:00
963a96e8-d944-43e3-ae61-aa5a76028ff9
GITHUB
/* * Copyright (C) 2023 Jonas Dreßler <verdre@v0yd.nl> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. *...
#include "config.h" #include "clutter-gesture.h" #include "clutter-debug.h" #include "clutter-enum-types.h" #include "clutter-marshal.h" #include "clutter-private.h" #include "clutter-stage-private.h" #include <graphene.h> static const char * VAR_1[] = { "WAITING", "POSSIBLE", "RECOGNIZING", "COMPLETED", "CAN...
github_ast_structnorm
n
{"language": "cpp", "total_nodes": 9177, "tree_depth": 16, "variables_renamed": 77, "functions_renamed": 131, "types_renamed": 34, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \...
{}
{"is_vulnerable": true, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unknownMacro\" severity=\"error\" msg=\"There is an unknown macro here somewhere. Configuration is required. If G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE is a macro then please configure it.\" verbose=\"There is an unknown ma...
[{"from": "CLUTTER_N_GESTURE_STATES", "to": "G_STATIC_ASSERT", "type": "call_arg"}, {"from": "ClutterGesture", "to": "G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "clutter_gesture", "to": "G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE", "type": "call_arg"}, {"from": "CLUTTER_TYPE_ACTION", "to": "G_DEFINE_A...
f53bf955748f442ca73561b6f5c976892232f7caaf2f7ffb4506c68a47043ae2
2026-06-03T03:02:18.073168+00:00
fe76dcfd-c4fa-4c85-856f-03f3aad7c902
GITHUB
/* * Copyright (C) 2023 Jonas Dreßler <verdre@v0yd.nl> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. *...
#pragma once #if !defined(VAR_35) && !defined(VAR_36) #error "Only <clutter/clutter.h> can be included directly." #endif #include <clutter/clutter-action.h> VAR_37 #define VAR_1 (clutter_gesture_get_type ()) TYPE_1 VAR_2 (VAR_38, VAR_39, VAR_40, VAR_41, VAR_42) struct TYPE_2 { TYPE_3 VAR_43;...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 651, "tree_depth": 9, "variables_renamed": 34, "functions_renamed": 12, "types_renamed": 12, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_if ( #i...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
60b53dbad6e8a58925003c2f4106f03335fb3065954bf08a0f58ea0322792674
2026-06-03T03:02:25.154183+00:00
217c13ed-ed1e-4aad-b927-02d98ffca3e0
GITHUB
/* * Clutter. * * Copyright (C) 2023 Red Hat Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * *...
#pragma once #include "clutter-grab.h" #include "clutter-stage.h" TYPE_1 struct VAR_13 { TYPE_2 VAR_14; TYPE_3 *VAR_8; TYPE_4 *VAR_9; TYPE_5 VAR_10; TYPE_6 *VAR_15; TYPE_6 *VAR_16; }; TYPE_6 * FUNC_1 (TYPE_3 *VAR_8, TYPE_4 *VAR_9, TYPE_5 V...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 99, "tree_depth": 8, "variables_renamed": 9, "functions_renamed": 2, "types_renamed": 6, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include ( #...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;_ClutterGrab::stage&apos; is never used.\" verbose=\"struct member &apos;_ClutterGrab::stage&apos; is never used.\" cwe=\"563\" file0=\"C:/Users...
[]
fc89d2415c3991f9c6c754afd7ea5a271e4e0be196af15c831cab46bcd7487ed
2026-06-03T03:02:32.324800+00:00
ed048c2d-c654-4d5a-9237-21b6e82c2668
GITHUB
/* * Clutter. * * Copyright (C) 2023 Red Hat Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * *...
#include "config.h" #include "clutter-grab-private.h" #include "clutter-private.h" enum { VAR_16, VAR_17, VAR_2, }; static TYPE_1 *VAR_1[VAR_2] = { 0, }; FUNC_1 (VAR_18, VAR_19, VAR_20) static void FUNC_2 (TYPE_2 *VAR_3) { FUNC_3 (FUNC_4 (VAR_3)); FUNC_5 (VAR_21)->VAR_22 (VAR_3); } static void FUNC_6 (TYPE_2 ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 558, "tree_depth": 12, "variables_renamed": 12, "functions_renamed": 22, "types_renamed": 10, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content config.h ) string_content ( \" ...
{}
{"is_vulnerable": true, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unknownMacro\" severity=\"error\" msg=\"There is an unknown macro here somewhere. Configuration is required. If G_DEFINE_FINAL_TYPE is a macro then please configure it.\" verbose=\"There is an unknown macro here somewhe...
[{"from": "ClutterGrab", "to": "G_DEFINE_FINAL_TYPE", "type": "call_arg"}, {"from": "clutter_grab", "to": "G_DEFINE_FINAL_TYPE", "type": "call_arg"}, {"from": "G_TYPE_OBJECT", "to": "G_DEFINE_FINAL_TYPE", "type": "call_arg"}, {"from": "CLUTTER_GRAB", "to": "clutter_grab_dismiss", "type": "call_arg"}, {"from": "object",...
93a6401f660699034183e7f0135b72a62825dd42069fcfdf8e7d888cddc3c990
2026-06-03T03:02:39.331956+00:00
60f06d0a-da18-4285-9484-d48996ae5cda
GITHUB
/** * \file aes.h * \brief Header defining the API for OQS AES; not part of the public OQS API * * <b>Note this is not part of the OQS public API: implementations within liboqs can use these * functions, but external consumers of liboqs should not use these functions.</b> * * SPDX-License-Identifier: MIT */ #i...
#ifndef VAR_1 #define VAR_1 #include <stdint.h> #include <stdlib.h> #include <oqs/aes_ops.h> #if defined(VAR_30) extern "C" { #endif void FUNC_1(const uint8_t *VAR_3, void **VAR_4); void FUNC_2(const uint8_t *VAR_3, void **VAR_4); void FUNC_3(const uint8_t *VAR_7, size_t VAR_8, void *VAR_4); void FUNC_4(uint64_t VAR_7,...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 485, "tree_depth": 12, "variables_renamed": 29, "functions_renamed": 17, "types_renamed": 0, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
4bf812c6c36110dd6290bd835f18c3cc44837d48e4c8f7037a2c08bbe16d3fb8
2026-06-03T03:02:48.290675+00:00
5618f399-c03a-4010-854f-0669b87801e0
GITHUB
/** * \file aes_ops.h * \brief Header defining the callback API for OQS AES * * SPDX-License-Identifier: MIT */ #ifndef OQS_AES_OPS_H #define OQS_AES_OPS_H #include <stdint.h> #include <stdlib.h> #include <oqs/common.h> #if defined(__cplusplus) extern "C" { #endif /** Data structure implemented by cryptograph...
#ifndef VAR_1 #define VAR_1 #include <stdint.h> #include <stdlib.h> #include <oqs/common.h> #if defined(VAR_15) extern "C" { #endif struct TYPE_1 { void (*VAR_16)(const uint8_t *VAR_2, void **VAR_3); void (*VAR_17)(const uint8_t *VAR_2, void **VAR_3); void (*VAR_18)(const uint8_t *VAR_4, size_t VAR_5, void *VAR_3); ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 594, "tree_depth": 14, "variables_renamed": 14, "functions_renamed": 1, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;OQS_AES_callbacks::AES128_ECB_load_schedule&apos; is never used.\" verbose=\"struct member &apos;OQS_AES_callbacks::AES128_ECB_load_schedule&apo...
[]
d956af1540dd44db8450a4d1e2e81c2130bc96539f749deb61daf3a23afb94b0
2026-06-03T03:02:55.485205+00:00
1e212a61-1d7e-46d8-b77f-b79a42d6c1b7
GITHUB
/** * \file common.h * \brief Utility functions for use in liboqs. * * SPDX-License-Identifier: MIT */ #ifndef OQS_COMMON_H #define OQS_COMMON_H #include <limits.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <oqs/oqsconfig.h> #if defined(__cplusplus) extern "C" { #endif /** * Macro f...
#ifndef VAR_1 #define VAR_1 #include <limits.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <oqs/oqsconfig.h> #if defined(VAR_32) extern "C" { #endif #define VAR_2(VAR_33, VAR_34) \ do { ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 469, "tree_depth": 12, "variables_renamed": 31, "functions_renamed": 15, "types_renamed": 3, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
4d5a13310775dd2945a94037a8864a5f6decdfeda915061230d18aa37db54a6c
2026-06-03T03:03:06.203820+00:00
4cd54ad4-49f8-4e78-833c-ac99c0f49b97
GITHUB
/** * \file kem.h * \brief Key encapsulation mechanisms * * The file `tests/example_kem.c` contains two examples on using the OQS_KEM API. * * The first example uses the individual scheme's algorithms directly and uses * no dynamic memory allocation -- all buffers are allocated on the stack, with * sizes indica...
#ifndef VAR_1 #define VAR_1 #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <oqs/oqs.h> #if defined(VAR_64) extern "C" { #endif #define VAR_2 "BIKE-L1" #define VAR_3 "BIKE-L3" #define VAR_4 "BIKE-L5" #define VAR_5 "Classic-McEliece-348864" #define VAR_6 "Classic-McEliece-348864f" #define VAR_7 "Cl...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 736, "tree_depth": 14, "variables_renamed": 63, "functions_renamed": 10, "types_renamed": 3, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;OQS_KEM::method_name&apos; is never used.\" verbose=\"struct member &apos;OQS_KEM::method_name&apos; is never used.\" cwe=\"563\" file0=\"C:/Use...
[]
2c25070077591f65d713eba0d9a4cade0f9fedb8dad9d804b5aa03f1f3ef45f7
2026-06-03T03:03:13.383215+00:00
6a71037b-f061-4648-adde-afa5e3a09e70
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_KEM_BIKE_H #define OQS_KEM_BIKE_H #include <oqs/oqs.h> // Round-4 KEMs #ifdef OQS_ENABLE_KEM_bike_l1 #define OQS_KEM_bike_l1_length_secret_key 5223 #define OQS_KEM_bike_l1_length_public_key 1541 #define OQS_KEM_bike_l1_length_ciphertext 1573 #define OQS_KEM_bike_l1_length_...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #ifdef VAR_2 #define VAR_3 5223 #define VAR_4 1541 #define VAR_5 1573 #define VAR_6 32 #define VAR_7 0 #define VAR_8 0 TYPE_1 *FUNC_1(void); TYPE_2 VAR_46 FUNC_2(uint8_t *VAR_11, uint8_t *VAR_12); TYPE_2 VAR_46 FUNC_3(uint8_t *VAR_11, uint8_t *VAR_12, const uint8_t *VAR_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 578, "tree_depth": 9, "variables_renamed": 45, "functions_renamed": 18, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
0e79d3f7e5f8072a9eedc26f01646085d19c48eca0d6e114f6078f0dff7dbf9b
2026-06-03T03:03:20.072958+00:00
6864e10c-0a40-4a17-8c98-08ad1586a77d
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_KEM_CLASSIC_MCELIECE_H #define OQS_KEM_CLASSIC_MCELIECE_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_KEM_classic_mceliece_348864) #define OQS_KEM_classic_mceliece_348864_length_public_key 261120 #define OQS_KEM_classic_mceliece_348864_length_secret_key 6492 #define OQS_KE...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_127) #define VAR_2 261120 #define VAR_3 6492 #define VAR_4 96 #define VAR_5 32 #define VAR_6 0 #define VAR_7 0 TYPE_1 *FUNC_1(void); TYPE_2 VAR_128 FUNC_2(uint8_t *VAR_10, uint8_t *VAR_11); TYPE_2 VAR_128 FUNC_3(uint8_t *VAR_10, uint8_t *VAR_11, const uin...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1931, "tree_depth": 9, "variables_renamed": 126, "functions_renamed": 60, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
7e8329674fbec9bcfcc20b1f2c11bdb1fd4053b6b5227b8665573ba80b9ac7e2
2026-06-03T03:03:26.910182+00:00
4b25805a-d933-49da-9c6e-7e57dd71c2f1
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_KEM_FRODOKEM_H #define OQS_KEM_FRODOKEM_H #include <oqs/oqs.h> #ifdef OQS_ENABLE_KEM_frodokem_640_aes #define OQS_KEM_frodokem_640_aes_length_public_key 9616 #define OQS_KEM_frodokem_640_aes_length_secret_key 19888 #define OQS_KEM_frodokem_640_aes_length_ciphertext 9720 #d...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #ifdef VAR_2 #define VAR_3 9616 #define VAR_4 19888 #define VAR_5 9720 #define VAR_6 16 #define VAR_7 0 #define VAR_8 0 TYPE_1 *FUNC_1(void); TYPE_2 VAR_85 FUNC_2(uint8_t *VAR_11, uint8_t *VAR_12); TYPE_2 VAR_85 FUNC_3(uint8_t *VAR_11, uint8_t *VAR_12, const uint8_t *VAR...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1133, "tree_depth": 9, "variables_renamed": 84, "functions_renamed": 36, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
084dea462572e763c6cc5b354517efe9e06389b53e39ed34e8fedbab55147a52
2026-06-03T03:05:35.274226+00:00
a7bcb906-c520-472e-93e3-1a4c34a614a2
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_KEM_HQC_H #define OQS_KEM_HQC_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_KEM_hqc_128) #define OQS_KEM_hqc_128_length_public_key 2249 #define OQS_KEM_hqc_128_length_secret_key 2305 #define OQS_KEM_hqc_128_length_ciphertext 4433 #define OQS_KEM_hqc_128_length_shared_secre...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_43) #define VAR_2 2249 #define VAR_3 2305 #define VAR_4 4433 #define VAR_5 64 #define VAR_6 0 #define VAR_7 0 TYPE_1 *FUNC_1(void); TYPE_2 VAR_44 FUNC_2(uint8_t *VAR_10, uint8_t *VAR_11); TYPE_2 VAR_44 FUNC_3(uint8_t *VAR_10, uint8_t *VAR_11, const uint8_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 587, "tree_depth": 9, "variables_renamed": 42, "functions_renamed": 18, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
d939f67f3814af5cf783254026d3816326934fef48a3b4d1a7aa436b9a13f332
2026-06-03T03:05:45.556140+00:00
0266a79c-cad5-4a2f-b4d7-5c74f4f75ea2
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_KEM_KYBER_H #define OQS_KEM_KYBER_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_KEM_kyber_512) #define OQS_KEM_kyber_512_length_public_key 800 #define OQS_KEM_kyber_512_length_secret_key 1632 #define OQS_KEM_kyber_512_length_ciphertext 768 #define OQS_KEM_kyber_512_length_...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_43) #define VAR_2 800 #define VAR_3 1632 #define VAR_4 768 #define VAR_5 32 #define VAR_6 0 #define VAR_7 0 TYPE_1 *FUNC_1(void); TYPE_2 VAR_44 FUNC_2(uint8_t *VAR_10, uint8_t *VAR_11); TYPE_2 VAR_44 FUNC_3(uint8_t *VAR_10, uint8_t *VAR_11, const uint8_t ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 587, "tree_depth": 9, "variables_renamed": 42, "functions_renamed": 18, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
203c1749b8bb313b18df5accaa4fa54af279a505e7d676937586517f7bdd40c9
2026-06-03T03:05:53.203729+00:00
e1801e09-6fe9-4da8-8f37-58c8d8e7de43
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_KEM_ML_KEM_H #define OQS_KEM_ML_KEM_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_KEM_ml_kem_512) #define OQS_KEM_ml_kem_512_length_public_key 800 #define OQS_KEM_ml_kem_512_length_secret_key 1632 #define OQS_KEM_ml_kem_512_length_ciphertext 768 #define OQS_KEM_ml_kem_512_...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_43) #define VAR_2 800 #define VAR_3 1632 #define VAR_4 768 #define VAR_5 32 #define VAR_6 64 #define VAR_7 32 TYPE_1 *FUNC_1(void); TYPE_2 VAR_44 FUNC_2(uint8_t *VAR_10, uint8_t *VAR_11); TYPE_2 VAR_44 FUNC_3(uint8_t *VAR_10, uint8_t *VAR_11, const uint8_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 587, "tree_depth": 9, "variables_renamed": 42, "functions_renamed": 18, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
f817b1342868d07d8b43a7c22ed282708b5af38943cc9becd2bd00ab7230a1fb
2026-06-03T03:06:00.491678+00:00
1d08ca77-b229-43a1-acce-f8d82d7917ce
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_KEM_NTRU_H #define OQS_KEM_NTRU_H #include <oqs/oqs.h> #ifdef OQS_ENABLE_KEM_ntru_hps2048509 #define OQS_KEM_ntru_hps2048509_length_public_key 699 #define OQS_KEM_ntru_hps2048509_length_secret_key 935 #define OQS_KEM_ntru_hps2048509_length_ciphertext 699 #define OQS_KEM_nt...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #ifdef VAR_2 #define VAR_3 699 #define VAR_4 935 #define VAR_5 699 #define VAR_6 32 #define VAR_7 0 #define VAR_8 0 TYPE_1 *FUNC_1(void); TYPE_2 VAR_79 FUNC_2(uint8_t *VAR_11, uint8_t *VAR_12); TYPE_2 VAR_79 FUNC_3(uint8_t *VAR_11, uint8_t *VAR_12, const uint8_t *VAR_14)...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 911, "tree_depth": 9, "variables_renamed": 78, "functions_renamed": 30, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
21391bd1ccb1234d3bc269edfc931dc40ebc7995a75ddb3fd21ab6d95de3b60e
2026-06-03T03:06:07.640087+00:00
a8c23e26-e971-466a-bd10-147c41a7ac97
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_KEM_NTRUPRIME_H #define OQS_KEM_NTRUPRIME_H #include <oqs/oqs.h> #ifdef OQS_ENABLE_KEM_ntruprime_sntrup761 #define OQS_KEM_ntruprime_sntrup761_length_public_key 1158 #define OQS_KEM_ntruprime_sntrup761_length_secret_key 1763 #define OQS_KEM_ntruprime_sntrup761_length_ciphe...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #ifdef VAR_2 #define VAR_3 1158 #define VAR_4 1763 #define VAR_5 1039 #define VAR_6 32 #define VAR_7 0 #define VAR_8 0 TYPE_1 *FUNC_1(void); TYPE_2 VAR_20 FUNC_2(uint8_t *VAR_11, uint8_t *VAR_12); TYPE_2 VAR_20 FUNC_3(uint8_t *VAR_11, uint8_t *VAR_12, const uint8_t *VAR_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 198, "tree_depth": 9, "variables_renamed": 19, "functions_renamed": 6, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
12ff65e0e1961a1277ce78296569dbd4f09f40225b4a8341cabebfd24aa7fd7a
2026-06-03T03:06:18.336396+00:00
db6a5e82-2cc7-43fa-99ae-dc7f5fbd5d2c
GITHUB
/** * \file oqs.h * \brief Overall header file for the liboqs public API. * * C programs using liboqs can include just this one file, and it will include all * other necessary headers from liboqs. * * SPDX-License-Identifier: MIT */ #ifndef OQS_H #define OQS_H #include <oqs/oqsconfig.h> #include <oqs/common....
#ifndef VAR_1 #define VAR_1 #include <oqs/oqsconfig.h> #include <oqs/common.h> #include <oqs/rand.h> #include <oqs/rand_nist.h> #include <oqs/aes.h> #include <oqs/aes_ops.h> #include <oqs/sha2.h> #include <oqs/sha2_ops.h> #include <oqs/sha3.h> #include <oqs/sha3_ops.h> #include <oqs/sha3x4.h> #include <oqs/sha3x4_ops.h...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 107, "tree_depth": 4, "variables_renamed": 1, "functions_renamed": 0, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
817279f04bd4f7113a2d0f21ba96b748e6dd24b8cb91bc0a59104f7e576d27cb
2026-06-03T03:06:24.796211+00:00
97b52bfd-8cb9-4255-80b9-ab98bad44dd3
GITHUB
// SPDX-License-Identifier: MIT // Generated for liboqs-swift vendored build of liboqs 0.15.0 // Portable-only build: no platform-specific optimized variants. #ifndef OQS_OQSCONFIG_H #define OQS_OQSCONFIG_H #define OQS_VERSION_TEXT "0.15.0" #define OQS_VERSION_MAJOR 0 #define OQS_VERSION_MINOR 15 #define OQS_VERSION_...
#ifndef VAR_1 #define VAR_1 #define VAR_2 "0.15.0" #define VAR_3 0 #define VAR_4 15 #define VAR_5 0 #define VAR_6 "generic" #define VAR_7 1 #define VAR_8 1 #define VAR_9 0 #define VAR_10 0 #define VAR_11 0 #define VAR_12 1 #define VAR_13 1 #define VAR_14 1 #define VAR_15 1 #define VAR_16 1 #define VAR_17 1 #define VAR_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1440, "tree_depth": 4, "variables_renamed": 359, "functions_renamed": 0, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 1.0, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
cb379c1974a16b2326d99e359c1da351c4b3d2484144007f8a606d0a02806e2d
2026-06-03T03:06:31.565230+00:00
36e7405d-cf13-4e07-b806-654faab7a466
GITHUB
/** * \file rand.h * \brief Random number generator. * * SPDX-License-Identifier: MIT */ #ifndef OQS_RANDOM_H #define OQS_RANDOM_H #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <oqs/common.h> #if defined(__cplusplus) extern "C" { #endif /** Algorithm identifier for system PRNG. */ #def...
#ifndef VAR_1 #define VAR_1 #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <oqs/common.h> #if defined(VAR_11) extern "C" { #endif #define VAR_2 "system" #define VAR_3 "OpenSSL" TYPE_1 VAR_12 FUNC_1(const char *VAR_5); TYPE_1 void FUNC_2(void (*VAR_7)(uint8_t *, size_t)); TYPE_1 void FUNC_3(uint8_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 122, "tree_depth": 14, "variables_renamed": 10, "functions_renamed": 3, "types_renamed": 1, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 1.0, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
e38e720b1680d51f6f87b9a2985b97e1530b476cc5f9c68dc62e4d7682915457
2026-06-03T03:06:38.862262+00:00
4eedd3a0-6ac3-4105-94ed-ad697a4a0840
GITHUB
/** * \file rand_nist.h * \brief NIST DRBG * * SPDX-License-Identifier: MIT */ #ifndef OQS_RAND_NIST_H #define OQS_RAND_NIST_H #include <stddef.h> #include <stdint.h> typedef struct { unsigned char Key[32]; unsigned char V[16]; int reseed_counter; } OQS_NIST_DRBG_struct; /** * Initializes the NIST DRBG wit...
#ifndef VAR_1 #define VAR_1 #include <stddef.h> #include <stdint.h> typedef struct { unsigned char VAR_12[32]; unsigned char VAR_13[16]; int VAR_14; } TYPE_1; void FUNC_1(const uint8_t *VAR_3, const uint8_t *VAR_4); void FUNC_2(uint8_t *VAR_6, size_t VAR_7); void FUNC_3(void *VAR_9); void FUNC_4(const void *VAR_11);...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 115, "tree_depth": 8, "variables_renamed": 11, "functions_renamed": 4, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563", "CWE-119"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;OQS_NIST_DRBG_struct::Key&apos; is never used.\" verbose=\"struct member &apos;OQS_NIST_DRBG_struct::Key&apos; is never used.\" cwe=\...
[]
db8bea44ea9fb292d052e2aa579ddd1c112e596312d68d30c676b28668df2a2a
2026-06-03T03:06:45.963293+00:00
ce15b805-092f-4626-90af-f171c0bbf2cd
GITHUB
/** * \file sha2.h * \brief SHA2 functions; not part of the OQS public API * * Contains the API and documentation for SHA2 digest implementation * * <b>Note this is not part of the OQS public API: implementations within liboqs can use these * functions, but external consumers of liboqs should not use these funct...
#ifndef VAR_1 #define VAR_1 #include <stddef.h> #include <stdint.h> #include <oqs/sha2_ops.h> #if defined(VAR_32) extern "C" { #endif void FUNC_1(uint8_t *VAR_3, const uint8_t *VAR_4, size_t VAR_5); void FUNC_2(TYPE_1 *VAR_7); void FUNC_3(TYPE_1 *VAR_9, const TYPE_1 *VAR_10); void FUNC_4(TYPE_1 *VAR_7, const uint8_t *V...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 455, "tree_depth": 11, "variables_renamed": 31, "functions_renamed": 19, "types_renamed": 3, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
6a4b5a446683a2ef20948d31fc524bc223116b9dac2c6702442c5c68b2b96528
2026-06-03T03:06:56.279004+00:00
00a9409d-d9cc-49b1-80f2-7751a484638a
GITHUB
/** * \file sha2_ops.h * \brief Header defining the callback API for OQS SHA2 * * \author Douglas Stebila * * SPDX-License-Identifier: MIT */ #ifndef OQS_SHA2_OPS_H #define OQS_SHA2_OPS_H #include <stddef.h> #include <stdint.h> #include <oqs/common.h> #if defined(__cplusplus) extern "C" { #endif /** Data st...
#ifndef VAR_1 #define VAR_1 #include <stddef.h> #include <stdint.h> #include <oqs/common.h> #if defined(VAR_15) extern "C" { #endif typedef struct { void *VAR_16; size_t VAR_17; uint8_t VAR_18[128]; } TYPE_1; typedef struct { void *VAR_16; size_t VAR_17; uint8_t VAR_18[128]; } TYPE_2; typedef struct { void *VAR_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 682, "tree_depth": 13, "variables_renamed": 14, "functions_renamed": 1, "types_renamed": 6, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;OQS_SHA2_sha224_ctx::ctx&apos; is never used.\" verbose=\"struct member &apos;OQS_SHA2_sha224_ctx::ctx&apos; is never used.\" cwe=\"563\" file0=...
[]
1ae19feb318f6ade47ef8558299484798cbf413fca29cc164a26162dcce3d78b
2026-06-03T03:07:02.803505+00:00
53a68d6d-ac45-4005-b36a-cc5f012fac3a
GITHUB
/** * \file sha3.h * \brief SHA3 and SHAKE functions; not part of the OQS public API * * Contains the API and documentation for SHA3 digest and SHAKE implementations. * * <b>Note this is not part of the OQS public API: implementations within liboqs can use these * functions, but external consumers of liboqs shou...
#ifndef VAR_1 #define VAR_1 #include <stddef.h> #include <stdint.h> #include <oqs/sha3_ops.h> #if defined(VAR_52) extern "C" { #endif #define VAR_2 136 void FUNC_1(uint8_t *VAR_4, const uint8_t *VAR_5, size_t VAR_6); void FUNC_2(TYPE_1 *VAR_8); void FUNC_3(TYPE_1 *VAR_8, const uint8_t *VAR_5, size_t VAR_10); void FUNC_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 753, "tree_depth": 11, "variables_renamed": 51, "functions_renamed": 37, "types_renamed": 5, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
7ef22ba43a56fb50d4a24785c355c65fb9d42d2757fccf592a4a938307fcb197
2026-06-03T03:07:09.894266+00:00
bb847261-6f4e-4da7-9988-dce6b9aacebe
GITHUB
/** * \file sha3_ops.h * \brief Header defining the callback API for OQS SHA3 and SHAKE * * \author John Underhill, Douglas Stebila * * SPDX-License-Identifier: MIT */ #ifndef OQS_SHA3_OPS_H #define OQS_SHA3_OPS_H #include <stddef.h> #include <stdint.h> #include <oqs/common.h> #if defined(__cplusplus) extern...
#ifndef VAR_1 #define VAR_1 #include <stddef.h> #include <stdint.h> #include <oqs/common.h> #if defined(VAR_12) extern "C" { #endif typedef struct { void *VAR_13; } TYPE_1; typedef struct { void *VAR_13; } TYPE_2; typedef struct { void *VAR_13; } TYPE_3; typedef struct { void *VAR_13; } TYPE_4; typedef struct { vo...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1017, "tree_depth": 13, "variables_renamed": 11, "functions_renamed": 1, "types_renamed": 7, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;OQS_SHA3_sha3_256_inc_ctx::ctx&apos; is never used.\" verbose=\"struct member &apos;OQS_SHA3_sha3_256_inc_ctx::ctx&apos; is never used.\" cwe=\"...
[]
f59ea832f559630c381d8fb0f2243b7f435f66c6539e9af3a828bf53f67d5e53
2026-06-03T03:07:16.835431+00:00
87b33a43-3a20-4d97-870d-4b1a46024076
GITHUB
/** * \file sha3x4.h * \brief SHA3, SHAKE, and cSHAKE functions; not part of the OQS public API * * Contains the API and documentation for SHA3 digest and SHAKE implementations. * * <b>Note this is not part of the OQS public API: implementations within liboqs can use these * functions, but external consumers of ...
#ifndef VAR_1 #define VAR_1 #include <stddef.h> #include <stdint.h> #include <oqs/sha3x4_ops.h> #if defined(VAR_31) extern "C" { #endif void FUNC_1( uint8_t *VAR_3, uint8_t *VAR_4, uint8_t *VAR_5, uint8_t *VAR_6, size_t VAR_7, const uint8_t *VAR_8, const uint8_t *VAR_9, const uint8_t *VA...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 514, "tree_depth": 11, "variables_renamed": 30, "functions_renamed": 16, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
e622731ecd9b2b2ca54d129a385221565361a69b285bc76a81c6cbf132ebac08
2026-06-03T03:07:27.472373+00:00
a381cb26-9441-4517-aa5b-1cfeeb1ecea7
GITHUB
/** * \file sha3x4_ops.h * \brief Header defining the callback API for OQS SHA3 and SHAKE * * \author John Underhill, Douglas Stebila * * SPDX-License-Identifier: MIT */ #ifndef OQS_SHA3X4_OPS_H #define OQS_SHA3X4_OPS_H #include <stddef.h> #include <stdint.h> #include <oqs/common.h> #if defined(__cplusplus) ...
#ifndef VAR_1 #define VAR_1 #include <stddef.h> #include <stdint.h> #include <oqs/common.h> #if defined(VAR_17) extern "C" { #endif typedef struct { void *VAR_18; } TYPE_1; typedef struct { void *VAR_18; } TYPE_2; struct TYPE_3 { void (*VAR_19)( uint8_t *VAR_2, uint8_t *VAR_3, uint8_t *VAR_4, uin...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 648, "tree_depth": 13, "variables_renamed": 16, "functions_renamed": 1, "types_renamed": 4, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;OQS_SHA3_shake128_x4_inc_ctx::ctx&apos; is never used.\" verbose=\"struct member &apos;OQS_SHA3_shake128_x4_inc_ctx::ctx&apos; is never used.\" ...
[]
407af0a256131cb7875bd04e25897b9205ff9c2ff20968814abfde9aff909655
2026-06-03T03:07:34.128767+00:00
a698821e-8330-48c2-869c-3d79c923054c
GITHUB
/** * \file sig.h * \brief Signature schemes * * The file `tests/example_sig.c` contains two examples on using the OQS_SIG API. * * The first example uses the individual scheme's algorithms directly and uses * no dynamic memory allocation -- all buffers are allocated on the stack, with * sizes indicated using p...
#ifndef VAR_1 #define VAR_1 #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <oqs/oqs.h> #if defined(VAR_256) extern "C" { #endif #define VAR_2 "ML-DSA-44" #define VAR_3 "ML-DSA-65" #define VAR_4 "ML-DSA-87" #define VAR_5 "Falcon-512" #define VAR_6 "Falcon-1024" #define VAR_7 "Falcon-padded-512" #d...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1621, "tree_depth": 14, "variables_renamed": 255, "functions_renamed": 11, "types_renamed": 3, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identi...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;OQS_SIG::method_name&apos; is never used.\" verbose=\"struct member &apos;OQS_SIG::method_name&apos; is never used.\" cwe=\"563\" file0=\"C:/Use...
[]
58df0041d6d168b7481d0465b52a51c07e6b8e4936ef9942a366e0dc1f0423a0
2026-06-03T03:07:41.036785+00:00
0e113842-e880-4934-b477-f65c369b5946
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_SIG_CROSS_H #define OQS_SIG_CROSS_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_SIG_cross_rsdp_128_balanced) #define OQS_SIG_cross_rsdp_128_balanced_length_public_key 77 #define OQS_SIG_cross_rsdp_128_balanced_length_secret_key 32 #define OQS_SIG_cross_rsdp_128_balanced_le...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_172) #define VAR_2 77 #define VAR_3 32 #define VAR_4 13152 TYPE_1 *FUNC_1(void); TYPE_2 VAR_173 FUNC_2(uint8_t *VAR_7, uint8_t *VAR_8); TYPE_2 VAR_173 FUNC_3(uint8_t *VAR_10, size_t *VAR_11, const uint8_t *VAR_12, size_t VAR_13, const uint8_t *VAR_8); TYP...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 4367, "tree_depth": 9, "variables_renamed": 171, "functions_renamed": 108, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identi...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
81bfca13bfe57df952815b14e93f4b2b123a37e9001263a434b4de2c330b3dc1
2026-06-03T03:07:47.933156+00:00
4d233107-bc05-4b76-9993-9f8ecd700c17
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_SIG_FALCON_H #define OQS_SIG_FALCON_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_SIG_falcon_512) #define OQS_SIG_falcon_512_length_public_key 897 #define OQS_SIG_falcon_512_length_secret_key 1281 #define OQS_SIG_falcon_512_length_signature 752 OQS_SIG *OQS_SIG_falcon_512...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_46) #define VAR_2 897 #define VAR_3 1281 #define VAR_4 752 TYPE_1 *FUNC_1(void); TYPE_2 VAR_47 FUNC_2(uint8_t *VAR_7, uint8_t *VAR_8); TYPE_2 VAR_47 FUNC_3(uint8_t *VAR_10, size_t *VAR_11, const uint8_t *VAR_12, size_t VAR_13, const uint8_t *VAR_8); TYPE_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 979, "tree_depth": 9, "variables_renamed": 45, "functions_renamed": 24, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
25f781e177da52197c50f4efa12abb8aa0fa3ea22dac8eabce6a6b48e52631b7
2026-06-03T03:07:55.352900+00:00
21c5c17c-b11c-4e1b-ba2a-ca5c361184fd
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_SIG_MAYO_H #define OQS_SIG_MAYO_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_SIG_mayo_1) #define OQS_SIG_mayo_1_length_public_key 1420 #define OQS_SIG_mayo_1_length_secret_key 24 #define OQS_SIG_mayo_1_length_signature 454 OQS_SIG *OQS_SIG_mayo_1_new(void); OQS_API OQS_S...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_46) #define VAR_2 1420 #define VAR_3 24 #define VAR_4 454 TYPE_1 *FUNC_1(void); TYPE_2 VAR_47 FUNC_2(uint8_t *VAR_7, uint8_t *VAR_8); TYPE_2 VAR_47 FUNC_3(uint8_t *VAR_10, size_t *VAR_11, const uint8_t *VAR_12, size_t VAR_13, const uint8_t *VAR_8); TYPE_2...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 979, "tree_depth": 9, "variables_renamed": 45, "functions_renamed": 24, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
914684af5a278cbad38ded62648cae27755a9fcf8d4b418fc07a81e84d87ddbf
2026-06-03T03:08:02.470044+00:00
336c3d91-731c-4ad2-a412-f21d29b16536
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_SIG_ML_DSA_H #define OQS_SIG_ML_DSA_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_SIG_ml_dsa_44) #define OQS_SIG_ml_dsa_44_length_public_key 1312 #define OQS_SIG_ml_dsa_44_length_secret_key 2560 #define OQS_SIG_ml_dsa_44_length_signature 2420 OQS_SIG *OQS_SIG_ml_dsa_44_ne...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_37) #define VAR_2 1312 #define VAR_3 2560 #define VAR_4 2420 TYPE_1 *FUNC_1(void); TYPE_2 VAR_38 FUNC_2(uint8_t *VAR_7, uint8_t *VAR_8); TYPE_2 VAR_38 FUNC_3(uint8_t *VAR_10, size_t *VAR_11, const uint8_t *VAR_12, size_t VAR_13, const uint8_t *VAR_8); TYP...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 737, "tree_depth": 9, "variables_renamed": 36, "functions_renamed": 18, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
4c66c0d190b93dff9a5f430f2ade016e6dd11f2b7b8dade1761493c86a06d936
2026-06-03T03:08:09.356281+00:00
d54e36a2-5e57-46df-8094-2b5e89746cfb
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_SIG_SLH_DSA_H #define OQS_SIG_SLH_DSA_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_SIG_slh_dsa_pure_sha2_128s) #define OQS_SIG_slh_dsa_pure_sha2_128s_length_public_key 32 #define OQS_SIG_slh_dsa_pure_sha2_128s_length_secret_key 64 #define OQS_SIG_slh_dsa_pure_sha2_128s_l...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_1414) #define VAR_2 32 #define VAR_3 64 #define VAR_4 7856 TYPE_1 *FUNC_1(void); TYPE_2 VAR_1415 FUNC_2(uint8_t *VAR_7, uint8_t *VAR_8); TYPE_2 VAR_1415 FUNC_3(uint8_t *VAR_10, size_t *VAR_11, const uint8_t *VAR_12, size_t VAR_13, const uint8_t *VAR_8); T...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 37763, "tree_depth": 9, "variables_renamed": 1413, "functions_renamed": 936, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( iden...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
39a2ccac39a160a79cb701e8d1e55ef46167fd4c9742cbeaaa6592b669b79f85
2026-06-03T03:08:20.586024+00:00
5a591f95-dcd7-4efa-9e7a-c9c59da444c9
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_SIG_SNOVA_H #define OQS_SIG_SNOVA_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_SIG_snova_SNOVA_24_5_4) #define OQS_SIG_snova_SNOVA_24_5_4_length_public_key 1016 #define OQS_SIG_snova_SNOVA_24_5_4_length_secret_key 48 #define OQS_SIG_snova_SNOVA_24_5_4_length_signature 248...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_118) #define VAR_2 1016 #define VAR_3 48 #define VAR_4 248 TYPE_1 *FUNC_1(void); TYPE_2 VAR_119 FUNC_2(uint8_t *VAR_7, uint8_t *VAR_8); TYPE_2 VAR_119 FUNC_3(uint8_t *VAR_10, size_t *VAR_11, const uint8_t *VAR_12, size_t VAR_13, const uint8_t *VAR_8); TYP...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 2915, "tree_depth": 9, "variables_renamed": 117, "functions_renamed": 72, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
7b66f836b40b5268714a6b03c7d49e4ebd5656c516ea474266c465510aa55cd6
2026-06-03T03:08:39.741071+00:00
4cc372e2-fb1b-4545-99fa-f250a3137628
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_SIG_SPHINCS_H #define OQS_SIG_SPHINCS_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_SIG_sphincs_sha2_128f_simple) #define OQS_SIG_sphincs_sha2_128f_simple_length_public_key 32 #define OQS_SIG_sphincs_sha2_128f_simple_length_secret_key 64 #define OQS_SIG_sphincs_sha2_128f_s...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_118) #define VAR_2 32 #define VAR_3 64 #define VAR_4 17088 TYPE_1 *FUNC_1(void); TYPE_2 VAR_119 FUNC_2(uint8_t *VAR_7, uint8_t *VAR_8); TYPE_2 VAR_119 FUNC_3(uint8_t *VAR_10, size_t *VAR_11, const uint8_t *VAR_12, size_t VAR_13, const uint8_t *VAR_8); TYP...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 2915, "tree_depth": 9, "variables_renamed": 117, "functions_renamed": 72, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
78705982dd9ff73f6d903e9fc20ddc8251e885dab82632da69c2ec096c734bdb
2026-06-03T03:08:47.508215+00:00
545a6266-84de-4c23-b88f-dc09c5bf0a7a
GITHUB
/** * \file sig_stfl.h * \brief Stateful Signature schemes * * The file `tests/example_sig_stfl.c` contains an example on using the OQS_SIG_STFL API. * * SPDX-License-Identifier: MIT */ #ifndef OQS_SIG_STATEFUL_H #define OQS_SIG_STATEFUL_H #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include ...
#ifndef VAR_1 #define VAR_1 #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <oqs/oqs.h> #if defined(VAR_115) extern "C" { #endif #define VAR_2 "XMSS-SHA2_10_256" #define VAR_3 "XMSS-SHA2_16_256" #define VAR_4 "XMSS-SHA2_20_256" #define VAR_5 "XMSS-SHAKE_10_256" #define VAR_6 "XMSS-SHAKE_16_256" #d...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1339, "tree_depth": 16, "variables_renamed": 114, "functions_renamed": 18, "types_renamed": 10, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( ident...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;OQS_SIG_STFL_SECRET_KEY::length_secret_key&apos; is never used.\" verbose=\"struct member &apos;OQS_SIG_STFL_SECRET_KEY::length_secret_key&apos;...
[]
921616481fb0e4459521d5f2c923aa691afc7a5c2b73d9a4bc1c457b9fcfe076
2026-06-03T03:08:54.467833+00:00
c882e79f-08b9-4925-b72e-8174535c7700
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_SIG_STFL_LMS_H #define OQS_SIG_STFL_LMS_H #include <oqs/oqs.h> //OQS LMS parameter identifiers /* Defined LM parameter sets */ /* * Convention * Where ... * L = number of Levels * H = LMS H ID * LMS_SHA256_M32_H5 0x05 * LMS_SHA256_M32_H10 0x06 * LMS_SHA...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #define VAR_2 0x0151 //"5/1" #define VAR_3 0x0152 //"5/2" #define VAR_4 0x0153 //"5/4" #define VAR_5 0x0154 //"5/8" #define VAR_6 0x0161 //"10/1" #define VAR_7 0x0162 //"10/2" #define VAR_8 0x0163 //"10/4" #define VAR_9 0x0164 //"10/8" #define VAR_10 0x0171 //"15/1" ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1777, "tree_depth": 9, "variables_renamed": 142, "functions_renamed": 12, "types_renamed": 70, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identi...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
24acaa0869ee3490620c4dd6b210ebca6b19070a61af0506314f95cce706bc62
2026-06-03T03:09:09.528651+00:00
37ffe5c2-dbde-462f-a4e1-eac913b0635d
GITHUB
// SPDX-License-Identifier: (Apache-2.0 OR MIT) AND CC0-1.0 #ifndef OQS_SIG_STFL_XMSS_H #define OQS_SIG_STFL_XMSS_H #include <oqs/oqs.h> #if defined(__GNUC__) || defined(__clang__) #define XMSS_UNUSED_ATT __attribute__((unused)) #else #define XMSS_UNUSED_ATT #endif #define XMSS_OID_LEN 4 /* * | Algorithms ...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_408) || defined(VAR_409) #define VAR_2 __attribute__((unused)) #else #define VAR_2 #endif #define VAR_3 4 #ifdef VAR_4 #define VAR_5 0x01 #define VAR_6 (1373 + XMSS_OID_LEN) #define VAR_7 (64 + XMSS_OID_LEN) #define VAR_8 2500 TYPE_1 OQS_SIG_STFL *TYPE_2(...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 8071, "tree_depth": 10, "variables_renamed": 407, "functions_renamed": 201, "types_renamed": 80, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( iden...
{}
{"is_vulnerable": true, "cwe_ids": [], "tool_findings": [{"tool": "flawfinder", "detail": "Warning: encoding error in C:\\Users\\SMAILB~1\\AppData\\Local\\Temp\\tmp02u9dy25.cpp -- skipping file."}, {"tool": "flawfinder", "detail": "'charmap' codec can't decode byte 0x9d in position 1004: character maps to <undefined>"}...
[]
d0009b5127549c4df8b728407058c2043a1e09cf8820c852e77ea03c5cd55b62
2026-06-03T03:09:16.887054+00:00
f6a3f63e-36e9-41aa-9ac7-2383594a761f
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_SIG_UOV_H #define OQS_SIG_UOV_H #include <oqs/oqs.h> #if defined(OQS_ENABLE_SIG_uov_ov_Is) #define OQS_SIG_uov_ov_Is_length_public_key 412160 #define OQS_SIG_uov_ov_Is_length_secret_key 348704 #define OQS_SIG_uov_ov_Is_length_signature 96 OQS_SIG *OQS_SIG_uov_ov_Is_new(vo...
#ifndef VAR_1 #define VAR_1 #include <oqs/oqs.h> #if defined(VAR_118) #define VAR_2 412160 #define VAR_3 348704 #define VAR_4 96 TYPE_1 *FUNC_1(void); TYPE_2 VAR_119 FUNC_2(uint8_t *VAR_7, uint8_t *VAR_8); TYPE_2 VAR_119 FUNC_3(uint8_t *VAR_10, size_t *VAR_11, const uint8_t *VAR_12, size_t VAR_13, const uint8_t *VAR_8)...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 2915, "tree_depth": 9, "variables_renamed": 117, "functions_renamed": 72, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
484c3ae4e721054b6318247bbf6424d9c59bfe87e425cb8438bdf4460290e6b0
2026-06-03T03:09:24.313642+00:00
1043af22-892b-4d36-8d8c-e7c69c88ec86
GITHUB
// SPDX-License-Identifier: MIT #include <assert.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include "aes.h" #include "aes_local.h" static struct OQS_AES_callbacks *callbacks = &aes_default_callbacks; OQS_API void OQS_AES_set_callbacks(struct OQS_AES_callbacks *new_callbacks) { callbacks = ...
#include <assert.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include "aes.h" #include "aes_local.h" static struct TYPE_1 *VAR_1 = &VAR_14; TYPE_2 void FUNC_1(struct TYPE_1 *VAR_2) { VAR_1 = VAR_2; } void FUNC_2(const uint8_t *VAR_3, void **VAR_4) { VAR_1->VAR_15(VAR_3, VAR_4); } void FUNC_3(con...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 793, "tree_depth": 8, "variables_renamed": 13, "functions_renamed": 18, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <assert.h> ) system_lib_string ) preproc_include ( preproc_i...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[{"from": "new_callbacks", "to": "callbacks", "type": "propagation"}, {"from": "key", "to": "callbacks->AES128_ECB_load_schedule", "type": "call_arg"}, {"from": "schedule", "to": "callbacks->AES128_ECB_load_schedule", "type": "call_arg"}, {"from": "key", "to": "callbacks->AES128_CTR_inc_init", "type": "call_arg"}, {"fr...
5d7eddc3bbd805e7f95d66e1aaff9f79fc9c3986f44b006f3a4fea9d187737b9
2026-06-03T03:09:33.242730+00:00
182f2ade-d15e-4075-8b38-40719060fc0e
GITHUB
// SPDX-License-Identifier: Public domain #include <assert.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include <arm_neon.h> typedef struct { uint64_t sk_exp[22]; uint8_t iv[16]; } aes128ctx; void oqs_aes128_load_iv_armv8(const uint8_t *iv, size_t iv_len, void *_schedule)...
#include <assert.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include <arm_neon.h> typedef struct { uint64_t VAR_29[22]; uint8_t VAR_1[16]; } TYPE_1; void FUNC_1(const uint8_t *VAR_1, size_t VAR_2, void *VAR_3) { TYPE_1 *VAR_30 = VAR_3; if (VAR_2 == 12) { memcpy(VAR_30->V...
github_ast_structnorm
n
{"language": "cpp", "total_nodes": 1391, "tree_depth": 14, "variables_renamed": 21, "functions_renamed": 13, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <assert.h> ) system_lib_string ) preproc_include ( prepro...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_...
[{"from": "_schedule", "to": "ctx", "type": "assignment"}, {"from": "ctx", "to": "memcpy", "type": "call_arg"}, {"from": "iv", "to": "memcpy", "type": "call_arg"}, {"from": "ctx", "to": "memcpy", "type": "call_arg"}, {"from": "iv", "to": "memcpy", "type": "call_arg"}, {"from": "EXIT_FAILURE", "to": "exit", "type": "cal...
c923cf724622b250d9e687c4c061d976aba45fc63de1519dd99156fe1cc6888d
2026-06-03T03:09:40.497568+00:00
3d2f5eeb-890e-4f13-aee1-e0f19b718d86
GITHUB
// SPDX-License-Identifier: Public domain // Based on public domain code by Romain Dolbeau // http://dolbeau.name/dolbeau/crypto/crypto.html #include <assert.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include <wmmintrin.h> #include <tmmintrin.h> typedef struct { __m128i s...
#include <assert.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include <wmmintrin.h> #include <tmmintrin.h> typedef struct { TYPE_1 VAR_52[11]; TYPE_1 VAR_11; } TYPE_2; static inline void FUNC_1(const unsigned char *VAR_1, TYPE_1 VAR_2[11]) { TYPE_1 VAR_53 = FUNC_2((const TYP...
github_ast_structnorm
n
{"language": "cpp", "total_nodes": 2283, "tree_depth": 17, "variables_renamed": 36, "functions_renamed": 27, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <assert.h> ) system_lib_string ) preproc_include ( prepro...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-119", "CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cas...
[{"from": "_mm_loadu_si128", "to": "key0", "type": "assignment"}, {"from": "key0", "to": "temp0", "type": "propagation"}, {"from": "temp0", "to": "rkeys", "type": "propagation"}, {"from": "OQS_MEM_malloc", "to": "_schedule", "type": "assignment"}, {"from": "_schedule", "to": "OQS_EXIT_IF_NULLPTR", "type": "call_arg"}, ...
255b64cf3dc4d9e593283111c037900cdab09fc6a1e2a84a00c2df6885bed85a
2026-06-03T03:09:54.684994+00:00
69664347-460c-4c1f-b644-bf0f6e1761bd
GITHUB
// SPDX-License-Identifier: Public domain #include <assert.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include <arm_neon.h> typedef struct { uint32_t sk_exp[60]; uint8_t iv[16]; } aes256ctx_nobitslice; void oqs_aes256_load_iv_armv8(const uint8_t *iv, size_t iv_len, void ...
#include <assert.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include <arm_neon.h> typedef struct { uint32_t VAR_28[60]; uint8_t VAR_1[16]; } TYPE_1; void FUNC_1(const uint8_t *VAR_1, size_t VAR_2, void *VAR_3) { TYPE_1 *VAR_29 = VAR_3; if (VAR_2 == 12) { memcpy(VAR_29->V...
github_ast_structnorm
n
{"language": "cpp", "total_nodes": 1499, "tree_depth": 14, "variables_renamed": 21, "functions_renamed": 13, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <assert.h> ) system_lib_string ) preproc_include ( prepro...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_...
[{"from": "_schedule", "to": "ctx", "type": "assignment"}, {"from": "ctx", "to": "memcpy", "type": "call_arg"}, {"from": "iv", "to": "memcpy", "type": "call_arg"}, {"from": "ctx", "to": "memcpy", "type": "call_arg"}, {"from": "iv", "to": "memcpy", "type": "call_arg"}, {"from": "EXIT_FAILURE", "to": "exit", "type": "cal...
7a029805c7979aef663acade0fc35d88d3d26a5ec4f84434941f8acc8b3001d2
2026-06-03T03:10:07.739171+00:00
d533c379-9d11-41b7-9e59-4295647dee18
GITHUB
// SPDX-License-Identifier: Public domain // Based on public domain code by Romain Dolbeau // http://dolbeau.name/dolbeau/crypto/crypto.html #include <assert.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include <wmmintrin.h> #include <tmmintrin.h> #define AES_BLOCKBYTES 16 ...
#include <assert.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include <wmmintrin.h> #include <tmmintrin.h> #define VAR_1 16 typedef struct { TYPE_1 VAR_57[15]; TYPE_1 VAR_16; } TYPE_2; #define VAR_2(VAR_58) (uint32_t)((((uint8_t *) &(n))[0] << 24) | (((uint8_t *) &(n))[1] << ...
github_ast_structnorm
n
{"language": "cpp", "total_nodes": 2479, "tree_depth": 17, "variables_renamed": 40, "functions_renamed": 28, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <assert.h> ) system_lib_string ) preproc_include ( prepro...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-119", "CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cas...
[{"from": "_mm_loadu_si128", "to": "key0", "type": "assignment"}, {"from": "_mm_loadu_si128", "to": "key1", "type": "assignment"}, {"from": "key0", "to": "rkeys", "type": "propagation"}, {"from": "key0", "to": "temp0", "type": "propagation"}, {"from": "key1", "to": "temp2", "type": "propagation"}, {"from": "temp0", "to...
b5b559c12695cab5f8b7eed7574e190b2fd14a62f6d379a6b557ec8def1a0e83
2026-06-03T03:10:13.232692+00:00
3bf5dbec-e3d1-4e0f-ba6e-c5925ab6d0b2
GITHUB
// SPDX-License-Identifier: MIT /* Adapted for OQS from PQClean. */ /* * AES implementation based on code from BearSSL (https://bearssl.org/) * by Thomas Pornin. * * * Copyright (c) 2016 Thomas Pornin <pornin@bolet.org> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this s...
#include <assert.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include "aes.h" #include <oqs/common.h> #define VAR_1 16 #define VAR_2 32 #define VAR_3 12 #define VAR_4 16 #define VAR_5 88 typedef struct { uint64_t VAR_196[VAR_5]; uint8_t VAR_222[VAR_4]; } TYPE_1; #define VAR_6 120 typedef struct { ...
github_ast_structnorm
log n
{"language": "cpp", "total_nodes": 9096, "tree_depth": 20, "variables_renamed": 192, "functions_renamed": 49, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <assert.h> ) system_lib_string ) preproc_include ( prepr...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-119", "CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cas...
[{"from": "src", "to": "br_dec32le", "type": "call_arg"}, {"from": "dst", "to": "br_enc32le", "type": "call_arg"}, {"from": "s0", "to": "q", "type": "propagation"}, {"from": "s1", "to": "q", "type": "propagation"}, {"from": "s2", "to": "q", "type": "propagation"}, {"from": "s3", "to": "q", "type": "propagation"}, {"fro...
63dab4780016cbb59666c9b6b806e84051a368eea0a470d5950da4557ad5f72a
2026-06-03T03:10:18.640098+00:00
9390a704-54a0-437f-8ef1-7aceb7132f80
GITHUB
// SPDX-License-Identifier: MIT #include <assert.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include "aes.h" #include "aes_local.h" #if defined(OQS_DIST_X86_64_BUILD) #define C_OR_NI_OR_ARM(stmt_c, stmt_ni, stmt_arm) \ do { \ if (OQS_CPU_has_extension(OQS_CPU_EXT_AES)) { \ ...
#include <assert.h> #include <stdio.h> #include <string.h> #include <oqs/common.h> #include "aes.h" #include "aes_local.h" #if defined(VAR_18) #define FUNC_1(VAR_19, VAR_20, VAR_21) \ do { \ if (OQS_CPU_has_extension(OQS_CPU_EXT_AES)) { \ stmt_ni; \ } else { \ stmt_c; \ } \ }...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1466, "tree_depth": 9, "variables_renamed": 15, "functions_renamed": 56, "types_renamed": 1, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <assert.h> ) system_lib_string ) preproc_include ( preproc_...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[{"from": "oqs_aes128_load_schedule_c", "to": "C_OR_NI_OR_ARM", "type": "call_arg"}, {"from": "oqs_aes128_load_schedule_ni", "to": "C_OR_NI_OR_ARM", "type": "call_arg"}, {"from": "oqs_aes128_load_schedule_no_bitslice", "to": "C_OR_NI_OR_ARM", "type": "call_arg"}, {"from": "key", "to": "oqs_aes128_load_schedule_c", "typ...
51ff2d29793124006bfec7cb64623465c53b29f8bd1316d3afbbcfd79d4e4569
2026-06-03T03:10:24.189293+00:00
a55b361e-0dff-4b80-b221-0012fa762408
GITHUB
// SPDX-License-Identifier: MIT #include <stdint.h> void oqs_aes128_load_schedule_ni(const uint8_t *key, void **_schedule); void oqs_aes128_load_iv_ni(const uint8_t *iv, size_t iv_len, void *_schedule); void oqs_aes128_load_iv_u64_ni(uint64_t iv, void *_schedule); void oqs_aes128_free_schedule_ni(void *schedule); voi...
#include <stdint.h> void FUNC_1(const uint8_t *VAR_2, void **VAR_3); void FUNC_2(const uint8_t *VAR_5, size_t VAR_6, void *VAR_3); void FUNC_3(uint64_t VAR_5, void *VAR_3); void FUNC_4(void *VAR_9); void FUNC_5(const uint8_t *VAR_11, const void *VAR_3, uint8_t *VAR_12); void FUNC_6(const uint8_t *VAR_11, const size_t V...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1144, "tree_depth": 8, "variables_renamed": 56, "functions_renamed": 44, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <stdint.h> ) system_lib_string ) preproc_include ( declara...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
cd971cd2473e0802db558e0640c83c2c0cf1d2b69d1bb1df503c78ddc4fd536e
2026-06-03T03:10:29.490400+00:00
143db063-1381-4507-8294-7238a1ff445f
GITHUB
// SPDX-License-Identifier: MIT #include <assert.h> #include <string.h> #include <oqs/oqs.h> #include "aes.h" #include "../ossl_helpers.h" struct key_schedule { int for_ECB; EVP_CIPHER_CTX *ctx; uint8_t key[32]; uint8_t iv[16]; }; static inline void br_enc64be(unsigned char *dst, uint64_t x) { dst[7] = (unsi...
#include <assert.h> #include <string.h> #include <oqs/oqs.h> #include "aes.h" #include "../ossl_helpers.h" struct TYPE_1 { int VAR_40; TYPE_2 *VAR_41; uint8_t VAR_3[32]; uint8_t VAR_13[16]; }; static inline void FUNC_1(unsigned char *VAR_1, uint64_t VAR_2) { VAR_1[7] = (unsigned char)(VAR_2 >> 56); VAR_1[6] = (un...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 3024, "tree_depth": 12, "variables_renamed": 18, "functions_renamed": 36, "types_renamed": 3, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <assert.h> ) system_lib_string ) preproc_include ( preproc...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unknownMacro\" severity=\"error\" msg=\"There is an unknown macro here somewhere. Configuration is required. If SIZE_T_TO_INT_OR_EXIT is a macro then please configure it.\" verbose=\"There is an unknown macro h...
[{"from": "OQS_MEM_malloc", "to": "schedule", "type": "assignment"}, {"from": "schedule", "to": "OQS_EXIT_IF_NULLPTR", "type": "call_arg"}, {"from": "EVP_CIPHER_CTX_new", "to": "OSSL_FUNC", "type": "call_arg"}, {"from": "ks", "to": "OQS_EXIT_IF_NULLPTR", "type": "call_arg"}, {"from": "EVP_EncryptInit_ex", "to": "OSSL_F...
27030520a1048229c6aaf5ec830df9fa61fff527e6438c11c086a39db3882804
2026-06-03T03:10:35.539668+00:00
dc190987-3fee-4662-897a-770969811634
GITHUB
// SPDX-License-Identifier: Apache-2.0 AND MIT #if !defined(OQS_USE_OPENSSL) && !defined(_WIN32) && !defined(OQS_HAVE_EXPLICIT_BZERO) && !defined(OQS_HAVE_EXPLICIT_MEMSET) // Request memset_s #define __STDC_WANT_LIB_EXT1__ 1 #endif #include <oqs/common.h> #include <errno.h> #include <stdint.h> #include <stdio.h> #in...
#if !defined(VAR_43) && !defined(VAR_44) && !defined(VAR_45) && !defined(VAR_46) #define VAR_1 1 #endif #include <oqs/common.h> #include <errno.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <string.h> #include <stddef.h> #if defined(VAR_47) && defined(VAR_48) #include <pthre...
github_ast_structnorm
log n
{"language": "cpp", "total_nodes": 3367, "tree_depth": 21, "variables_renamed": 38, "functions_renamed": 42, "types_renamed": 7, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_if ( #if #if ) #if ( binary_expression ( binary_expression ( binary_expression ( unary_expression ( ! ! ) ! ( preproc...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-401", "CWE-398", "CWE-676"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"memleak\" severity=\"error\" msg=\"Memory leak: buffer\" verbose=\"Memory leak: buffer\" cwe=\"401\" file0=\"C:/Users/SMAILB~1/AppData/Local/Temp/tmpkonqz8zh.cpp\">"}, {"tool": "cppcheck",...
[{"from": "PTHREAD_ONCE_INIT", "to": "once_control", "type": "assignment"}, {"from": "leaf_1", "to": "cpuid", "type": "call_arg"}, {"from": "leaf_7", "to": "cpuid", "type": "call_arg"}, {"from": "is_bit_set", "to": "has_xsave", "type": "assignment"}, {"from": "leaf_1", "to": "is_bit_set", "type": "call_arg"}, {"from": ...
8e12123ced9955d58d9804cb35552099516442570b397b87d3aa9eb2b0e21727
2026-06-03T03:10:41.062285+00:00
7bc7bc55-3933-4240-96cc-03ff0a7450ee
GITHUB
// SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 #if defined(__unix__) || defined(__APPLE__) #include <oqs/rand.h> #include "libjade_randombytes.h" void __jasmin_syscall_randombytes__(uint8_t *_x, uint64_t xlen) { OQS_randombytes(_x, xlen); } #endif
#if defined(VAR_3) || defined(VAR_4) #include <oqs/rand.h> #include "libjade_randombytes.h" void FUNC_1(uint8_t *VAR_1, uint64_t VAR_2) { FUNC_2(VAR_1, VAR_2); } #endif
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 55, "tree_depth": 8, "variables_renamed": 2, "functions_renamed": 2, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_if ( #if #if ) #if ( binary_expression ( preproc_defined ( defined defined ) defined ( ( ( ) ( ( identifier VAR_3 ) ident...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[{"from": "_x", "to": "OQS_randombytes", "type": "call_arg"}, {"from": "xlen", "to": "OQS_randombytes", "type": "call_arg"}]
d2e1eafbaa0aa66c8ce198db0a9c8c0a97e96348d1b4a61eee1cfb1a31a32dbe
2026-06-03T03:10:47.341883+00:00
da9f56b9-4b74-4d9f-9496-3f70f532d59a
GITHUB
// SPDX-License-Identifier: Apache-2.0 OR CC0-1.0 #if defined(__unix__) || defined(__APPLE__) #ifndef LIBJADE_RANDOMBYTES_H #define LIBJADE_RANDOMBYTES_H #include <stdint.h> #include <oqs/rand.h> void __jasmin_syscall_randombytes__(uint8_t *_x, uint64_t xlen) __asm__("__jasmin_syscall_randombytes__"); #endif // LIB...
#if defined(VAR_5) || defined(VAR_6) #ifndef VAR_1 #define VAR_1 #include <stdint.h> #include <oqs/rand.h> void FUNC_1(uint8_t *VAR_3, uint64_t VAR_4) __asm__("__jasmin_syscall_randombytes__"); #endif #endif
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 55, "tree_depth": 9, "variables_renamed": 4, "functions_renamed": 1, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_if ( #if #if ) #if ( binary_expression ( preproc_defined ( defined defined ) defined ( ( ( ) ( ( identifier VAR_5 ) ident...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
1b320a48a582e99f637609c871c0b269b08c8f37c4ecb9578aa131f6bcb49ad8
2026-06-03T03:10:52.919879+00:00
4cfa86fc-fa19-46bf-9089-7922e8189289
GITHUB
// SPDX-License-Identifier: MIT // This file lists all OpenSSL functions used throughout the liboqs source code. // // Note that this file is included multiple times to generate custom // code by defining the FUNC macro, so no header guard should be // added here. VOID_FUNC(void, ERR_print_errors_fp, (FILE *fp), (fp)...
VAR_1(void, ERR_print_errors_fp, (FILE *VAR_2), (fp)) VAR_1(void, EVP_CIPHER_CTX_free, (EVP_CIPHER_CTX *VAR_3), (c)) VAR_4(EVP_CIPHER_CTX *, EVP_CIPHER_CTX_new, (void), ()) VAR_4(int, EVP_CIPHER_CTX_set_padding, (EVP_CIPHER_CTX *VAR_3, int VAR_5), (c, pad)) VAR_4(int, EVP_DigestFinalXOF, (EVP_MD_CTX *VAR_6, unsigned ch...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 1564, "tree_depth": 11, "variables_renamed": 0, "functions_renamed": 0, "types_renamed": 0, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( ERROR ( function_declarator ( identifier VAR_1 ) identifier ( parameter_list ( ( ( ) ( ( parameter_declaration ( primitive_type...
{}
{"is_vulnerable": true, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unknownMacro\" severity=\"error\" msg=\"There is an unknown macro here somewhere. Configuration is required. If VOID_FUNC is a macro then please configure it.\" verbose=\"There is an unknown macro here somewhere. Config...
[]
98e8f32abbac85eb4933d7909156d1aaf54a5cb1c9a43eb6b636d33581676150
2026-06-03T03:10:58.200698+00:00
c9d85e45-ba90-4f2c-b4b3-4cdc2c591315
GITHUB
// SPDX-License-Identifier: MIT #include <oqs/oqs.h> #if defined(OQS_USE_OPENSSL) #define OQS_OSSL_NO_EXTERN 1 #include "ossl_helpers.h" #include <assert.h> #if !defined(_WIN32) #include <dlfcn.h> #endif #if OPENSSL_VERSION_NUMBER >= 0x30000000L #if defined(OQS_USE_PTHREADS) #include <pthread.h> static pthread_once_t...
#include <oqs/oqs.h> #if defined(VAR_30) #define VAR_1 1 #include "ossl_helpers.h" #include <assert.h> #if !defined(VAR_31) #include <dlfcn.h> #endif #if VAR_32 >= 0x30000000L #if defined(VAR_33) #include <pthread.h> static TYPE_1 VAR_2 = VAR_34; static TYPE_1 VAR_3 = VAR_34; #endif static TYPE_2 *VAR_4, *VAR_5, *VAR_6...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 2377, "tree_depth": 21, "variables_renamed": 27, "functions_renamed": 24, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <oqs/oqs.h> ) system_lib_string ) preproc_include ( prepr...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[{"from": "PTHREAD_ONCE_INIT", "to": "init_once_control", "type": "assignment"}, {"from": "PTHREAD_ONCE_INIT", "to": "free_once_control", "type": "assignment"}, {"from": "EVP_MD_fetch", "to": "OSSL_FUNC", "type": "call_arg"}, {"from": "EVP_MD_fetch", "to": "OSSL_FUNC", "type": "call_arg"}, {"from": "EVP_MD_fetch", "to"...
7a2c01912607e2edb085ed82d6b8cf755fb07f3b35f3f92fd648262459d913fd
2026-06-03T03:11:03.716943+00:00
484699c2-a01b-4275-b012-cc50ecff851c
GITHUB
// SPDX-License-Identifier: MIT #ifndef OQS_OSSL_HELPERS_H #define OQS_OSSL_HELPERS_H #if defined(__cplusplus) extern "C" { #endif #include <openssl/crypto.h> #include <openssl/err.h> #include <openssl/evp.h> #include <openssl/rand.h> #if defined(OQS_USE_OPENSSL) void oqs_ossl_destroy(void); void oqs_thread_stop(vo...
#ifndef VAR_1 #define VAR_1 #if defined(VAR_20) extern "C" { #endif #include <openssl/crypto.h> #include <openssl/err.h> #include <openssl/evp.h> #include <openssl/rand.h> #if defined(VAR_21) void FUNC_1(void); void FUNC_2(void); const TYPE_1 *FUNC_3(void); const TYPE_1 *FUNC_4(void); const TYPE_1 *FUNC_5(void); const ...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 298, "tree_depth": 12, "variables_renamed": 19, "functions_renamed": 14, "types_renamed": 2, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
10e6221e25ac6b835b3f1e0c41237a6c99c4bdde9eb96e8e2ed888397a54bcc4
2026-06-03T03:11:08.812795+00:00
1614dca2-208a-4e91-828f-a727f41a7224
GITHUB
// SPDX-License-Identifier: MIT #ifndef AES_H #define AES_H #include <stdint.h> #include <stdlib.h> #include <oqs/aes.h> #define AES256_KEYBYTES 32 #define AESCTR_NONCEBYTES 12 #define AES_BLOCKBYTES 16 typedef void *aes128ctx; typedef void *aes256ctx; #define aes256_ecb_keyexp(r, key) OQS_AES256_ECB_load_schedul...
#ifndef VAR_1 #define VAR_1 #include <stdint.h> #include <stdlib.h> #include <oqs/aes.h> #define VAR_2 32 #define VAR_3 12 #define VAR_4 16 typedef void *TYPE_1; typedef void *TYPE_2; #define VAR_5(VAR_22, VAR_16) OQS_AES256_ECB_load_schedule((key), (r)) #define VAR_6(VAR_18, VAR_23, VAR_24, VAR_25) OQS_AES256_ECB_enc_...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 433, "tree_depth": 9, "variables_renamed": 20, "functions_renamed": 12, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[{"from": "key", "to": "OQS_AES256_CTR_inc_init", "type": "call_arg"}, {"from": "_schedule", "to": "OQS_AES256_CTR_inc_init", "type": "call_arg"}, {"from": "nonce", "to": "OQS_AES256_CTR_inc_iv", "type": "call_arg"}, {"from": "_schedule", "to": "OQS_AES256_CTR_inc_iv", "type": "call_arg"}, {"from": "key", "to": "OQS_AE...
4dd64053bce5a7cbf1191a631295fe3b6900c834f931854641c4dd9274d0ed6d
2026-06-03T03:11:14.267275+00:00
8e1e49b3-1f5d-4489-a963-d6004fc63f73
GITHUB
/* PLBC compiler — JS-subset → bytecode. * * Single-pass recursive descent: tokens stream straight into bytecode * emission, no AST. Symbol tables for params (indexed by @param decl * order), frame state, pixel state, and function-scoped locals (declared * via `let`). Branches use placeholder offsets fixed up at e...
#include "plbc.h" #include <ctype.h> #include <math.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct { char VAR_25[VAR_126]; } TYPE_1; typedef struct { const char *VAR_127; size_t VAR_128; size_t VAR_129; int VAR_130; double VAR_131; char VAR_1...
github_ast_structnorm
n log n
{"language": "cpp", "total_nodes": 11799, "tree_depth": 23, "variables_renamed": 73, "functions_renamed": 38, "types_renamed": 7, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content plbc.h ) string_content ( \" ...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-664", "CWE-134", "CWE-119", "CWE-120", "CWE-126"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"duplicateExpressionTernary\" severity=\"style\" msg=\"Same expression in both branches of ternary operator.\" verbose=\"Finding the same expression in both...
[{"from": "snprintf", "to": "n", "type": "assignment"}, {"from": "c", "to": "snprintf", "type": "call_arg"}, {"from": "c", "to": "snprintf", "type": "call_arg"}, {"from": "c", "to": "snprintf", "type": "call_arg"}, {"from": "ap", "to": "__builtin_va_start", "type": "call_arg"}, {"from": "fmt", "to": "__builtin_va_start...
245bc4b3a5d750c4be711a28ad57a07192f2bad25aa2bd3b487d6a9c8b6d9318
2026-06-03T03:11:22.013101+00:00
1761ea84-2480-4682-8467-0d1c4f191a5c
GITHUB
/* PlaiiinLight Bytecode (plbc) — Phase 23. * * Replaces the general-purpose JS engine with a stack VM tuned for per-pixel * shader-style scripts. Authors write a JS-like DSL; the compiler emits * bytecode; the device interprets it per pixel per frame. * * Why this exists: JerryScript's external-call overhead is ...
#pragma once #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include "esp_err.h" #define VAR_1 "PLBC" #define VAR_2 1 #define VAR_3 12 #define VAR_4 32 #define VAR_5 8 #define VAR_6 32 #define VAR_7 32 #define VAR_8 24 #define VAR_9 96 #define VA...
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 793, "tree_depth": 7, "variables_renamed": 39, "functions_renamed": 9, "types_renamed": 6, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include ...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-563", "CWE-119"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member &apos;plbc_param_t::name&apos; is never used.\" verbose=\"struct member &apos;plbc_param_t::name&apos; is never used.\" cwe=\"563\" file0=\...
[]
dca5cded49eb896db6deacbfb4839e0ee931a39a0c94e9f18e67ca7a5b11671a
2026-06-03T03:11:27.773625+00:00
0830ba8e-2c75-4ced-8ae8-d2cfa0f8ef1a
GITHUB
/* .bc file format (little-endian throughout): * * offset size field * 0 4 magic 'PLBC' * 4 1 version * 5 1 flags (reserved) * 6 2 reserved * 8 1 n_params * 9 1 n_frame_state * 10 1 n_pixel_state * 11 1 n_locals ...
#include "plbc.h" #include <string.h> #include <stdio.h> #define FUNC_1(VAR_7, VAR_13, VAR_36, VAR_55, VAR_15) do { \ if ((off) + (n) > (max)) return -1; \ memcpy((buf) + (off), (val), (n)); \ (off) += (n); \ } while (0) #define FUNC_2(VAR_7, VAR_13, VAR_36, VAR_56) do { \ if ((off) + 1 > (max)) return ...
github_ast_structnorm
n log n
{"language": "cpp", "total_nodes": 3380, "tree_depth": 17, "variables_renamed": 40, "functions_renamed": 15, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content plbc.h ) string_content ( \" \...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-120", "CWE-119", "CWE-126"], "tool_findings": [{"tool": "flawfinder", "detail": "C:\\Users\\SMAILB~1\\AppData\\Local\\Temp\\tmpv2exi0yl.cpp:30:5: [2] (buffer) memcpy:"}, {"tool": "flawfinder", "detail": "Does not check for buffer overflows when copying to destination (CWE-120)....
[{"from": "buf", "to": "WB", "type": "call_arg"}, {"from": "off", "to": "WB", "type": "call_arg"}, {"from": "buf_size", "to": "WB", "type": "call_arg"}, {"from": "PLBC_MAGIC", "to": "WB", "type": "call_arg"}, {"from": "buf", "to": "WU8", "type": "call_arg"}, {"from": "off", "to": "WU8", "type": "call_arg"}, {"from": "b...
f3f3a9a1165a3bc16e61bae00176e5b8f0ee8616409087db38ac8387b2c4fe13
2026-06-03T03:11:33.314865+00:00
febfa807-1ff2-4e8a-a172-db1c7d15fceb
GITHUB
/* PLBC stack-machine VM. Hot path: plbc_run_pixel. Called once per LED per * frame, so the dispatch loop is everything — keep it small, branch-predictable, * and free of allocations. */ #include "plbc.h" #include <math.h> #include <stdlib.h> #include <string.h> #include "esp_random.h" #define SIN_LUT_SIZE 256 st...
#include "plbc.h" #include <math.h> #include <stdlib.h> #include <string.h> #include "esp_random.h" #define VAR_1 256 static float VAR_2[VAR_1]; static bool VAR_3 = false; static const float VAR_4 = (float)VAR_1 / (2.0f * (float)VAR_76); static void FUNC_1(void) { if (VAR_3) return; for (int VAR_77 = 0; VAR_77...
github_ast_structnorm
n log n
{"language": "cpp", "total_nodes": 4550, "tree_depth": 19, "variables_renamed": 41, "functions_renamed": 20, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content plbc.h ) string_content ( \" \...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and re...
[{"from": "sinf", "to": "s_sin_lut", "type": "assignment"}, {"from": "rt", "to": "memset", "type": "call_arg"}, {"from": "w", "to": "rt", "type": "propagation"}, {"from": "h", "to": "rt", "type": "propagation"}, {"from": "bytes", "to": "calloc", "type": "call_arg"}, {"from": "rt", "to": "plbc_runtime_reset", "type": "c...
6b79f2d9622fc698bc75beeefa5b1a52cac9ec9099bd02e0d9921a32964b8728
2026-06-03T03:11:38.876047+00:00
7d7f5ec7-7186-41d8-990f-cf142f1b7a10
GITHUB
/* * Phase 35 — cube dynfire. * * Mirrors hardcoded/cube/fire.c structure (4 independent 8x8 fires on the * side walls + twinkling embers on the top) but derives hue from the lamp's * base color, the way hardcoded/tower/dynfire.c does. hue_mask values shift * the per-cell hue around the base; hueRange scales that...
#include "hardcoded_effects.h" #include "config_store.h" #include "dynfire_params.h" #include "js_player.h" #include "esp_log.h" #include "esp_random.h" #include <math.h> #include <stdint.h> #include <stdlib.h> #include <string.h> static const char *VAR_1 = "hc_cube_dynfire"; #define VAR_2 "fire_hue_mask" #define VAR...
github_ast_structnorm
n log n
{"language": "cpp", "total_nodes": 3703, "tree_depth": 17, "variables_renamed": 90, "functions_renamed": 25, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content hardcoded_effects.h ) string_c...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_...
[{"from": "dst", "to": "memset", "type": "call_arg"}, {"from": "h", "to": "memset", "type": "call_arg"}, {"from": "src", "to": "p", "type": "assignment"}, {"from": "TAG", "to": "ESP_LOGW", "type": "call_arg"}, {"from": "c", "to": "ESP_LOGW", "type": "call_arg"}, {"from": "row", "to": "ESP_LOGW", "type": "call_arg"}, {"...
bec9df7ca93a2402368394007df33effa7a605b51226e67e0db976c6c928fbcc
2026-06-03T03:11:44.642776+00:00
e964b890-bec2-4bf3-8e40-6c073d0f6649
GITHUB
/* * Phase 35 — cube fire effect. * * The cube chains 5 8x8 panels into one 320-LED strip: * faces 0..3 = front/right/back/left side walls (the horizontal band) * face 4 = top cap * * For the sides we run four INDEPENDENT 8x8 FirePattern heat matrices so each * wall flickers on its own — a single shared...
#include "hardcoded_effects.h" #include "config_store.h" #include "fire_params.h" #include "esp_log.h" #include "esp_random.h" #include <stdint.h> #include <stdlib.h> #include <string.h> static const char *VAR_1 = "hc_cube_fire"; #define VAR_2 "fire_hue_mask" #define VAR_3 "fire_value_mask" #define VAR_4 8 #def...
github_ast_structnorm
n log n
{"language": "cpp", "total_nodes": 3389, "tree_depth": 16, "variables_renamed": 79, "functions_renamed": 21, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content hardcoded_effects.h ) string_c...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_...
[{"from": "dst", "to": "memset", "type": "call_arg"}, {"from": "h", "to": "memset", "type": "call_arg"}, {"from": "src", "to": "p", "type": "assignment"}, {"from": "TAG", "to": "ESP_LOGW", "type": "call_arg"}, {"from": "c", "to": "ESP_LOGW", "type": "call_arg"}, {"from": "row", "to": "ESP_LOGW", "type": "call_arg"}, {"...
48bebbd29c722cfc99523e9f69b07e9c1e8cf5183f05efa025a59bfdd7080b09
2026-06-03T03:11:50.860718+00:00
76bc0224-37fd-43b0-9d95-48f7bce097f0
GITHUB
/* * Phase 35 — second hardcoded effect on top of the FirePattern engine. * * Same algorithm as fire.c (rising heat matrix, value-mask cooling, HSV→RGB) * but the hue is derived dynamically from the lamp's baseColor — the colour * set via /api/color / the macOS picker. The hue_mask values (0..~25 in the * shipped...
#include "hardcoded_effects.h" #include "config_store.h" #include "dynfire_params.h" #include "js_player.h" #include "esp_log.h" #include "esp_random.h" #include <math.h> #include <stdint.h> #include <stdlib.h> #include <string.h> static const char *VAR_1 = "hc_dynfire"; #define VAR_2 "fire_hue_mask" #define VAR_3 "f...
github_ast_structnorm
n log n
{"language": "cpp", "total_nodes": 3125, "tree_depth": 20, "variables_renamed": 72, "functions_renamed": 18, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content hardcoded_effects.h ) string_c...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_...
[{"from": "dst", "to": "memset", "type": "call_arg"}, {"from": "h", "to": "memset", "type": "call_arg"}, {"from": "src", "to": "p", "type": "assignment"}, {"from": "TAG", "to": "ESP_LOGW", "type": "call_arg"}, {"from": "c", "to": "ESP_LOGW", "type": "call_arg"}, {"from": "row", "to": "ESP_LOGW", "type": "call_arg"}, {"...
98cec1416ad644df50a66f4d86f4a089840a7a4b9abeb375f13549fb47440586
2026-06-03T03:12:01.448850+00:00
fc54295f-adb8-4b1b-8d3c-f3645ec968aa
GITHUB
/* * Phase 35 — first port of FirePattern.cpp from lampos/adaptations/ into the * new hardcoded-effects framework. Algorithm matches the C++ original 1:1: * * - A 2D heat buffer of width × height bytes (row-major, bottom = row 0). * - Each "tick" (configurable via the `speed` param) shifts every row UP * ...
#include "hardcoded_effects.h" #include "config_store.h" #include "fire_params.h" /* generated — exposes float fire_params[] live values + enum */ #include "esp_log.h" #include "esp_random.h" #include <stdint.h> #include <stdlib.h> #include <string.h> static const char *VAR_1 = "hc_fire"; #define VAR_2 "fire_hue_...
github_ast_structnorm
n log n
{"language": "cpp", "total_nodes": 2729, "tree_depth": 18, "variables_renamed": 61, "functions_renamed": 14, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content hardcoded_effects.h ) string_c...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_...
[{"from": "dst", "to": "memset", "type": "call_arg"}, {"from": "h", "to": "memset", "type": "call_arg"}, {"from": "src", "to": "p", "type": "assignment"}, {"from": "TAG", "to": "ESP_LOGW", "type": "call_arg"}, {"from": "c", "to": "ESP_LOGW", "type": "call_arg"}, {"from": "row", "to": "ESP_LOGW", "type": "call_arg"}, {"...
5cc6dd8bc0950997ef50330247b148902307cabd8dbcbd8a8b3dcb2b67343603
2026-06-03T03:12:07.617561+00:00
da23e6a5-19b3-4f89-ac77-acc75e48605b
GITHUB
/* * Phase 35 — hardcoded rocket dynfire. * * Same segment layout and reversed-flow body fire as rocket/fire.c, but the * fire palette is derived from the lamp's base color instead of red-yellow. * Booster halo, booster inner, and tip rings all use shades of the base * color (bright for the outer halo, dim for ev...
#include "hardcoded_effects.h" #include "config_store.h" #include "dynflight_params.h" #include "led_control.h" #include "js_player.h" #include "esp_log.h" #include "esp_random.h" #include <math.h> #include <stdint.h> #include <stdlib.h> #include <string.h> static const char *VAR_1 = "hc_rocket_dynflight"; #define VAR_...
github_ast_structnorm
n log n
{"language": "cpp", "total_nodes": 2877, "tree_depth": 17, "variables_renamed": 76, "functions_renamed": 18, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content hardcoded_effects.h ) string_c...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"variableScope\" severity=\"style\" msg=\"The scope of the variable &apos;h&apos; can be reduced.\" verbose=\"The scope of the variable &apos;h&apos; can be reduced. Warning: Be careful when fixing th...
[{"from": "v", "to": "b", "type": "propagation"}, {"from": "v", "to": "r", "type": "propagation"}, {"from": "t", "to": "g", "type": "propagation"}, {"from": "p", "to": "b", "type": "propagation"}, {"from": "q", "to": "r", "type": "propagation"}, {"from": "v", "to": "g", "type": "propagation"}, {"from": "p", "to": "b", ...
494e8af31450131e1fd0d5df80794503d16121d608970a19ddcfdbe2496b20df
2026-06-03T03:12:14.188276+00:00
8fd3acdf-97be-48b4-9957-1afbb49a5b72
GITHUB
/* * Phase 35 — hardcoded rocket fire. * * Rocket chain layout (base → tip): * idx 0..7 booster_inner ( 8-LED ring) * idx 8..31 booster_outer (24-LED ring) * idx 32..95 body_matrix_1 (8x8, cols 0..7 of the cylinder) * idx 96..159 body_matrix_2 (8x8, cols 8..15 of the cylinder) * ...
#include "hardcoded_effects.h" #include "config_store.h" #include "flight_params.h" #include "led_control.h" #include "esp_log.h" #include "esp_random.h" #include <math.h> #include <stdint.h> #include <stdlib.h> #include <string.h> static const char *VAR_1 = "hc_rocket_flight"; #define VAR_2 16 /* cols aro...
github_ast_structnorm
n^2
{"language": "cpp", "total_nodes": 2518, "tree_depth": 17, "variables_renamed": 71, "functions_renamed": 14, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content hardcoded_effects.h ) string_c...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-120"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"variableScope\" severity=\"style\" msg=\"The scope of the variable &apos;h&apos; can be reduced.\" verbose=\"The scope of the variable &apos;h&apos; can be reduced. Warning: Be careful when fixing th...
[{"from": "v", "to": "b", "type": "propagation"}, {"from": "v", "to": "r", "type": "propagation"}, {"from": "t", "to": "g", "type": "propagation"}, {"from": "p", "to": "b", "type": "propagation"}, {"from": "q", "to": "r", "type": "propagation"}, {"from": "v", "to": "g", "type": "propagation"}, {"from": "p", "to": "b", ...
3e520aa47e4f6ca54340b3498556b16a2d1cdfc4930d83d1036fbcdbeeb20216
2026-06-03T03:12:27.021078+00:00
057f5277-2e9b-4f01-8037-9659a64e20e0
GITHUB
#include "ai_key_api.h" #include "config_store.h" #include "factory_reset.h" #include "mdns_service.h" #include "pairing.h" #include "plaiiin_mqtt.h" #include "esp_log.h" #include <stdio.h> #include <stdlib.h> #include <string.h> static const char *TAG = "ai_key_api"; #define AI_KEY_MAX_LEN 256 static esp_err_t key...
#include "ai_key_api.h" #include "config_store.h" #include "factory_reset.h" #include "mdns_service.h" #include "pairing.h" #include "plaiiin_mqtt.h" #include "esp_log.h" #include <stdio.h> #include <stdlib.h> #include <string.h> static const char *VAR_1 = "ai_key_api"; #define VAR_2 256 static TYPE_1 FUNC_1(TYPE_2 *VA...
github_ast_structnorm
n
{"language": "cpp", "total_nodes": 2824, "tree_depth": 16, "variables_renamed": 37, "functions_renamed": 32, "types_renamed": 4, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content ai_key_api.h ) string_content ...
{}
{"is_vulnerable": true, "cwe_ids": ["CWE-119", "CWE-120", "CWE-126"], "tool_findings": [{"tool": "flawfinder", "detail": "C:\\Users\\SMAILB~1\\AppData\\Local\\Temp\\tmpbyhm1u4c.cpp:24:5: [2] (buffer) char:"}, {"tool": "flawfinder", "detail": "Statically-sized arrays can be improperly restricted, leading to potential"}...
[{"from": "req", "to": "pairing_http_check", "type": "call_arg"}, {"from": "PL_ROLE_ADMIN", "to": "pairing_http_check", "type": "call_arg"}, {"from": "config_store_get_str", "to": "err", "type": "assignment"}, {"from": "CONFIG_KEY_AI_API_KEY", "to": "config_store_get_str", "type": "call_arg"}, {"from": "key", "to": "co...
4c9cce49e9f13273d75a677f9156183772dc2f4594b4446d7aa64a3123ae3578
2026-06-03T03:12:35.150179+00:00
2342cdc0-32e8-4613-b562-0c6e426f0ca5
GITHUB
#pragma once #include "esp_err.h" #include "esp_http_server.h" /** * /api/ai/key — store the AI provider's API key in NVS so it a) survives * reboots, b) is shared across browsers/clients hitting the same lamp's * /compose page, and c) gets wiped by factory_reset_full(). * * GET /api/ai/key → {"hasKey":tr...
#pragma once #include "esp_err.h" #include "esp_http_server.h" TYPE_1 FUNC_1(TYPE_2 VAR_2);
github_ast_structnorm
1
{"language": "cpp", "total_nodes": 27, "tree_depth": 6, "variables_renamed": 2, "functions_renamed": 1, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include ( ...
{}
{"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 1.0, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}}
[]
b64f081bb1b8a776d2ba6542eab642d4e7de311dbdfa7a7e54ae126e76d21a1f
2026-06-03T03:12:48.084000+00:00