Repository Analysis

NationalSecurityAgency/ghidra

Ghidra is a software reverse engineering (SRE) framework

1.5 Likely human-written View on GitHub
1.5
Adjusted Score
1.5
Raw Score
100%
Time Factor
2026-05-29
Last Push
69,002
Stars
Java
Language
3,465,032
Lines of Code
16736
Files
2682
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 17HIGH 586MEDIUM 97LOW 1982

Pattern Findings

2682 matches across 16 categories. Click a row to expand file-level details.

Cross-File Repetition551 hits · 2755 pts
SeverityFileLineSnippet
HIGHGhidraDocs/GhidraClass/Debugger/B4-Modeling.md0__result = 0; <loop> if (*:1 (str+__result) == 0 || __result >= maxlen) goto <exit>; __result = __result + 1; goto <loop
HIGH…hidraClass/Debugger/ghidra_scripts/ModelingScript.java0__result = 0; <loop> if (*:1 (str+__result) == 0 || __result >= maxlen) goto <exit>; __result = __result + 1; goto <loop
HIGH…dra_scripts/EmuX86GccDeobfuscateHookExampleScript.java0__result = 0; <loop> if (*:1 (str+__result) == 0 || __result >= maxlen) goto <exit>; __result = __result + 1; goto <loop
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0frees memory and closes message box and xml file at termination.
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0frees memory and closes message box and xml file at termination.
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0frees memory and closes message box and xml file at termination.
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0outputs debug message if debug flag is enabled. args: message: string containing the debug message.
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0outputs debug message if debug flag is enabled. args: message: string containing the debug message.
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0outputs debug message if debug flag is enabled. args: message: string containing the debug message.
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0opens filename to specified mode. args: filename: string representing absolute filepath. mode: string representing mode
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0opens filename to specified mode. args: filename: string representing absolute filepath. mode: string representing mode
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0opens filename to specified mode. args: filename: string representing absolute filepath. mode: string representing mode
HIGHGhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py0opens filename to specified mode. args: filename: string representing absolute filepath. mode: string representing mode
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0updates the counter for the element tag. args: tag: string representing element tag.
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0updates the counter for the element tag. args: tag: string representing element tag.
HIGHGhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py0updates the counter for the element tag. args: tag: string representing element tag.
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0displays the processing status in the ida window. args: tag: string representing xml element tag
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0displays the processing status in the ida window. args: tag: string representing xml element tag
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0displays the processing status in the ida window. args: tag: string representing xml element tag
HIGHGhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py0displays the processing status in the ida window. args: tag: string representing xml element tag
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0xml exporter contains methods to export an ida database as a xml program document.
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0xml exporter contains methods to export an ida database as a xml program document.
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0xml exporter contains methods to export an ida database as a xml program document.
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0initializes the xmlexporter attributes args: arg: integer, non-zero value enables auto-run feature for ida batch (no gui
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0initializes the xmlexporter attributes args: arg: integer, non-zero value enables auto-run feature for ida batch (no gui
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0initializes the xmlexporter attributes args: arg: integer, non-zero value enables auto-run feature for ida batch (no gui
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0exports the ida database to a xml program document file.
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0exports the ida database to a xml program document file.
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0exports the ida database to a xml program document file.
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0checks for the presence of a decompiler plugin for the database. note: the decompiler must be loaded by the xml exporter
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0checks for the presence of a decompiler plugin for the database. note: the decompiler must be loaded by the xml exporter
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0checks for the presence of a decompiler plugin for the database. note: the decompiler must be loaded by the xml exporter
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0replaces a special xml character with an entity string. args: ch: string containing the character to check. returns: str
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0replaces a special xml character with an entity string. args: ch: string containing the character to check. returns: str
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0replaces a special xml character with an entity string. args: ch: string containing the character to check. returns: str
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0checks all characters in a string for special xml characters. args: text: string to check for special xml characters. re
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0checks all characters in a string for special xml characters. args: text: string to check for special xml characters. re
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0checks all characters in a string for special xml characters. args: text: string to check for special xml characters. re
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0determines if any address in a segment contains a value. args: seg: ida segment object returns: true if any address in a
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0determines if any address in a segment contains a value. args: seg: ida segment object returns: true if any address in a
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0determines if any address in a segment contains a value. args: seg: ida segment object returns: true if any address in a
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0determines if stack frame contains any parameters or local variables. args: sframe: ida stack frame for a function. retu
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0determines if stack frame contains any parameters or local variables. args: sframe: ida stack frame for a function. retu
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0determines if stack frame contains any parameters or local variables. args: sframe: ida stack frame for a function. retu
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0closes the start tag for an xml element. args: has_contents: boolean indicating if the element has sub-elements or text.
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0closes the start tag for an xml element. args: has_contents: boolean indicating if the element has sub-elements or text.
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0closes the start tag for an xml element. args: has_contents: boolean indicating if the element has sub-elements or text.
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0displays the elapsed cpu time since the start time. args: start: floating-point value representing start time in seconds
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0displays the elapsed cpu time since the start time. args: start: floating-point value representing start time in seconds
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0displays the elapsed cpu time since the start time. args: start: floating-point value representing start time in seconds
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0writes the element end tag to the xml file. args: tag: string containing the element name. newline: boolean indicating i
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0writes the element end tag to the xml file. args: tag: string containing the element name. newline: boolean indicating i
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0writes the element end tag to the xml file. args: tag: string containing the element name. newline: boolean indicating i
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0# bit_mask not currently supported for enum def export_bitmask(self, eid, mask):
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0# bit_mask not currently supported for enum def export_bitmask(self, eid, mask):
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0# bit_mask not currently supported for enum def export_bitmask(self, eid, mask):
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0exports marked location descriptions as bookmark elements.
HIGHGhidraBuild/IDAPro/Python/7xx/python/idaxml.py0exports marked location descriptions as bookmark elements.
HIGHGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py0exports marked location descriptions as bookmark elements.
HIGHGhidraBuild/IDAPro/Python/9xx/python/idaxml.py0exports block and end-of-line comments entered in the decompiler interface.
491 more matches not shown…
Over-Commented Block1380 hits · 1340 pts
SeverityFileLineSnippet
LOWdocker/build-docker-image.sh1#!/usr/bin/env bash
LOWdocker/entrypoint.sh1#!/bin/bash
LOW…ass/Beginner/Introduction_to_Ghidra_Student_Guide.html2861
LOW…/GhidraClass/ExerciseFiles/WinhelloCPP/source/stdafx.h21
LOW…hidraClass/ExerciseFiles/WinhelloCPP/source/Resource.h21
LOW…hidraClass/ExerciseFiles/WinhelloCPP/source/Resource.h41#define _APS_NEXT_COMMAND_VALUE 32771
LOW…hidraClass/ExerciseFiles/WinhelloCPP/source/stdafx.cpp21#include "stdafx.h"
LOW…draDocs/GhidraClass/ExerciseFiles/Debugger/termmines.c21#include <ncurses.h>
LOW…ass/AdvancedDevelopment/GhidraAdvancedDevelopment.html1821</style>
LOW…draDocs/GhidraClass/Intermediate/HeadlessAnalyzer.html1061
LOW…ss/Intermediate/Intermediate_Ghidra_Student_Guide.html781 background: #AAA;
LOWGhidraDocs/GhidraClass/Intermediate/Scripting.html1321 /* The progressbar, at the bottom of the slides, show the global
LOWGhidraBuild/Skeleton/data/sleighArgs.txt1# Add sleigh compiler options to this file (one per line) which will
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py1## ###
LOWGhidraBuild/IDAPro/Python/9xx/plugins/xml_importer.py1## ###
LOWGhidraBuild/IDAPro/Python/9xx/plugins/xml_exporter.py1## ###
LOWGhidraBuild/IDAPro/Python/9xx/loaders/xml_loader.py1## ###
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py1## ###
LOWGhidraBuild/IDAPro/Python/7xx/plugins/xml_importer.py1## ###
LOWGhidraBuild/IDAPro/Python/7xx/plugins/xml_exporter.py1## ###
LOWGhidraBuild/IDAPro/Python/7xx/loaders/xml_loader.py1## ###
LOWGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py1## ###
LOWGhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py1## ###
LOWgradle/support/jacoco.excludes.src.txt121// this is only used by dbg
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/demangle.h101#define NO_DEMANGLING_STYLE_STRING "none"
LOW…manglerGnu/src/demangler_gnu_v2_24/headers/libiberty.h341 as new/delete and new[]/delete[]. */
LOW…manglerGnu/src/demangler_gnu_v2_24/headers/libiberty.h361
LOW…manglerGnu/src/demangler_gnu_v2_24/headers/libiberty.h661#if GCC_VERSION >= 2000 && !defined USE_C_ALLOCA
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h161/* PARAMS is often defined elsewhere (e.g. by libintl.h), so wrap it in
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h181
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h201#define PROTO(type, name, arglist) type name arglist
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h221#define VA_OPEN(AP, VAR) { va_list AP; va_start(AP); { struct Qdmy
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h241#define EXFUN(name, proto) name()
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h261# if (GCC_VERSION >= 2096)
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h281# define ATTRIBUTE_UNUSED_LABEL
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h301#else /* !__cplusplus || GNUC >= 3.4 */
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h321# define ATTRIBUTE_PURE __attribute__ ((__pure__))
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h341 a function pointer. Format attributes were allowed on function
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h361# else
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h381#ifndef ATTRIBUTE_ALIGNED_ALIGNOF
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h401# endif /* GNUC >= 4.3 */
LOW…emanglerGnu/src/demangler_gnu_v2_24/headers/ansidecl.h421 This is because the semantics of const are different in C and C++.
LOW…anglerGnu/src/demangler_gnu_v2_24/headers/safe-ctype.h41
LOW…anglerGnu/src/demangler_gnu_v2_24/headers/safe-ctype.h101#define ISPUNCT(c) _sch_test(c, _sch_ispunct)
LOW…anglerGnu/src/demangler_gnu_v2_24/headers/safe-ctype.h121 detecting that ctype.h has been included. But this was causing
LOW…anglerGnu/src/demangler_gnu_v2_24/headers/safe-ctype.h141#undef ispunct
LOW…L/DemanglerGnu/src/demangler_gnu_v2_24/c/cp-demangle.c101
LOW…L/DemanglerGnu/src/demangler_gnu_v2_24/c/cp-demangle.c121#include <string.h>
LOW…L/DemanglerGnu/src/demangler_gnu_v2_24/c/cp-demangle.c181static void d_init_info (const char *, int, size_t, struct d_info *);
LOWGPL/DemanglerGnu/src/demangler_gnu_v2_24/c/safe-ctype.c121
LOWGPL/DemanglerGnu/src/demangler_gnu_v2_24/c/safe-ctype.c141#define vs _sch_isvsp
LOWGPL/DemanglerGnu/src/demangler_gnu_v2_24/c/xstrdup.c21#ifdef HAVE_CONFIG_H
LOWGPL/DemanglerGnu/src/demangler_gnu_v2_24/c/getopt.c61#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2
LOWGPL/DemanglerGnu/src/demangler_gnu_v2_24/c/getopt.c81# include <unixlib.h>
LOWGPL/DemanglerGnu/src/demangler_gnu_v2_24/c/getopt.c201/* We want to avoid inclusion of string.h with non-GNU libraries
LOW…emanglerGnu/src/demangler_gnu_v2_41/headers/demangle.h101#define NO_DEMANGLING_STYLE_STRING "none"
LOW…manglerGnu/src/demangler_gnu_v2_41/headers/libiberty.h361#define XALLOCA(T) ((T *) alloca (sizeof (T)))
LOW…emanglerGnu/src/demangler_gnu_v2_41/headers/ansidecl.h61#if (!defined(__cplusplus) && __STDC_VERSION__ >= 199901L) || defined(__cplusplus) || (defined(__SUNPRO_C) && defined(__
LOW…emanglerGnu/src/demangler_gnu_v2_41/headers/ansidecl.h81# if (GCC_VERSION >= 2096)
LOW…emanglerGnu/src/demangler_gnu_v2_41/headers/ansidecl.h101# define ATTRIBUTE_UNUSED_LABEL
1320 more matches not shown…
Unused Imports267 hits · 250 pts
SeverityFileLineSnippet
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py22
LOWGhidraBuild/IDAPro/Python/9xx/plugins/xml_importer.py25
LOWGhidraBuild/IDAPro/Python/9xx/plugins/xml_importer.py28
LOWGhidraBuild/IDAPro/Python/9xx/plugins/xml_importer.py31
LOWGhidraBuild/IDAPro/Python/9xx/plugins/xml_exporter.py25
LOWGhidraBuild/IDAPro/Python/9xx/plugins/xml_exporter.py31
LOWGhidraBuild/IDAPro/Python/9xx/loaders/xml_loader.py25
LOWGhidraBuild/IDAPro/Python/9xx/loaders/xml_loader.py26
LOWGhidraBuild/IDAPro/Python/9xx/loaders/xml_loader.py29
LOWGhidraBuild/IDAPro/Python/9xx/loaders/xml_loader.py32
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py22
LOWGhidraBuild/IDAPro/Python/7xx/plugins/xml_importer.py25
LOWGhidraBuild/IDAPro/Python/7xx/plugins/xml_importer.py27
LOWGhidraBuild/IDAPro/Python/7xx/plugins/xml_exporter.py25
LOWGhidraBuild/IDAPro/Python/7xx/loaders/xml_loader.py25
LOWGhidraBuild/IDAPro/Python/7xx/loaders/xml_loader.py26
LOWGhidraBuild/IDAPro/Python/7xx/loaders/xml_loader.py29
LOWGhidra/Framework/Pty/src/main/resources/session.py29
LOW…dra/Features/PyGhidra/ghidra_scripts/PyGhidraBasics.py22
LOWGhidra/Features/PyGhidra/src/main/py/tests/test_core.py229
LOWGhidra/Features/PyGhidra/src/main/py/tests/test_core.py230
LOW…/Features/PyGhidra/src/main/py/tests/test_argparser.py17
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py57
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py57
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py58
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py58
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py59
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py59
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py59
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py59
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py59
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py60
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py60
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py60
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py60
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py61
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py61
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py61
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py61
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py62
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py63
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py63
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py63
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py64
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py65
LOW…Features/PyGhidra/src/main/py/src/pyghidra/__init__.py65
LOW…dra/Features/PyGhidra/src/main/py/src/pyghidra/core.py20
LOW…dra/Features/PyGhidra/src/main/py/src/pyghidra/core.py26
LOW…dra/Features/PyGhidra/src/main/py/src/pyghidra/core.py26
LOW…dra/Features/PyGhidra/src/main/py/src/pyghidra/core.py26
LOW…dra/Features/PyGhidra/src/main/py/src/pyghidra/core.py27
LOW…idra/Features/PyGhidra/src/main/py/src/pyghidra/api.py20
LOW…idra/Features/PyGhidra/src/main/py/src/pyghidra/api.py27
LOW…idra/Features/PyGhidra/src/main/py/src/pyghidra/api.py27
LOW…idra/Features/PyGhidra/src/main/py/src/pyghidra/api.py28
LOW…idra/Features/PyGhidra/src/main/py/src/pyghidra/api.py29
LOW…idra/Features/PyGhidra/src/main/py/src/pyghidra/api.py30
LOW…idra/Features/PyGhidra/src/main/py/src/pyghidra/api.py32
LOW…idra/Features/PyGhidra/src/main/py/src/pyghidra/gui.py115
LOW…e/ghidra_scripts/LocateMemoryAddressesForFileOffset.py24
207 more matches not shown…
Hallucination Indicators17 hits · 210 pts
SeverityFileLineSnippet
CRITICAL…ava/ghidra/framework/plugintool/PluginManagerTest.java62 ghidra.framework.plugintool.testplugins.secondconflict.NameConflictingPlugin.class.getName()));
CRITICAL…rc/test.slow/java/ghidra/server/remote/SSHKeyUtil.java90 * (modeled after org.bouncycastle.crypto.util.SSHBuilder.u32(int))
CRITICAL…rc/test.slow/java/ghidra/server/remote/SSHKeyUtil.java105 * (modeled after org.bouncycastle.crypto.util.SSHBuilder.writeString(String)
CRITICAL…/plugin/processors/sleigh/SleighLanguageValidator.java223 VerifierFactory factory = new com.sun.msv.verifier.jarv.TheFactoryImpl();
CRITICAL…java/ghidra/framework/remote/SSHSignatureCallback.java92 * (modeled after org.bouncycastle.crypto.util.SSHBuilder.u32(int))
CRITICAL…java/ghidra/framework/remote/SSHSignatureCallback.java107 * (modeled after org.bouncycastle.crypto.util.SSHBuilder.writeBlock(byte[])
CRITICAL…java/ghidra/framework/remote/SSHSignatureCallback.java118 * (modeled after org.bouncycastle.crypto.util.SSHBuilder.writeString(String)
CRITICAL…k/Project/src/main/java/ghidra/ProjectInitializer.java25 ghidra.framework.protocol.ghidra.Handler.registerHandler();
CRITICAL…va/ghidra/server/security/SSHAuthenticationModule.java102 * (modeled after org.bouncycastle.crypto.util.SSHBuffer.readU32())
CRITICAL…va/ghidra/server/security/SSHAuthenticationModule.java122 * (modeled after org.bouncycastle.crypto.util.SSHBuffer.readBlock())
CRITICAL…/ghidra/features/bsim/query/ingest/BSimLaunchable.java1166 ghidra.framework.protocol.ghidra.Handler.registerHandler();
CRITICAL…/ghidra/features/bsim/query/ingest/BSimLaunchable.java1167 ghidra.features.bsim.query.postgresql.Handler.registerHandler();
CRITICAL…a/Features/GhidraGo/src/main/java/ghidra/GhidraGo.java60 ghidra.framework.protocol.ghidra.Handler.registerHandler();
CRITICAL…a/ghidra/app/util/demangler/swift/nodes/SwiftNode.java74 case Extension -> new ghidra.app.util.demangler.swift.nodes.SwiftExtensionNode();
CRITICAL…a/framework/plugintool/dialog/KeyBindingUtilsTest.java174 * Test method for 'ghidra.framework.plugintool.dialog.KeyBindingUtils.importKeyBindings(PluginTool)'
CRITICAL…/main/java/ghidra/app/util/cparser/C/CParserUtils.java585 throw new ghidra.app.util.cparser.CPP.ParseException(e.getMessage());
CRITICAL…plugin/core/analysis/FindPossibleReferencesPlugin.java160 new ghidra.app.plugin.core.analysis.UpdateAlignmentAction(this, model, alignment);
Cross-Language Confusion34 hits · 165 pts
SeverityFileLineSnippet
HIGH…dra/Features/PyGhidra/src/main/py/src/pyghidra/core.py51 raise ValueError(f"Invalid CompilerSpecID: {compiler} for Language: {lang_id.toString()}")
HIGH…Features/PyGhidra/src/main/py/src/pyghidra/launcher.py56 System.setOut(null)
HIGH…Features/PyGhidra/src/main/py/src/pyghidra/launcher.py58 System.setErr(null)
HIGH…atures/BSim/ghidra_scripts/DumpBSimSignaturesScript.py45 print buf.toString()
HIGH…s/BSim/ghidra_scripts/DumpBSimDebugSignaturesScript.py40 print "%s" % buf.toString()
HIGH…e/ghidra_scripts/LocateMemoryAddressesForFileOffset.py43 println('File offset ' + hex(fileOffset) + ' is associated with memory block:address ' + memBlockName + ':' + addr.toS
HIGH…e/ghidra_scripts/LocateMemoryAddressesForFileOffset.py48 ', Memory block:address ' + memBlockName + ':'+ addr.toString())
HIGH…e/ghidra_scripts/LocateMemoryAddressesForFileOffset.py51 ', Memory block:address ' + memBlockName + ':' + addr.toString())
HIGH…e/ghidra_scripts/LocateMemoryAddressesForFileOffset.py65 println(mem.getBlock(addr).getName() + ":" + addr.toString())
HIGH…idra/Features/Base/ghidra_scripts/RunYARAFromGhidra.py186 (yaraRuleName,memoryAddress.toString(), hex(fileOffset)))
HIGH…idra/Features/Base/ghidra_scripts/RunYARAFromGhidra.py221 println('\t ' + mem.getBlock(addr).getName() + ':' + addr.toString())
HIGH…idra/Features/Base/ghidra_scripts/RunYARAFromGhidra.py222 addressChoiceList.append(mem.getBlock(addr).getName() + ':' + addr.toString())
HIGHGhidra/Extensions/Jython/ghidra_scripts/AskScriptPy.py51 print "language was: " + lang.toString()
HIGHGhidra/Extensions/Jython/ghidra_scripts/AskScriptPy.py110 Msg.warn(self, "Error during headless processing: " + error.toString())
HIGH…bugger-rmi-trace/src/main/py/src/ghidratrace/client.py750 to.extend = range.length() - 1
HIGH…ugger-agent-lldb/src/main/py/src/ghidralldb/methods.py618 sz = range.length()
HIGH…ugger-agent-lldb/src/main/py/src/ghidralldb/methods.py637 sz = range.length()
HIGH…ugger-agent-lldb/src/main/py/src/ghidralldb/methods.py656 sz = range.length()
HIGH…ugger-agent-lldb/src/main/py/src/ghidralldb/methods.py728 f'ghidra trace putmem 0x{offset_start:x} {range.length()}', result)
HIGH…ugger-agent-lldb/src/main/py/src/ghidralldb/methods.py733 f'ghidra trace putmem-state 0x{offset_start:x} {range.length()} error')
HIGH…ger-agent-x64dbg/src/main/py/src/ghidraxdbg/methods.py657 offset_start, offset_start + range.length() - 1, pages=True,
HIGH…ger-agent-x64dbg/src/main/py/src/ghidraxdbg/methods.py661 offset_start, offset_start + range.length() - 1, 'error')
HIGH…ebugger-agent-gdb/src/main/py/src/ghidragdb/methods.py702 f'rwatch -location *((char(*)[{range.length()}]) 0x{offset_start:x})')
HIGH…ebugger-agent-gdb/src/main/py/src/ghidragdb/methods.py718 f'watch -location *((char(*)[{range.length()}]) 0x{offset_start:x})')
HIGH…ebugger-agent-gdb/src/main/py/src/ghidragdb/methods.py734 f'awatch -location *((char(*)[{range.length()}]) 0x{offset_start:x})')
HIGH…ebugger-agent-gdb/src/main/py/src/ghidragdb/methods.py913 f'ghidra trace putmem 0x{offset_start:x} {range.length()}')
HIGH…ebugger-agent-gdb/src/main/py/src/ghidragdb/methods.py916 f'ghidra trace putmem-state 0x{offset_start:x} {range.length()} error')
HIGH…ugger-agent-drgn/src/main/py/src/ghidradrgn/methods.py361 offset_start, offset_start + range.length() - 1, pages=True, display_result=False)
HIGH…ugger-agent-drgn/src/main/py/src/ghidradrgn/methods.py364 offset_start, offset_start+range.length() - 1, 'error')
HIGH…gger-agent-dbgeng/src/main/py/src/ghidradbg/methods.py762 dbg().ba(expr=range.min, size=range.length(),
HIGH…gger-agent-dbgeng/src/main/py/src/ghidradbg/methods.py778 dbg().ba(expr=range.min, size=range.length(),
HIGH…gger-agent-dbgeng/src/main/py/src/ghidradbg/methods.py794 dbg().ba(expr=range.min, size=range.length(),
HIGH…gger-agent-dbgeng/src/main/py/src/ghidradbg/methods.py835 offset_start, offset_start + range.length() - 1, pages=True,
HIGH…gger-agent-dbgeng/src/main/py/src/ghidradbg/methods.py839 offset_start, range.length() - 1, 'error')
Excessive Try-Catch Wrapping118 hits · 149 pts
SeverityFileLineSnippet
MEDIUMGhidraBuild/IDAPro/Python/9xx/python/idaxml.py2614def is_int(self, s) -> bool:
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py294 except Exception:
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py458 except Exception:
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py673 except Exception:
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py2531 except Exception:
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py2618 except Exception:
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py2732 except Exception as e:
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py3066 except Exception as e:
LOWGhidraBuild/IDAPro/Python/9xx/plugins/xml_importer.py81 except Exception as e:
LOWGhidraBuild/IDAPro/Python/9xx/plugins/xml_exporter.py78 except Exception as e:
LOWGhidraBuild/IDAPro/Python/9xx/loaders/xml_loader.py94 except Exception as e:
LOW…dra/Features/PyGhidra/src/main/py/tests/test_plugin.py139 except Exception:
LOW…Features/PyGhidra/src/main/py/src/pyghidra/launcher.py90 except Exception as e:
LOW…Features/PyGhidra/src/main/py/src/pyghidra/launcher.py507 except Exception as e:
LOW…Features/PyGhidra/src/main/py/src/pyghidra/launcher.py534 except Exception as e:
LOW…Features/PyGhidra/src/main/py/src/pyghidra/launcher.py569 except Exception as e:
LOW…idra/Features/PyGhidra/src/main/py/src/pyghidra/gui.py130 except Exception as e:
LOW…dra/src/main/py/src/pyghidra/internal/plugin/plugin.py339 except Exception:
MEDIUM…dra/src/main/py/src/pyghidra/internal/plugin/plugin.py99def run(self):
LOW…on/ghidra_scripts/CallAnotherScriptForAllProgramsPy.py73 except Exception:
MEDIUM…ger-rmi-trace/src/main/py/src/ghidratrace/merge_xml.py49 print(f"Error: {e.stderror}")
LOW…bugger-rmi-trace/src/main/py/src/ghidratrace/client.py19except Exception as e:
MEDIUM…bugger-rmi-trace/src/main/py/src/ghidratrace/client.py1384 print(f"Error caused by front end: {e}")
LOW…gger-agent-lldb/src/main/py/src/ghidralldb/commands.py1724 except Exception:
MEDIUM…ugger-agent-x64dbg/data/support/local-x64dbg-attach.py34 print("Error: expected (cxn, target, initdir, ...)")
LOW…ugger-agent-x64dbg/data/support/local-x64dbg-attach.py45 except Exception as e:
MEDIUM…bug/Debugger-agent-x64dbg/data/support/local-x64dbg.py44 print("Error: expected (cxn, target, initdir, ...)")
LOW…bug/Debugger-agent-x64dbg/data/support/local-x64dbg.py55 except Exception as e:
LOW…bug/Debugger-agent-x64dbg/data/support/local-x64dbg.py68 except Exception as e:
LOW…ugger-agent-x64dbg/src/main/py/src/ghidraxdbg/hooks.py81 except Exception:
LOW…ugger-agent-x64dbg/src/main/py/src/ghidraxdbg/hooks.py105 except Exception:
LOW…ugger-agent-x64dbg/src/main/py/src/ghidraxdbg/hooks.py184 except Exception:
LOW…ugger-agent-x64dbg/src/main/py/src/ghidraxdbg/hooks.py307 except Exception:
MEDIUM…ugger-agent-x64dbg/src/main/py/src/ghidraxdbg/hooks.py98def record_continued(self) -> None:
MEDIUM…bugger-agent-x64dbg/src/main/py/src/ghidraxdbg/util.py138def selected_process_space() -> int:
LOW…bugger-agent-x64dbg/src/main/py/src/ghidraxdbg/util.py218 except Exception:
LOW…bugger-agent-x64dbg/src/main/py/src/ghidraxdbg/util.py234 except Exception:
LOW…bugger-agent-x64dbg/src/main/py/src/ghidraxdbg/util.py249 except Exception:
LOW…bugger-agent-x64dbg/src/main/py/src/ghidraxdbg/arch.py57 except Exception as e:
MEDIUM…bugger-agent-x64dbg/src/main/py/src/ghidraxdbg/arch.py58 print(f"Error getting actual processor type: {e}")
LOW…bugger-agent-x64dbg/src/main/py/src/ghidraxdbg/arch.py84 except Exception:
MEDIUM…bugger-agent-x64dbg/src/main/py/src/ghidraxdbg/arch.py85 print("Error getting target OS/ABI")
LOW…bugger-agent-x64dbg/src/main/py/src/ghidraxdbg/arch.py183 except Exception:
MEDIUM…bugger-agent-x64dbg/src/main/py/src/ghidraxdbg/arch.py54def get_arch() -> str:
LOW…er-agent-x64dbg/src/main/py/src/ghidraxdbg/commands.py1264 except Exception as e:
LOW…er-agent-x64dbg/src/main/py/src/ghidraxdbg/commands.py434 except Exception as e:
LOW…er-agent-x64dbg/src/main/py/src/ghidraxdbg/commands.py462 except Exception:
LOW…er-agent-x64dbg/src/main/py/src/ghidraxdbg/commands.py471 except Exception as e:
LOW…er-agent-x64dbg/src/main/py/src/ghidraxdbg/commands.py550 except Exception:
LOW…er-agent-x64dbg/src/main/py/src/ghidraxdbg/commands.py560 except Exception:
LOW…er-agent-x64dbg/src/main/py/src/ghidraxdbg/commands.py847 except Exception:
LOW…er-agent-x64dbg/src/main/py/src/ghidraxdbg/commands.py1043 except Exception:
LOW…ebugger-agent-gdb/src/main/py/src/ghidragdb/methods.py55 except Exception as e:
MEDIUM…ebugger-agent-gdb/src/main/py/src/ghidragdb/methods.py49def _exec():
LOW…g/Debugger-agent-gdb/src/main/py/src/ghidragdb/util.py406 except Exception as e:
MEDIUM…g/Debugger-agent-gdb/src/main/py/src/ghidragdb/util.py407 print(f"Error parsing bpt location = {breakpoint.location}")
LOW…g/Debugger-agent-gdb/src/main/py/src/ghidragdb/util.py480 except Exception as e:
LOW…g/Debugger-agent-gdb/src/main/py/src/ghidragdb/util.py493 except Exception as e:
MEDIUM…g/Debugger-agent-gdb/src/main/py/src/ghidragdb/util.py490def selected_frame() -> Optional[gdb.Frame]:
LOW…bugger-agent-gdb/src/main/py/src/ghidragdb/commands.py1162 except Exception as e:
58 more matches not shown…
Hyper-Verbose Identifiers131 hits · 132 pts
SeverityFileLineSnippet
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py426 def check_and_load_decompiler(self):
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py1087 def export_manual_instruction(self, addr):
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py1442 def export_program_entry_points(self):
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py1756 def export_user_memory_reference(self, addr):
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py3098 def import_manual_instruction(self, manual_instruction):
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py3416 def import_program_entry_point(self, program_entry_point):
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py3431 def import_register_value_range(self, register_value_range):
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py348 def check_and_load_decompiler(self):
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py1026 def export_manual_instruction(self, addr):
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py1380 def export_program_entry_points(self):
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py1695 def export_user_memory_reference(self, addr):
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py3042 def import_manual_instruction(self, manual_instruction):
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py3360 def import_program_entry_point(self, program_entry_point):
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py3375 def import_register_value_range(self, register_value_range):
LOWGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py210 def check_and_load_decompiler(self):
LOWGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py433 def display_xml_exporter_version(self):
LOWGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py788 def export_enum_member_legacy(self, cid, bf, mask, radix, signness):
LOWGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py863 def export_enum_members_legacy(self, eid, bf, eflags):
LOWGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py1095 def export_manual_instruction(self, addr):
LOWGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py1448 def export_program_entry_points(self):
LOWGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py1519 def export_register_values_legacy(self):
LOWGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py1818 def export_user_memory_reference(self, addr):
LOWGhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py417 def display_xml_importer_version(self):
LOWGhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py1092 def import_manual_instruction(self, manual_instruction):
LOWGhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py1403 def import_program_entry_point(self, program_entry_point):
LOWGhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py1418 def import_register_value_range(self, register_value_range):
LOW…n/java/ghidra/framework/data/TransientDataManager.java30public class TransientDataManager {
LOWGhidra/Features/PyGhidra/support/pyghidra_launcher.py26def get_application_properties(install_dir: Path) -> Dict[str, str]:
LOWGhidra/Features/PyGhidra/support/pyghidra_launcher.py83def find_supported_python_exe(install_dir: Path, dev: bool) -> List[str]:
LOW…dra/Features/PyGhidra/src/main/py/tests/test_plugin.py107def _monkey_patch_entry_points():
LOWGhidra/Features/PyGhidra/src/main/py/tests/test_core.py37def test_invalid_jpype_keyword_arg():
LOWGhidra/Features/PyGhidra/src/main/py/tests/test_core.py46def test_invalid_vm_arg_succeed():
LOWGhidra/Features/PyGhidra/src/main/py/tests/test_core.py108def test_no_language_with_compiler(shared_datadir: Path):
LOWGhidra/Features/PyGhidra/src/main/py/tests/test_core.py174def test_import_ghidra_base_java_packages():
LOWGhidra/Features/PyGhidra/src/main/py/tests/test_core.py176 def get_runtime_top_level_java_packages(launcher) -> set:
LOW…/Features/PyGhidra/src/main/py/tests/test_argparser.py109 def test_non_existing_binary_plus_script(self):
LOW…/Features/PyGhidra/src/main/py/tests/test_argparser.py115 def test_script_with_non_existing_binary_arg(self):
LOW…/Features/PyGhidra/src/main/py/tests/test_argparser.py122 def test_script_with_optional_args(self):
LOW…/Features/PyGhidra/src/main/py/tests/test_argparser.py129 def test_script_with_positional_args(self):
LOW…/Features/PyGhidra/src/main/py/tests/test_argparser.py145 def test_script_with_intermingled_args(self):
LOW…/Features/PyGhidra/src/main/py/tests/test_argparser.py165 def test_binary_script_with_intermingled_args(self):
LOW…er-rmi-trace/src/main/py/src/ghidratrace/setuputils.py101def prompt_and_mitigate_dependencies(name: str) -> None:
LOW…ugger-agent-lldb/src/main/py/src/ghidralldb/methods.py83def find_proc_by_procbreak_obj(object: TraceObject) -> lldb.SBProcess:
LOW…ugger-agent-lldb/src/main/py/src/ghidralldb/methods.py88def find_proc_by_procwatch_obj(object: TraceObject) -> lldb.SBProcess:
LOW…ugger-agent-lldb/src/main/py/src/ghidralldb/methods.py213def find_bptlocnum_by_pattern(pattern: re.Pattern, object: TraceObject,
LOW…ugger-agent-lldb/src/main/py/src/ghidralldb/methods.py694def toggle_breakpoint_location(location: BreakpointLocation,
LOW…Debugger-agent-lldb/src/main/py/src/ghidralldb/util.py126def _choose_module_info_reader() -> ModuleInfoReader:
LOW…Debugger-agent-lldb/src/main/py/src/ghidralldb/util.py180def _choose_region_info_reader() -> RegionInfoReader:
LOW…Debugger-agent-lldb/src/main/py/src/ghidralldb/util.py195 def available_from_sbprocinfo(self, info: lldb.SBProcessInfo) -> Available:
LOW…Debugger-agent-lldb/src/main/py/src/ghidralldb/util.py219def _choose_available_info_reader() -> AvailableInfoReader:
LOW…Debugger-agent-lldb/src/main/py/src/ghidralldb/util.py236def _choose_breakpoint_location_info_reader() -> BreakpointLocationInfoReader:
LOW…gger-agent-lldb/src/main/py/src/ghidralldb/commands.py798def ghidra_trace_putmem_state(debugger: lldb.SBDebugger, command: str,
LOW…gger-agent-lldb/src/main/py/src/ghidralldb/commands.py1268def ghidra_trace_retain_values(debugger: lldb.SBDebugger, command: str,
LOW…gger-agent-lldb/src/main/py/src/ghidralldb/commands.py1347def ghidra_trace_get_values_rng(debugger: lldb.SBDebugger, command: str,
LOW…gger-agent-lldb/src/main/py/src/ghidralldb/commands.py1477def ghidra_trace_put_processes(debugger: lldb.SBDebugger, command: str,
LOW…gger-agent-lldb/src/main/py/src/ghidralldb/commands.py1514def ghidra_trace_put_available(debugger: lldb.SBDebugger, command: str,
LOW…gger-agent-lldb/src/main/py/src/ghidralldb/commands.py1632def ghidra_trace_put_breakpoints(debugger: lldb.SBDebugger, command: str,
LOW…gger-agent-lldb/src/main/py/src/ghidralldb/commands.py1650def ghidra_trace_put_watchpoints(debugger: lldb.SBDebugger, command: str,
LOW…gger-agent-lldb/src/main/py/src/ghidralldb/commands.py1679def ghidra_trace_put_environment(debugger: lldb.SBDebugger, command: str,
LOW…gger-agent-lldb/src/main/py/src/ghidralldb/commands.py1973def ghidra_trace_install_hooks(debugger: lldb.SBDebugger, command: str,
71 more matches not shown…
AI Slop Vocabulary36 hits · 102 pts
SeverityFileLineSnippet
MEDIUM…/debug/service/control/DebuggerControlServiceTest.java344 // NB. Definitely no thread required
MEDIUM…/debug/service/control/DebuggerControlServiceTest.java367 // NB. Definitely no thread required
MEDIUM…/debug/service/control/DebuggerControlServiceTest.java383 // NB. Definitely no thread required
MEDIUM…/plugin/assembler/sleigh/sem/AssemblyContextGraph.java91 // Certainly this doesn't strictly enforce the apply once rule, but we do get an overset.
MEDIUM…ng/src/main/java/ghidra/program/database/DbObject.java128 * {@link #refresh(DBRecord)} to do the more robust validation checking.
MEDIUM…/ghidra/program/database/map/NormalizedAddressSet.java33// Since it will not be able to leverage the DB undo/redo mechanism, the user of this table must handle such things!
MEDIUM…va/ghidra/program/database/data/DataTypeUtilities.java69 // will not utilize conflict names. This includes pointers and arrays whose base
MEDIUM…java/ghidra/program/model/listing/BookmarkManager.java39 // DBPropertyMapManager will utilize the OldBookmark class to store the old
MEDIUM…src/main/java/ghidra/framework/model/DomainFolder.java86 // TODO: Need more robust folder icon support to allow repository connection state
MEDIUM…rc/main/java/ghidra/framework/data/GhidraFileData.java2154 DomainObject latestObj = null; // TODO: Is there some way to leverage the buffer file we already copied into tmpItem
MEDIUM…k/Docking/src/main/java/docking/ComponentProvider.java977 * {@link #registeredFontId}. Subclasses can override this method to a more comprehensive
MEDIUM…k/Docking/src/main/java/docking/DockableComponent.java179 // the delayed nature causes any timing issues, then we will need a more robust way of
MEDIUM…king/src/main/java/docking/widgets/tree/GTreeNode.java69 * and {@link #hashCode()} methods to make them more robust.
MEDIUM…/java/docking/widgets/table/TableColumnModelState.java535 // width to divided amongst all the table columns. Essentially, we need to make the
MEDIUM…ework/DB/src/main/java/db/buffers/LocalBufferFile.java946 // This method is used so we can utilize a package method and avoid putting
MEDIUM…ework/DB/src/main/java/db/buffers/LocalBufferFile.java972 // This method is used so we can utilize a package method and avoid putting
MEDIUM…ework/DB/src/main/java/db/buffers/LocalBufferFile.java995 // This method is used so we can utilize a package method and avoid putting
MEDIUM…a/Framework/DB/src/main/java/db/buffers/BufferMgr.java713 return; // only pre-cache remote buffer files which utilize a BufferFileAdapter
MEDIUM…ava/ghidra/features/bsim/query/protocol/BSimQuery.java38 // should be utilize tailored constructor arguments
MEDIUM…ceptionhandling/CreateEHIPToStateMapBackgroundCmd.java87 // NOTE: Current components which utilize ibo32 get a reference created
MEDIUM…hidra/app/util/pdb/pdbapplicator/CppCompositeType.java72 // which helps for those, but layout algorithms usually utilize order.
MEDIUM…_scripts/FixElfExternalOffsetDataRelocationScript.java20// get the relocation applied and should utilize a Pointer-Typedef with an
MEDIUM…c/test/java/ghidra/app/cmd/data/CreateDataCmdTest.java701 // The following tests utilize other data commands for setup
MEDIUM…/java/ghidra/app/util/demangler/DemangledFunction.java635 // It appears that is passed as an additional parameter. Essentially, it accesses
MEDIUM…ghidra/app/util/bin/format/coff/CoffSectionHeader.java374 // Assumes all offset utilize a consistent unit size based upon the code space.
MEDIUM…/bin/format/coff/relocation/CoffRelocationHandler.java52 * a status of {@link Status#FAILURE} which will facilitate a failure reason via
MEDIUM…in/format/macho/relocation/MachoRelocationHandler.java62 * a status of {@link Status#FAILURE} which will facilitate a failure reason via
MEDIUM…a/ghidra/app/util/opinion/ElfLoaderOptionsFactory.java41 // for some language scenarios which utilize 32-bit relocations. This may be due to
MEDIUM…c/main/java/ghidra/app/plugin/core/osgi/OSGiUtils.java133 // assume version 2 for a more robust parse
MEDIUM…c/main/java/ghidra/app/plugin/core/osgi/OSGiUtils.java152 // assume version 2 for a more robust parse
MEDIUM…hidra/app/plugin/core/clear/ClearFlowAndRepairCmd.java455// and does not affect stored program context - need to use within disassembler to leverage
MEDIUM…va/ghidra/graph/visualization/mouse/JgtGraphMouse.java35 // robust enough to communicate fully without it
MEDIUM…app/util/bin/format/elf/extend/PIC30_ElfExtension.java95 // TODO: The PIC-30/24 utilize too many different processor names instead of
MEDIUM…plugin/core/debug/service/tracermi/TraceRmiTarget.java393 case ANY -> 0; // Absolutely not specific
LOW…gger-agent-lldb/src/main/py/src/ghidralldb/commands.py885 # In the tree, just use the human-friendly display value
MEDIUM…ase/memory/AbstractDBTraceMemoryManagerMemoryTest.java529 assertEquals(1, getBufferRecordCount()); // Definitely not another buffer
Deep Nesting85 hits · 68 pts
SeverityFileLineSnippet
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py248
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py426
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py462
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py646
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py677
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py789
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py1281
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py1708
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py1772
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py1997
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py2331
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py2777
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py2801
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py3358
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py169
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py348
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py384
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py571
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py602
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py714
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py1219
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py1647
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py1711
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py1936
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py2269
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py2721
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py2745
LOWGhidraBuild/IDAPro/Python/7xx/python/idaxml.py3302
LOWGhidra/Features/PyGhidra/support/pyghidra_launcher.py168
LOWGhidra/Features/PyGhidra/support/pyghidra_launcher.py213
LOW…atures/PyGhidra/src/main/py/src/pyghidra/properties.py27
LOW…dra/Features/PyGhidra/src/main/py/src/pyghidra/core.py54
LOW…Features/PyGhidra/src/main/py/src/pyghidra/launcher.py115
LOW…eatures/PyGhidra/src/main/py/src/pyghidra/ghidradoc.py56
LOW…eatures/PyGhidra/src/main/py/src/pyghidra/ghidradoc.py58
LOW…eatures/PyGhidra/src/main/py/src/pyghidra/ghidradoc.py74
LOW…a/Features/PyGhidra/src/main/py/src/pyghidra/script.py215
LOW…dra/src/main/py/src/pyghidra/internal/plugin/plugin.py61
LOW…idra/Features/Base/ghidra_scripts/RunYARAFromGhidra.py149
LOW…idra/Features/Base/ghidra_scripts/RunYARAFromGhidra.py189
LOWGhidra/Extensions/SleighDevTools/pcodetest/build.py33
LOWGhidra/Extensions/SleighDevTools/pcodetest/tpp.py146
LOWGhidra/Extensions/SleighDevTools/pcodetest/tpp.py182
LOWGhidra/Extensions/SleighDevTools/pcodetest/pcodetest.py71
LOWGhidra/Extensions/SleighDevTools/pcodetest/pcodetest.py90
LOWGhidra/Extensions/Jython/jython-src/jintrospect.py51
LOWGhidra/Processors/RISCV/scripts/binutil.py1778
LOWGhidra/Processors/RISCV/scripts/binutil.py2015
LOWGhidra/Processors/RISCV/scripts/binutil.py2041
LOWGhidra/Processors/RISCV/scripts/binutil.py2070
LOWGhidra/Processors/RISCV/scripts/binutil.py2136
LOWGhidra/Processors/RISCV/scripts/binutil.py2190
LOWGhidra/Processors/RISCV/scripts/binutil.py2459
LOW…bugger-rmi-trace/src/main/py/src/ghidratrace/client.py618
LOW…bugger-rmi-trace/src/main/py/src/ghidratrace/client.py766
LOW…bugger-rmi-trace/src/main/py/src/ghidratrace/client.py789
LOW…bugger-rmi-trace/src/main/py/src/ghidratrace/client.py837
LOW…ugger-rmi-trace/src/main/py/src/ghidratrace/display.py83
LOW…er-rmi-trace/src/main/py/src/ghidratrace/setuputils.py47
LOW…ebugger-agent-lldb/src/main/py/src/ghidralldb/hooks.py136
25 more matches not shown…
Decorative Section Separators22 hits · 66 pts
SeverityFileLineSnippet
MEDIUMdocker/build-docker-image.sh18#-------------------------------
MEDIUMdocker/build-docker-image.sh20#-------------------------------
MEDIUMGhidraBuild/IDAPro/Python/9xx/python/idaxml.py16#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/9xx/python/idaxml.py18#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/9xx/plugins/xml_importer.py16#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/9xx/plugins/xml_importer.py18#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/9xx/plugins/xml_exporter.py16#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/9xx/plugins/xml_exporter.py18#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/9xx/loaders/xml_loader.py16#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/9xx/loaders/xml_loader.py18#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/7xx/python/idaxml.py16#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/7xx/python/idaxml.py18#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/7xx/plugins/xml_importer.py16#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/7xx/plugins/xml_importer.py18#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/7xx/plugins/xml_exporter.py16#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/7xx/plugins/xml_exporter.py18#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/7xx/loaders/xml_loader.py16#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/7xx/loaders/xml_loader.py18#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py16#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py18#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py16#---------------------------------------------------------------------
MEDIUMGhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py18#---------------------------------------------------------------------
Self-Referential Comments8 hits · 24 pts
SeverityFileLineSnippet
MEDIUM…ass/Beginner/Introduction_to_Ghidra_Student_Guide.html2878# The following block of code is not supposed to be edited.
MEDIUM…ass/AdvancedDevelopment/GhidraAdvancedDevelopment.html1831# The following block of code is not supposed to be edited.
MEDIUM…draDocs/GhidraClass/Intermediate/HeadlessAnalyzer.html1070# The following block of code is not supposed to be edited.
MEDIUM…ss/Intermediate/Intermediate_Ghidra_Student_Guide.html793# The following block of code is not supposed to be edited.
MEDIUM…idraDocs/GhidraClass/Intermediate/VersionTracking.html486# The following block of code is not supposed to be edited.
MEDIUMGhidraDocs/GhidraClass/Intermediate/Scripting.html1337# The following block of code is not supposed to be edited.
MEDIUM…idra/Features/Base/ghidra_scripts/RunYARAFromGhidra.py176 #Create the comment such that each yara rule name is separated by \n
MEDIUM…nsions/Jython/ghidra_scripts/external_module_callee.py32# The below method call should now work
Fake / Example Data16 hits · 19 pts
SeverityFileLineSnippet
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java75 setAddress("123 Main Street");
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java87 setAddress("123 Main Street");
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java100 setAddress("123 Main Street");
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java114 setAddress("123 Main Street");
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java128 setAddress("123 Main Street");
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java142 setAddress("123 Main Street");
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java156 setAddress("123 Main Street");
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java169 setAddress("123 Main Street");
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java176 assertEquals("123 Main Street", data.getAddress());
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java184 setAddress("123 Main Street");
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java193 assertEquals("123 Main Street", data.getAddress());
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java201 setAddress("123 Main Street");
LOW…Docking/src/test.slow/java/docking/wiz/WizardTest.java216 setAddress("123 Main Street");
LOW…c/test/java/datagraph/graph/DataGraphProviderTest.java415 createAddressData(0x100, "123 Main St", "Springfield", "MD", "12211");
LOW…c/test/java/datagraph/graph/DataGraphProviderTest.java418 createPersonData(0x300, "Jane Doe", 32, 0x100, "IBM", 0x200);
LOW…idra/app/plugin/core/strings/CharacterScriptUtils.java39 * google translate, similar to lorem ipsum placeholding text.
Slop Phrases7 hits · 15 pts
SeverityFileLineSnippet
MEDIUMGhidraDocs/GhidraClass/Debugger/B1-RemoteTargets.html181<li><p>First, prepare the target, which for demonstration purposes has
MEDIUM…screen/java/help/screenshot/RepositoryScreenShots.java1782 "It was necessary for demonstration purposes.");
MEDIUM…java/help/screenshot/CodeBrowserPluginScreenShots.java363 "This comment describes my struct and spans multiple lines. This structure\nis for demonstration purposes only.");
MEDIUM…docking/widgets/table/threaded/ThreadedTableModel.java43 * (see {@link #setIncrementalTaskMonitor(TaskMonitor)}. Alternatively, you can use
LOW…/main/java/ghidra/program/util/ProgramMergeFilter.java150 // ** Also don't forget to add it to ALL below. **
LOW…c/main/java/ghidra/program/util/ProgramDiffFilter.java87 // ** Also don't forget to add it to ALL_DIFFS below. **
MEDIUM…/emulation/AARCH64EmulateInstructionStateModifier.java164 // This is for demonstration purposes only,
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippet
LOWGhidraBuild/IDAPro/Python/9xx/python/idaxml.py2209 # Check if value is None and handle it gracefully
LOW…Debugger-agent-lldb/src/main/py/src/ghidralldb/arch.py240 # Check if the selected lang has specific compiler recommendations
LOW…bugger-agent-x64dbg/src/main/py/src/ghidraxdbg/arch.py121 # Check if the selected lang has specific compiler recommendations
LOW…g/Debugger-agent-gdb/src/main/py/src/ghidragdb/arch.py188 # Check if the selected lang has specific compiler recommendations
LOW…bugger-agent-gdb/src/main/py/src/ghidragdb/commands.py639 # Display value should interpret it as such.
LOW…Debugger-agent-drgn/src/main/py/src/ghidradrgn/arch.py126 # Check if the selected lang has specific compiler recommendations
LOW…ebugger-agent-dbgeng/src/main/py/src/ghidradbg/arch.py186 # Check if the selected lang has specific compiler recommendations
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGHgradle/support/jacoco.excludes.src.txt36// Auto-generated code
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOW…hidra/util/table/CompositeGhidraTableCellRenderer.java68 // Step 1: See if we can use our custom rendering lookup
LOW…hidra/util/table/CompositeGhidraTableCellRenderer.java76 // Step 2: Locate normal JTable-style rendering