Freeze (package) Python programs into stand-alone executables
This report presents the forensic synthetic code analysis of pyinstaller/pyinstaller, a Python project with 13,035 GitHub stars. SynthScan v2.0 examined 114,076 lines of code across 1239 source files, recording 3416 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 56.9 places this repository in the Strong AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 3416 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | COPYING.txt | 96 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | COPYING.txt | 105 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | COPYING.txt | 110 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | COPYING.txt | 119 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | hatch_build.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | hatch_build.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | bootloader/build.sh | 2 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | bootloader/build.sh | 11 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | bootloader/update-waf.sh | 1 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | bootloader/update-waf.sh | 10 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | bootloader/tools/strip.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | bootloader/tools/strip.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/_recursion_too_deep_message.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/_recursion_too_deep_message.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/config.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/config.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/compat.py | 1 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/compat.py | 10 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/configure.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/configure.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/log.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/log.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/__init__.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/__init__.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/exceptions.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/exceptions.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/_shared_with_waf.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/_shared_with_waf.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/__main__.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/__main__.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/fake-modules/pyi_splash.py | 1 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/fake-modules/pyi_splash.py | 10 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/fake-modules/_pyi_rth_utils/tempfile.py | 1 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/fake-modules/_pyi_rth_utils/tempfile.py | 10 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/fake-modules/_pyi_rth_utils/_win32.py | 1 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/fake-modules/_pyi_rth_utils/_win32.py | 10 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/fake-modules/_pyi_rth_utils/qt.py | 1 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/fake-modules/_pyi_rth_utils/qt.py | 10 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/fake-modules/_pyi_rth_utils/__init__.py | 1 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/fake-modules/_pyi_rth_utils/__init__.py | 10 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/archive/readers.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/archive/readers.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/archive/pyz_crypto.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/archive/pyz_crypto.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/archive/writers.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/archive/writers.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/utils/misc.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/utils/misc.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/utils/conftest.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/utils/conftest.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/utils/run_tests.py | 1 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/utils/run_tests.py | 10 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/utils/tests.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/utils/tests.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/utils/osx.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | PyInstaller/utils/osx.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/utils/hooks/django.py | 1 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/utils/hooks/django.py | 10 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/utils/hooks/setuptools.py | 1 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | PyInstaller/utils/hooks/setuptools.py | 10 | #----------------------------------------------------------------------------- | COMMENT |
| 1382 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | COPYING.txt | 101 | # | COMMENT |
| LOW | hatch_build.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| LOW | bootloader/uncrustify.cfg | 1 | # Uncrustify 0.62 | COMMENT |
| LOW | bootloader/uncrustify.cfg | 61 | COMMENT | |
| LOW | bootloader/uncrustify.cfg | 901 | # The span for aligning struct initializer values (0=don't align) | COMMENT |
| LOW | bootloader/uncrustify.cfg | 1661 | # The filename that contains text to insert before a function implementation if the function isn't preceded with a C/C++ | COMMENT |
| LOW | bootloader/uncrustify.cfg | 1721 | # You can create custom macro-based indentation using macro-open, | COMMENT |
| LOW | bootloader/uncrustify.cfg | 1741 | # define def_token output_token | COMMENT |
| LOW | bootloader/build.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bootloader/update-waf.sh | 1 | # ----------------------------------------------------------------------------- | COMMENT |
| LOW | bootloader/tools/strip.py | 1 | #----------------------------------------------------------------------------- | COMMENT |
| LOW | bootloader/tests/test_multipkg.c | 1 | // ----------------------------------------------------------------------------- | COMMENT |
| LOW | bootloader/tests/test_path.c | 1 | // ----------------------------------------------------------------------------- | COMMENT |
| LOW | bootloader/zlib/zutil.h | 21 | COMMENT | |
| LOW | bootloader/zlib/zutil.h | 41 | extern const char inflate9_copyright[]; | COMMENT |
| LOW | bootloader/zlib/zutil.h | 81 | # define DEF_MEM_LEVEL 8 | COMMENT |
| LOW | bootloader/zlib/zutil.h | 101 | # define OS_CODE 0x00 | COMMENT |
| LOW | bootloader/zlib/zutil.h | 121 | #if defined(VAXC) || defined(VMS) | COMMENT |
| LOW | bootloader/zlib/zutil.h | 141 | #ifdef OS2 | COMMENT |
| LOW | bootloader/zlib/zutil.h | 161 | # define OS_CODE 16 | COMMENT |
| LOW | bootloader/zlib/zutil.h | 181 | ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off64_t); | COMMENT |
| LOW | bootloader/zlib/zutil.h | 201 | /* Use our own functions for small and medium model with MSC <= 5.0. | COMMENT |
| LOW | bootloader/zlib/zutil.h | 221 | void ZLIB_INTERNAL zmemcpy(void FAR *, const void FAR *, z_size_t); | COMMENT |
| LOW | bootloader/zlib/crc32.c | 21 | */ | COMMENT |
| LOW | bootloader/zlib/crc32.c | 81 | #ifdef Z_TESTW | COMMENT |
| LOW | bootloader/zlib/crc32.c | 681 | z_word_t word5; | COMMENT |
| LOW | bootloader/zlib/crc32.c | 741 | #if N > 5 | COMMENT |
| LOW | bootloader/zlib/crc32.c | 801 | z_word_t crc4, word4; | COMMENT |
| LOW | bootloader/zlib/crc32.c | 861 | #if N > 4 | COMMENT |
| LOW | bootloader/zlib/zutil.c | 61 | #endif | COMMENT |
| LOW | bootloader/zlib/zutil.c | 81 | #endif | COMMENT |
| LOW | bootloader/zlib/zutil.c | 101 | # endif | COMMENT |
| LOW | bootloader/zlib/gzguts.h | 1 | /* gzguts.h -- zlib internal header definitions for gz* operations | COMMENT |
| LOW | bootloader/zlib/gzguts.h | 21 | # ifndef WIN32_LEAN_AND_MEAN | COMMENT |
| LOW | bootloader/zlib/gzguts.h | 41 | # define _POSIX_C_SOURCE 200112L | COMMENT |
| LOW | bootloader/zlib/gzguts.h | 61 | COMMENT | |
| LOW | bootloader/zlib/gzguts.h | 81 | # if !defined(NO_vsnprintf) && \ | COMMENT |
| LOW | bootloader/zlib/gzguts.h | 121 | #ifndef STDC | COMMENT |
| LOW | bootloader/zlib/zlib.h | 181 | #define Z_OK 0 | COMMENT |
| LOW | bootloader/zlib/zlib.h | 201 | #define Z_HUFFMAN_ONLY 2 | COMMENT |
| LOW | bootloader/zlib/zlib.h | 1981 | ZEXTERN z_off64_t ZEXPORT gzoffset64(gzFile); | COMMENT |
| LOW | bootloader/zlib/inftrees.c | 1 | /* inftrees.c -- generate Huffman trees for efficient decoding | COMMENT |
| LOW | bootloader/zlib/zconf.h | 21 | # define _dist_code z__dist_code | COMMENT |
| LOW | bootloader/zlib/zconf.h | 41 | # define crc32 z_crc32 | COMMENT |
| LOW | bootloader/zlib/zconf.h | 61 | # define deflateReset z_deflateReset | COMMENT |
| LOW | bootloader/zlib/zconf.h | 81 | # define gzerror z_gzerror | COMMENT |
| LOW | bootloader/zlib/zconf.h | 101 | # define gzseek64 z_gzseek64 | COMMENT |
| LOW | bootloader/zlib/zconf.h | 121 | # define inflateInit2_ z_inflateInit2_ | COMMENT |
| LOW | bootloader/zlib/zconf.h | 141 | # define uncompress2_z z_uncompress2_z | COMMENT |
| LOW | bootloader/zlib/zconf.h | 161 | # define gz_headerp z_gz_headerp | COMMENT |
| LOW | bootloader/zlib/zconf.h | 181 | #endif | COMMENT |
| LOW | bootloader/zlib/zconf.h | 201 | /* | COMMENT |
| LOW | bootloader/zlib/zconf.h | 221 | #endif | COMMENT |
| LOW | bootloader/zlib/zconf.h | 241 | # define const /* note: need a more gentle solution here */ | COMMENT |
| LOW | bootloader/zlib/zconf.h | 261 | # if defined(NO_SIZE_T) | COMMENT |
| LOW | bootloader/zlib/zconf.h | 321 | /* MSC small or medium model */ | COMMENT |
| LOW | bootloader/zlib/zconf.h | 341 | /* If building or using zlib as a DLL, define ZLIB_DLL. | COMMENT |
| LOW | bootloader/zlib/zconf.h | 361 | # ifndef WIN32_LEAN_AND_MEAN | COMMENT |
| LOW | bootloader/zlib/zconf.h | 381 | # else | COMMENT |
| LOW | bootloader/zlib/zconf.h | 421 | typedef void FAR *voidpf; | COMMENT |
| 748 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bootloader/waflib/fixpy2.py | 5 | CODE | |
| LOW | bootloader/waflib/Scripting.py | 5 | CODE | |
| LOW | bootloader/waflib/Utils.py | 5 | CODE | |
| LOW | bootloader/waflib/Utils.py | 26 | CODE | |
| LOW | bootloader/waflib/Tools/gfortran.py | 7 | CODE | |
| LOW | bootloader/waflib/Tools/gfortran.py | 7 | CODE | |
| LOW | bootloader/waflib/Tools/ifort.py | 7 | CODE | |
| LOW | bootloader/waflib/Tools/ifort.py | 7 | CODE | |
| LOW | bootloader/waflib/Tools/xlc.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/xlc.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/intltool.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/intltool.py | 8 | CODE | |
| LOW | bootloader/waflib/Tools/gas.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/gas.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/glib2.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/fc.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/dmd.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/dmd.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/irixcc.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/irixcc.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/qt5.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/qt5.py | 15 | CODE | |
| LOW | bootloader/waflib/Tools/d.py | 7 | CODE | |
| LOW | bootloader/waflib/Tools/g95.py | 7 | CODE | |
| LOW | bootloader/waflib/Tools/g95.py | 7 | CODE | |
| LOW | bootloader/waflib/Tools/xlcxx.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/xlcxx.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/clangxx.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/clangxx.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/clangxx.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/icpc.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/icpc.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/icpc.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/icpc.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/icc.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/icc.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/icc.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/icc.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/vala.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/nasm.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/suncc.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/suncc.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/ldc2.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/ldc2.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/gdc.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/gdc.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/suncxx.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/suncxx.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/compiler_cxx.py | 6 | CODE | |
| LOW | bootloader/waflib/Tools/compiler_fc.py | 7 | CODE | |
| LOW | bootloader/waflib/Tools/c_config.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/gcc.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/gcc.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/ccroot.py | 8 | CODE | |
| LOW | bootloader/waflib/Tools/ccroot.py | 8 | CODE | |
| LOW | bootloader/waflib/Tools/ccroot.py | 8 | CODE | |
| LOW | bootloader/waflib/Tools/ccroot.py | 8 | CODE | |
| LOW | bootloader/waflib/Tools/ccroot.py | 8 | CODE | |
| LOW | bootloader/waflib/Tools/gxx.py | 5 | CODE | |
| LOW | bootloader/waflib/Tools/gxx.py | 5 | CODE | |
| 266 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bootloader/waflib/Task.py | 512 | def compute_sig_implicit_deps(self): | STRING |
| LOW | bootloader/waflib/Task.py | 603 | def set_precedence_constraints(tasks): | STRING |
| LOW | bootloader/waflib/ConfigSet.py | 101 | def _get_list_value_for_modification(self, key): | CODE |
| LOW | bootloader/waflib/Tools/gfortran.py | 42 | def gfortran_modifier_platform(conf): | CODE |
| LOW | bootloader/waflib/Tools/glib2.py | 327 | def find_glib_compile_schemas(conf): | CODE |
| LOW | bootloader/waflib/Tools/glib2.py | 344 | def find_glib_compile_resources(conf): | CODE |
| LOW | bootloader/waflib/Tools/fc_config.py | 144 | def check_fortran_verbose_flag(self, *k, **kw): | CODE |
| LOW | bootloader/waflib/Tools/fc_config.py | 296 | def link_main_routines_tg_method(self): | STRING |
| LOW | bootloader/waflib/Tools/ccroot.py | 167 | def apply_skip_stlib_link_deps(self): | CODE |
| LOW | bootloader/waflib/Tools/msvc.py | 153 | def gather_wince_supported_platforms(): | STRING |
| LOW | bootloader/waflib/Tools/msvc.py | 200 | def gather_msvc_detected_versions(): | STRING |
| LOW | bootloader/waflib/Tools/msvc.py | 484 | def gather_intel_composer_versions(conf, versions): | STRING |
| LOW | bootloader/waflib/Tools/c_osx.py | 30 | def set_macosx_deployment_target(self): | STRING |
| LOW | bootloader/waflib/Tools/errcheck.py | 73 | def check_invalid_constraints(self): | CODE |
| LOW | PyInstaller/configure.py | 53 | def _get_pyinstaller_cache_dir(): | CODE |
| LOW⚡ | PyInstaller/fake-modules/_pyi_rth_utils/qt.py | 20 | def ensure_single_qt_bindings_package(qt_bindings): | CODE |
| LOW⚡ | PyInstaller/fake-modules/_pyi_rth_utils/__init__.py | 19 | def prepend_path_to_environment_variable(path, variable_name): | CODE |
| LOW | PyInstaller/utils/misc.py | 60 | def get_path_to_toplevel_modules(filename): | CODE |
| LOW | PyInstaller/utils/conftest.py | 75 | def pytest_runtest_makereport(item, call): | CODE |
| LOW | PyInstaller/utils/osx.py | 353 | def convert_binary_to_thin_arch(filename, thin_arch, output_filename=None): | CODE |
| LOW | PyInstaller/utils/osx.py | 402 | def remove_signature_from_binary(filename): | CODE |
| LOW | PyInstaller/utils/osx.py | 437 | def set_dylib_dependency_paths(filename, target_rpath): | CODE |
| LOW | PyInstaller/utils/osx.py | 471 | def _set_dylib_dependency_paths(filename, target_rpath): | CODE |
| LOW | PyInstaller/utils/osx.py | 609 | def collect_files_from_framework_bundles(collected_files): | CODE |
| LOW⚡ | PyInstaller/utils/hooks/django.py | 17 | def django_dottedstring_imports(django_root_dir): | CODE |
| LOW⚡ | PyInstaller/utils/hooks/setuptools.py | 20 | def _retrieve_setuptools_info(): | CODE |
| LOW | PyInstaller/utils/hooks/setuptools.py | 273 | def pre_safe_import_module_for_top_level_namespace_packages(api): | CODE |
| LOW | PyInstaller/utils/hooks/__init__.py | 294 | def get_module_file_attribute(package: str): | CODE |
| LOW | PyInstaller/utils/hooks/__init__.py | 331 | def _get_module_file_attribute(package): | CODE |
| LOW | PyInstaller/utils/hooks/__init__.py | 888 | def collect_system_data_files(path: str, destdir: str | os.PathLike | None = None, include_py_files: bool = False): | STRING |
| LOW | PyInstaller/utils/hooks/__init__.py | 1272 | def collect_delvewheel_libs_directory(package_name, libdir_name=None, datas=None, binaries=None): | STRING |
| LOW | PyInstaller/utils/hooks/gi.py | 259 | def get_glib_system_data_dirs(): | CODE |
| LOW | PyInstaller/utils/hooks/gi.py | 326 | def collect_glib_translations(prog, lang_list=None): | CODE |
| LOW | PyInstaller/utils/hooks/gi.py | 348 | def compile_glib_schema_files(datas_toc, workdir, collect_source_files=False): | CODE |
| LOW | PyInstaller/utils/hooks/tcl_tk.py | 278 | def _collect_files_from_directory(root, prefix=None, excludes=None): | CODE |
| LOW | PyInstaller/utils/hooks/tcl_tk.py | 307 | def _find_tcl_tk_shared_libraries(tkinter_ext_file): | CODE |
| LOW⚡ | PyInstaller/utils/hooks/tcl_tk.py | 334 | def _check_macos_system_framework(tcl_shared_lib): | CODE |
| LOW⚡ | PyInstaller/utils/hooks/tcl_tk.py | 345 | def _warn_if_using_activetcl_or_teapot(tcl_root): | CODE |
| LOW⚡ | PyInstaller/utils/hooks/qt/__init__.py | 1337 | def ensure_single_qt_bindings_package(qt_bindings): | CODE |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 310 | def _normalize_shared_library_name(self, filename): | CODE |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 550 | def _validate_plugin_dependencies(self, plugin_file): | CODE |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 664 | def _check_if_openssl_enabled(package): | CODE |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 713 | def _collect_qtnetwork_openssl_windows(self, openssl_version): | CODE |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 794 | def _collect_qtnetwork_openssl_macos(self, openssl_version): | CODE |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 872 | def _collect_qtnetwork_openssl_linux(self, openssl_version): | CODE |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 1056 | def collect_qtwebengine_files(self): | CODE |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 1358 | def exclude_extraneous_qt_bindings(hook_name, qt_bindings_order=None): | CODE |
| LOW | PyInstaller/utils/hooks/qt/_modules_info.py | 429 | def process_namespace_strings(namespaces): | CODE |
| LOW | PyInstaller/utils/hooks/qt/_modules_info.py | 437 | def _process_namespace_string(namespace): | CODE |
| LOW⚡ | PyInstaller/utils/win32/versioninfo.py | 19 | def pefile_check_control_flow_guard(filename): | CODE |
| LOW | PyInstaller/utils/win32/versioninfo.py | 54 | def read_version_info_from_executable(exe_filename): | CODE |
| LOW | PyInstaller/utils/win32/versioninfo.py | 559 | def load_version_info_from_text_file(filename): | CODE |
| LOW | PyInstaller/utils/win32/versioninfo.py | 583 | def write_version_info_to_executable(exe_filename, info): | CODE |
| LOW | PyInstaller/utils/win32/winmanifest.py | 120 | def _ensure_common_controls_dependency(manifest_dom, root_element): | STRING |
| LOW | PyInstaller/utils/win32/winmanifest.py | 157 | def create_application_manifest(manifest_xml=None, uac_admin=False, uac_uiaccess=False): | STRING |
| LOW | PyInstaller/utils/win32/winmanifest.py | 197 | def write_manifest_to_executable(filename, manifest_xml): | CODE |
| LOW | PyInstaller/utils/win32/winmanifest.py | 213 | def read_manifest_from_executable(filename): | CODE |
| LOW | PyInstaller/utils/win32/winresource.py | 155 | def copy_resources_from_pe_file(filename, src_filename, types=None, names=None, languages=None): | CODE |
| LOW | PyInstaller/utils/cliutils/archive_viewer.py | 87 | def _non_interactive_processing(self): | CODE |
| LOW | PyInstaller/loader/pyimod02_importers.py | 745 | def _patch_zipimporter_get_source(): | CODE |
| 279 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bootloader/waflib/Build.py | 126 | CODE | |
| LOW | bootloader/waflib/Build.py | 259 | CODE | |
| LOW | bootloader/waflib/Build.py | 392 | CODE | |
| LOW | bootloader/waflib/Build.py | 560 | CODE | |
| LOW | bootloader/waflib/Build.py | 642 | CODE | |
| LOW | bootloader/waflib/Build.py | 764 | CODE | |
| LOW | bootloader/waflib/Build.py | 827 | CODE | |
| LOW | bootloader/waflib/Build.py | 431 | CODE | |
| LOW | bootloader/waflib/Options.py | 53 | CODE | |
| LOW | bootloader/waflib/Options.py | 194 | CODE | |
| LOW | bootloader/waflib/Task.py | 603 | CODE | |
| LOW | bootloader/waflib/Task.py | 644 | CODE | |
| LOW | bootloader/waflib/Task.py | 729 | CODE | |
| LOW | bootloader/waflib/Task.py | 69 | CODE | |
| LOW | bootloader/waflib/Task.py | 159 | CODE | |
| LOW | bootloader/waflib/Task.py | 276 | CODE | |
| LOW | bootloader/waflib/Task.py | 449 | CODE | |
| LOW | bootloader/waflib/Task.py | 480 | CODE | |
| LOW | bootloader/waflib/Runner.py | 139 | CODE | |
| LOW | bootloader/waflib/Runner.py | 187 | CODE | |
| LOW | bootloader/waflib/Runner.py | 212 | CODE | |
| LOW | bootloader/waflib/Runner.py | 294 | CODE | |
| LOW | bootloader/waflib/Runner.py | 314 | CODE | |
| LOW | bootloader/waflib/Runner.py | 351 | CODE | |
| LOW | bootloader/waflib/Runner.py | 399 | CODE | |
| LOW | bootloader/waflib/Runner.py | 404 | CODE | |
| LOW | bootloader/waflib/fixpy2.py | 17 | CODE | |
| LOW | bootloader/waflib/ansiterm.py | 193 | CODE | |
| LOW | bootloader/waflib/ansiterm.py | 241 | CODE | |
| LOW | bootloader/waflib/Configure.py | 266 | CODE | |
| LOW | bootloader/waflib/Configure.py | 317 | CODE | |
| LOW | bootloader/waflib/Configure.py | 157 | CODE | |
| LOW | bootloader/waflib/Scripting.py | 14 | CODE | |
| LOW | bootloader/waflib/Scripting.py | 202 | CODE | |
| LOW | bootloader/waflib/Scripting.py | 222 | CODE | |
| LOW | bootloader/waflib/Scripting.py | 414 | CODE | |
| LOW | bootloader/waflib/Scripting.py | 415 | CODE | |
| LOW | bootloader/waflib/TaskGen.py | 178 | CODE | |
| LOW | bootloader/waflib/TaskGen.py | 308 | CODE | |
| LOW | bootloader/waflib/TaskGen.py | 512 | CODE | |
| LOW | bootloader/waflib/TaskGen.py | 78 | CODE | |
| LOW | bootloader/waflib/TaskGen.py | 200 | CODE | |
| LOW | bootloader/waflib/Context.py | 399 | CODE | |
| LOW | bootloader/waflib/Context.py | 118 | CODE | |
| LOW | bootloader/waflib/Context.py | 352 | CODE | |
| LOW | bootloader/waflib/Utils.py | 530 | CODE | |
| LOW | bootloader/waflib/Utils.py | 654 | CODE | |
| LOW | bootloader/waflib/Logs.py | 192 | CODE | |
| LOW | bootloader/waflib/Logs.py | 124 | CODE | |
| LOW | bootloader/waflib/Logs.py | 149 | CODE | |
| LOW | bootloader/waflib/Node.py | 42 | CODE | |
| LOW | bootloader/waflib/Node.py | 66 | CODE | |
| LOW | bootloader/waflib/Node.py | 354 | CODE | |
| LOW | bootloader/waflib/Tools/ifort.py | 99 | CODE | |
| LOW | bootloader/waflib/Tools/ifort.py | 174 | CODE | |
| LOW | bootloader/waflib/Tools/ifort.py | 318 | CODE | |
| LOW | bootloader/waflib/Tools/javaw.py | 101 | CODE | |
| LOW | bootloader/waflib/Tools/intltool.py | 69 | CODE | |
| LOW | bootloader/waflib/Tools/waf_unit_test.py | 61 | CODE | |
| LOW | bootloader/waflib/Tools/tex.py | 12 | CODE | |
| 122 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bootloader/waflib/Build.py | 147 | except Exception as e: | CODE |
| LOW | bootloader/waflib/Task.py | 199 | except Exception: | STRING |
| LOW | bootloader/waflib/Task.py | 211 | except Exception: | STRING |
| MEDIUM | bootloader/waflib/Task.py | 192 | def process(self): | CODE |
| LOW | bootloader/waflib/Runner.py | 98 | except Exception: | CODE |
| LOW | bootloader/waflib/Runner.py | 297 | except Exception: | CODE |
| MEDIUM | bootloader/waflib/Runner.py | 76 | def run(self): | CODE |
| MEDIUM | bootloader/waflib/Runner.py | 294 | def task_status(self, tsk): | CODE |
| LOW | bootloader/waflib/ansiterm.py | 307 | except Exception as e: | CODE |
| LOW | bootloader/waflib/Configure.py | 175 | except Exception as e: | CODE |
| LOW | bootloader/waflib/Scripting.py | 112 | except Exception as e: | CODE |
| LOW | bootloader/waflib/Scripting.py | 140 | except Exception as e: | CODE |
| LOW | bootloader/waflib/processor.py | 46 | except Exception as e: | CODE |
| LOW | bootloader/waflib/Context.py | 201 | except Exception as e: | CODE |
| LOW | bootloader/waflib/Context.py | 248 | except Exception as e: | CODE |
| MEDIUM | bootloader/waflib/Context.py | 71 | def __init__(self, **kw): | CODE |
| LOW | bootloader/waflib/Logs.py | 152 | except Exception: | STRING |
| LOW | bootloader/waflib/Logs.py | 258 | except Exception: | STRING |
| MEDIUM | bootloader/waflib/Logs.py | 108 | def emit(self, record): | CODE |
| MEDIUM | bootloader/waflib/Logs.py | 253 | def free_logger(logger): | CODE |
| LOW | bootloader/waflib/Node.py | 58 | except Exception as e: | CODE |
| LOW | bootloader/waflib/Tools/ifort.py | 219 | except Exception as e: | CODE |
| MEDIUM | bootloader/waflib/Tools/ifort.py | 174 | def get_ifort_version_win32(conf, compiler, version, target, vcvars): | CODE |
| LOW | bootloader/waflib/Tools/javaw.py | 225 | except Exception: | STRING |
| LOW | bootloader/waflib/Tools/javaw.py | 373 | except Exception: | STRING |
| LOW | bootloader/waflib/Tools/c_preproc.py | 647 | except Exception: | CODE |
| LOW | bootloader/waflib/Tools/c_preproc.py | 722 | except Exception as e: | CODE |
| MEDIUM | bootloader/waflib/Tools/c_preproc.py | 563 | def cached_find_resource(self, node, filename): | CODE |
| LOW | bootloader/waflib/Tools/c_config.py | 844 | except Exception: | STRING |
| LOW | bootloader/waflib/Tools/fc_config.py | 241 | except Exception: | CODE |
| LOW | bootloader/waflib/Tools/fc_config.py | 270 | except Exception: | CODE |
| LOW | bootloader/waflib/Tools/msvc.py | 143 | except Exception as e: | STRING |
| LOW | PyInstaller/compat.py | 256 | except Exception: | CODE |
| LOW | PyInstaller/compat.py | 265 | except Exception: | CODE |
| MEDIUM | PyInstaller/compat.py | 354 | print("Error running '%s':" % " ".join(cmdargs), file=sys.stderr) | CODE |
| LOW⚡ | PyInstaller/configure.py | 39 | except Exception: | CODE |
| LOW | PyInstaller/__main__.py | 188 | except Exception: | CODE |
| LOW | PyInstaller/__main__.py | 299 | except Exception: | CODE |
| LOW | PyInstaller/fake-modules/_pyi_rth_utils/_win32.py | 242 | except Exception: | CODE |
| LOW | PyInstaller/utils/misc.py | 93 | except Exception: | CODE |
| MEDIUM | PyInstaller/utils/misc.py | 88 | def mtime(fnm): | CODE |
| MEDIUM | PyInstaller/utils/run_tests.py | 49 | print("Error: no tests discovered.", file=sys.stderr) | CODE |
| LOW | PyInstaller/utils/hooks/setuptools.py | 236 | except Exception as e: | CODE |
| MEDIUM | PyInstaller/utils/hooks/__init__.py | 242 | def _can_import_module(module_name): | CODE |
| LOW | PyInstaller/utils/hooks/__init__.py | 246 | except Exception: | CODE |
| LOW | PyInstaller/utils/hooks/__init__.py | 290 | except Exception as e: | CODE |
| LOW | PyInstaller/utils/hooks/__init__.py | 353 | except Exception as e: | CODE |
| LOW | PyInstaller/utils/hooks/__init__.py | 488 | except Exception: | CODE |
| LOW | PyInstaller/utils/hooks/__init__.py | 519 | except Exception: | CODE |
| LOW | PyInstaller/utils/hooks/__init__.py | 666 | except Exception as ex: | CODE |
| LOW | PyInstaller/utils/hooks/__init__.py | 997 | except Exception: | STRING |
| LOW | PyInstaller/utils/hooks/__init__.py | 1160 | except Exception: | STRING |
| LOW | PyInstaller/utils/hooks/gi.py | 114 | except Exception as e: | CODE |
| LOW | PyInstaller/utils/hooks/gi.py | 438 | except Exception: | CODE |
| LOW | PyInstaller/utils/hooks/tcl_tk.py | 136 | except Exception as e: | CODE |
| LOW | PyInstaller/utils/hooks/tcl_tk.py | 179 | except Exception: | CODE |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 238 | except Exception as e: | CODE |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 967 | except Exception: | CODE |
| LOW | PyInstaller/utils/win32/versioninfo.py | 39 | except Exception: | CODE |
| LOW | PyInstaller/utils/win32/versioninfo.py | 573 | except Exception as e: | CODE |
| 77 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | PyInstaller/compat.py | 141 | # The following code creates compat.is_venv and is.virtualenv that are True when running a virtual environment, and also | COMMENT |
| MEDIUM⚡ | PyInstaller/fake-modules/pyi_splash.py | 12 | # This module is not a "fake module" in the classical sense, but a real module that can be imported. It acts as an RPC | COMMENT |
| MEDIUM | PyInstaller/utils/hooks/__init__.py | 650 | # This function is called in an isolated sub-process via `isolated.Python.call`. | COMMENT |
| MEDIUM | PyInstaller/utils/hooks/qt/__init__.py | 76 | # This class contains information about python module (extension), its corresponding Qt module (shared library), and | COMMENT |
| MEDIUM | PyInstaller/utils/hooks/qt/__init__.py | 294 | # Create a QtModuleInfo entry | COMMENT |
| MEDIUM | PyInstaller/loader/pyimod02_importers.py | 342 | # The following methods are part of legacy PEP302 finder interface. They have been deprecated since python 3.4, | COMMENT |
| MEDIUM | PyInstaller/loader/pyimod02_importers.py | 459 | # The following method is part of legacy PEP302 loader interface. It has been deprecated since python 3.4, and | COMMENT |
| MEDIUM | PyInstaller/hooks/rthooks/pyi_rth_gdkpixbuf.py | 26 | # Create a temporary file with the cache and cleverly replace the prefix we injected with the actual path. | COMMENT |
| MEDIUM | PyInstaller/lib/modulegraph/modulegraph.py | 1152 | # Create the referred node. | COMMENT |
| MEDIUM | PyInstaller/lib/modulegraph/__main__.py | 55 | # Create the module finder and turn its crank | COMMENT |
| MEDIUM | PyInstaller/isolated/_parent.py | 365 | # Define a function to be ran in isolation. | COMMENT |
| MEDIUM | PyInstaller/isolated/_child.py | 55 | # Define the global namespace available to the function. | COMMENT |
| MEDIUM | PyInstaller/depend/bindepend.py | 264 | # Create the symbolic link | COMMENT |
| MEDIUM | PyInstaller/building/api.py | 156 | # Create the archive | COMMENT |
| MEDIUM | PyInstaller/building/api.py | 536 | # Create the CArchive PKG in WORKPATH. When instancing PKG(), set name so that guts check can test whether the | COMMENT |
| MEDIUM | PyInstaller/building/datastruct.py | 42 | # This class is deprecated and has been replaced by plain lists with explicit normalization (de-duplication) via | COMMENT |
| MEDIUM⚡ | PyInstaller/building/splash_templates.py | 18 | # This function is called if a new client connects to | COMMENT |
| MEDIUM | PyInstaller/building/splash_templates.py | 32 | # This function is called if a command was sent through | COMMENT |
| MEDIUM | PyInstaller/building/splash_templates.py | 78 | # This function is rigged to be called if the a variable | COMMENT |
| MEDIUM | PyInstaller/building/splash_templates.py | 130 | # Create a text on the canvas, which tracks the local | COMMENT |
| MEDIUM⚡ | PyInstaller/building/osx.py | 456 | # Create a SYMLINK entry, but only for this level. In case of nested directories with dots in names, the | COMMENT |
| MEDIUM | PyInstaller/building/osx.py | 601 | # Create a minimal Mac bundle structure. | COMMENT |
| MEDIUM | tests/unit/test_hookutils.py | 183 | # Create an egg from the test package. For debug, show the output of the egg build. | COMMENT |
| MEDIUM | tests/unit/test_modulegraph_more.py | 141 | (pkg / 'x' / 'y').mkdir(parents=True) # Create the whole package directory tree | CODE |
| MEDIUM | tests/unit/test_isolation.py | 207 | # Creating an isolated.Python() does nothing. | COMMENT |
| MEDIUM | tests/unit/test_miscutils.py | 133 | # Create a version info structure... | COMMENT |
| MEDIUM | tests/unit/test_miscutils.py | 162 | # Create a local copy | COMMENT |
| MEDIUM⚡ | tests/unit/test_building_utils.py | 24 | (tmp_path / 'existing.txt').touch() # Create a file with different name, for sanity check. | CODE |
| MEDIUM | tests/unit/test_building_utils.py | 71 | # Create the file | COMMENT |
| MEDIUM | tests/unit/test_building_utils.py | 104 | # Create the file | COMMENT |
| MEDIUM | tests/unit/test_winmanifest.py | 499 | # Create a local copy | STRING |
| MEDIUM | tests/unit/test_winmanifest.py | 556 | # Create a local copy | STRING |
| MEDIUM | tests/functional/test_linux_appimage.py | 47 | # Create the AppImage | COMMENT |
| MEDIUM | tests/functional/test_symlinks.py | 504 | # Create a symbolic link at the directory level | COMMENT |
| MEDIUM | tests/functional/test_django.py | 24 | # Create the exe, run django command 'check' to do basic sanity checking of the executable. | COMMENT |
| MEDIUM | tests/functional/test_macos_bundle_structure.py | 110 | # Create a text file | STRING |
| MEDIUM | …sts/functional/test_binary_vs_data_reclassification.py | 23 | # Create a text file | COMMENT |
| MEDIUM | tests/functional/test_regression.py | 45 | # Create a hook | COMMENT |
| MEDIUM | tests/functional/scripts/pyi_app_with_plugin.py | 31 | # Create the dynamic plugin in the same directory as the executable. | STRING |
| MEDIUM | tests/functional/scripts/pyi_multiprocessing_queue.py | 31 | # Create a queue, and run a subprocess that fills it with data | COMMENT |
| MEDIUM | …i_excluded_subpackage/modules/mypackage/mandatory/a.py | 1 | # This module contains an "unused" function (not called from anywhere in the package itself) that adds reference to the | COMMENT |
| MEDIUM⚡ | …test_egg/pyi_egg_unzipped.egg/unzipped_egg/__init__.py | 12 | # This file is part of the package for testing eggs in `PyInstaller`. | COMMENT |
| MEDIUM | …dules/pyi_mixed_collection_mode/modules/mypackage/a.py | 1 | # This module is collected into PYZ archive. | COMMENT |
| MEDIUM | …dules/pyi_mixed_collection_mode/modules/mypackage/b.py | 1 | # This module is collected as source .py file only. | COMMENT |
| MEDIUM | tests/functional/data/sphinx/conf.py | 4 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | doc/conf.py | 4 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | doc/conf.py | 275 | # Define the canonical URL if you are using a custom domain on Read the Docs | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PyInstaller/compat.py | 124 | # Check if python >= 3.13 was built with Py_GIL_DISABLED / free-threading (PEP703). | COMMENT |
| LOW⚡ | PyInstaller/configure.py | 31 | # Check if we can call `upx -V`. | COMMENT |
| LOW | PyInstaller/utils/osx.py | 452 | # Check if we are dealing with a fat binary; the `install-name-tool` seems to be unable to remove an rpath that is | COMMENT |
| LOW | PyInstaller/utils/hooks/setuptools.py | 56 | # Check if `setuptools._vendor` exists. Some linux distributions opt to de-vendor `setuptools` and remove the | COMMENT |
| LOW | PyInstaller/utils/hooks/setuptools.py | 283 | # Check if the package/module is a vendored copy. This also returns False is setuptools is unavailable, because | COMMENT |
| LOW | PyInstaller/utils/hooks/setuptools.py | 324 | # Check if the package/module is a vendored copy. This also returns False is setuptools is unavailable, because | COMMENT |
| LOW | PyInstaller/utils/hooks/conda.py | 358 | # Check if this file/folder's parent is in ``sys.path`` i.e. it's directly importable. This intentionally excludes | COMMENT |
| LOW | PyInstaller/utils/hooks/__init__.py | 636 | # Add modules to the list of all submodules | COMMENT |
| LOW | PyInstaller/utils/hooks/tcl_tk.py | 56 | # Check if Tcl/Tk is built with multi-threaded support (built with --enable-threads), as indicated by the presence | COMMENT |
| LOW⚡ | PyInstaller/utils/hooks/tcl_tk.py | 341 | # Check if the path corresponds to the system framework, i.e., [/System]/Library/Frameworks/Tcl.framework/Tcl | COMMENT |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 661 | # Check if QtNetwork supports SSL and has OpenSSL backend available (Qt >= 6.1). | COMMENT |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 1413 | # Check if bindings are available | COMMENT |
| LOW | PyInstaller/utils/win32/versioninfo.py | 596 | # Check if the overlay is still present | COMMENT |
| LOW | PyInstaller/utils/win32/winutils.py | 190 | # Open file | COMMENT |
| LOW | PyInstaller/utils/win32/winresource.py | 54 | # Open file | COMMENT |
| LOW | PyInstaller/utils/win32/winresource.py | 107 | # Close file | COMMENT |
| LOW | PyInstaller/hooks/hook-numpy.py | 55 | # Check if we are using Anaconda-packaged numpy | COMMENT |
| LOW⚡ | PyInstaller/hooks/rthooks/pyi_rth__tkinter.py | 17 | # Set path to Tcl and Tk library directories, if they exist. | COMMENT |
| LOW | PyInstaller/hooks/rthooks/pyi_rth_inspect.py | 67 | # Check if given filename matches the basename of __main__'s __file__. | COMMENT |
| LOW | PyInstaller/isolated/_parent.py | 214 | # Check if we are already running in PyInstaller's isolated subprocess, to prevent further nesting. | COMMENT |
| LOW | PyInstaller/isolated/_parent.py | 238 | # Open file handles to talk to the child. This should fully transfer ownership of the underlying file | COMMENT |
| LOW | PyInstaller/depend/analysis.py | 419 | # Check if the referrer is (was!) subject to the same rule. Because if it was and was | COMMENT |
| LOW | PyInstaller/depend/imphook.py | 430 | # Check if module has hook() function. | COMMENT |
| LOW⚡ | PyInstaller/depend/bindepend.py | 1115 | # Check if the file can be opened using `pefile`. | COMMENT |
| LOW⚡ | PyInstaller/building/api.py | 876 | # Set checksum to appease antiviral software. Also set build timestamp to current time to increase entropy | COMMENT |
| LOW | PyInstaller/building/api.py | 108 | # Check if code cache association exists for the given TOC list | COMMENT |
| LOW | PyInstaller/building/api.py | 942 | # Check if src_filename points to a PE file or an arbitrary (data) file. | COMMENT |
| LOW | PyInstaller/building/api.py | 1060 | # Check if exception is eligible for retry; if not, also check its immediate cause (in case the | COMMENT |
| LOW | PyInstaller/building/api.py | 1309 | # Add entry to list of kept TOC entries | COMMENT |
| LOW | PyInstaller/building/datastruct.py | 446 | # Check if referenced destination file is valid (i.e., we are collecting a file under referenced name). | COMMENT |
| LOW | PyInstaller/building/utils.py | 678 | # Check if optional cache contains module entry | COMMENT |
| LOW | PyInstaller/building/utils.py | 742 | # Check if .pyc file is stored in a .zip archive, as is the case for stdlib modules in embeddable | COMMENT |
| LOW | PyInstaller/building/utils.py | 814 | # Check if we need to divert - based on the destination base name and destination parent directory. | COMMENT |
| LOW | PyInstaller/building/splash.py | 134 | # Check if the Tcl/Tk version is supported. | COMMENT |
| LOW | PyInstaller/building/splash.py | 251 | # Check if all requirements were found. | COMMENT |
| LOW⚡ | PyInstaller/building/splash.py | 330 | # Check if the tkinter installation changed. This is theoretically possible if someone uses two different python | COMMENT |
| LOW⚡ | PyInstaller/building/splash.py | 339 | # Check if the image has been modified. | COMMENT |
| LOW⚡ | PyInstaller/building/splash.py | 349 | # Check if PIL/pillow is available. | COMMENT |
| LOW | tests/functional/test_misc.py | 159 | # Check if OS supports creation of symbolic links | STRING |
| LOW | tests/functional/test_qt.py | 700 | # Check if particular module is importable. This guards against errors if a module is unavailable in particular | STRING |
| LOW⚡ | tests/functional/scripts/pyi_optimization.py | 20 | # Check if __debug__ is set | COMMENT |
| LOW⚡ | tests/functional/scripts/pyi_optimization.py | 23 | # Check if assert works | COMMENT |
| LOW⚡ | …ctional/modules/pyi_optimization/mypackage/__init__.py | 17 | # Check if __debug__ is set | COMMENT |
| LOW⚡ | …ctional/modules/pyi_optimization/mypackage/__init__.py | 20 | # Check if assert works | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | PyInstaller/configure.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | PyInstaller/log.py | 15 | __all__ = ['getLogger', 'INFO', 'WARN', 'DEBUG', 'TRACE', 'ERROR', 'FATAL', 'DEPRECATION'] | CODE |
| LOW | PyInstaller/__main__.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/fake-modules/pyi_splash.py | 41 | __all__ = ["CLOSE_CONNECTION", "FLUSH_CHARACTER", "is_alive", "close", "update_text"] | CODE |
| LOW | PyInstaller/utils/misc.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/utils/osx.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | PyInstaller/utils/hooks/setuptools.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/utils/hooks/__init__.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/utils/hooks/gi.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/utils/hooks/tcl_tk.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/utils/win32/icon.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | PyInstaller/utils/win32/winresource.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/hooks/hook-django.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | PyInstaller/hooks/hook-gi.repository.Gio.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/hooks/hook-gi.repository.Gst.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | PyInstaller/hooks/pre_find_module_path/hook-tkinter.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/isolated/_parent.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/depend/analysis.py | 58 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/depend/imphook.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/depend/bindepend.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/depend/utils.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/depend/dylib.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/building/makespec.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/building/api.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | PyInstaller/building/datastruct.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/building/utils.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/building/build_main.py | 51 | logger = logging.getLogger(__name__) | CODE |
| LOW | PyInstaller/building/splash.py | 25 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | PyInstaller/__main__.py | 243 | # 3. User has used *run as administrator* to elevate: TokenElevationTypeFull | COMMENT |
| LOW | PyInstaller/fake-modules/_pyi_rth_utils/_win32.py | 226 | # but as they are at the beginning of the buffer, just pass the buffer instead... | COMMENT |
| MEDIUM | PyInstaller/utils/hooks/__init__.py | 1325 | # Collect all dynamic libs - collect them as binaries in order to facilitate proper binary dependency analysis | STRING |
| LOW | PyInstaller/utils/hooks/gi.py | 383 | # If there are no schema files available, simply return the input datas TOC. | COMMENT |
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 878 | # expected to be provided by the system. So we can just use standard library path resolution with library names | COMMENT |
| LOW | PyInstaller/utils/win32/icon.py | 226 | # We could continue with no icon (i.e., just return), but it seems best to terminate the build with a message. | COMMENT |
| MEDIUM | PyInstaller/hooks/rthooks/pyi_rth_inspect.py | 77 | # facilitate matching via __file__ attribute and use of loader's `get_source`, as per the earlier comment | COMMENT |
| MEDIUM | PyInstaller/lib/modulegraph/modulegraph.py | 142 | #leverage a named tuple -- but this should do just as well. | COMMENT |
| MEDIUM | PyInstaller/lib/modulegraph/modulegraph.py | 2468 | #handle opcodes pertaining to global attributes (e.g., | COMMENT |
| MEDIUM | PyInstaller/depend/imphookapi.py | 408 | # (e.g., "hook-PIL.SpiderImagePlugin.py"). We only require this for the aforementioned hook, so contemplate | COMMENT |
| LOW | tests/functional/scripts/pyi_c_extension.py | 29 | # Filename extensions can include several dots (e.g., '.cpython-33m.so'), so we cannot simply use os.path.splitext(), | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | bootloader/waflib/Tools/javaw.py | 28 | lib = null; | CODE |
| HIGH | bootloader/waflib/Tools/c_preproc.py | 670 | state.append(undefined) | CODE |
| HIGH | PyInstaller/depend/imphook.py | 439 | # If this attribute is undefined, expose a sane default instead. | COMMENT |
| HIGH | tests/functional/test_splash.py | 136 | # is_alive() should return false | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | PyInstaller/utils/hooks/__init__.py | 1167 | Collect modules and metadata for all exporters of a given entry point. Args: name: The nam | STRING |
| HIGH | PyInstaller/utils/hooks/__init__.py | 1273 | Collect data files and binaries from the .libs directory of a delvewheel-enabled python wheel. Such wheels ship | STRING |
| HIGH | PyInstaller/isolated/_parent.py | 346 | Call a function with arguments in a separate child Python. Retrieve its return value. Args: function: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PyInstaller/utils/hooks/qt/__init__.py | 168 | # The PyQt wheels come in both non-commercial and commercial variants. So we need to check if a particular | COMMENT |
| LOW⚡ | PyInstaller/building/api.py | 874 | # Step 3: post-processing | COMMENT |
| LOW | PyInstaller/building/api.py | 776 | # Step 1: copy the bootloader file, and perform any operations that need to be done prior to appending the PKG. | COMMENT |
| LOW | PyInstaller/building/api.py | 805 | # Step 2: append the PKG, if necessary | COMMENT |
| LOW⚡ | PyInstaller/building/osx.py | 464 | # Step 4: process the entries for collected files, and decide whether they should be placed into | COMMENT |
| LOW | PyInstaller/building/osx.py | 328 | # Step 1: inspect the directory layout and classify the directories according to their contents. | COMMENT |
| LOW | PyInstaller/building/osx.py | 396 | # Step 2: process the obtained directory structure and create symlink entries for directories that need to be | COMMENT |
| LOW | PyInstaller/building/osx.py | 427 | # Step 3: first part of the work-around for directories that are located in `Contents/Frameworks` but contain a | COMMENT |
| LOW | PyInstaller/building/osx.py | 549 | # Step 5: sanitize all destination paths in the new TOC, to ensure that paths that are rooted in | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | PyInstaller/building/api.py | 874 | # Step 3: post-processing | COMMENT |
| LOW | PyInstaller/building/api.py | 776 | # Step 1: copy the bootloader file, and perform any operations that need to be done prior to appending the PKG. | COMMENT |
| LOW | PyInstaller/building/api.py | 805 | # Step 2: append the PKG, if necessary | COMMENT |
| LOW⚡ | PyInstaller/building/osx.py | 464 | # Step 4: process the entries for collected files, and decide whether they should be placed into | COMMENT |
| LOW | PyInstaller/building/osx.py | 328 | # Step 1: inspect the directory layout and classify the directories according to their contents. | COMMENT |
| LOW | PyInstaller/building/osx.py | 396 | # Step 2: process the obtained directory structure and create symlink entries for directories that need to be | COMMENT |
| LOW | PyInstaller/building/osx.py | 427 | # Step 3: first part of the work-around for directories that are located in `Contents/Frameworks` but contain a | COMMENT |
| LOW | PyInstaller/building/osx.py | 549 | # Step 5: sanitize all destination paths in the new TOC, to ensure that paths that are rooted in | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bootloader/waflib/Task.py | 845 | CODE | |
| LOW | bootloader/waflib/TaskGen.py | 178 | CODE | |
| LOW | bootloader/waflib/Tools/glib2.py | 77 | CODE | |
| LOW | bootloader/waflib/Tools/python.py | 112 | CODE | |
| LOW | bootloader/waflib/Tools/python.py | 129 | CODE | |
| LOW | PyInstaller/utils/win32/versioninfo.py | 202 | CODE | |
| LOW | PyInstaller/utils/win32/winmanifest.py | 194 | CODE | |
| LOW | PyInstaller/lib/modulegraph/modulegraph.py | 791 | CODE | |
| LOW | PyInstaller/lib/modulegraph/find_modules.py | 61 | CODE | |
| LOW | PyInstaller/depend/bindepend.py | 351 | CODE | |
| LOW | PyInstaller/building/makespec.py | 671 | CODE | |
| LOW | PyInstaller/building/api.py | 188 | CODE | |
| LOW | PyInstaller/building/build_main.py | 400 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/functional/test_inspect.py | 117 | EXPECTED_START = "def test_function():" | CODE |
| LOW | …multipackage-scripts/multipackage_test_pkg/__init__.py | 41 | def test_function(): | CODE |
| LOW⚡ | tests/functional/scripts/pyi_multiprocessing_process.py | 17 | def test_function(): | CODE |
| LOW⚡ | tests/functional/scripts/pyi_optimization.py | 33 | def test_function(): | CODE |
| LOW⚡ | …ts/functional/scripts/pyi_multiprocessing_semaphore.py | 16 | def test_function(semaphore): | CODE |
| LOW | …ional/modules/pyi_inspect_getsource/mypackage/mod_b.py | 4 | def test_function(): | CODE |
| LOW⚡ | …ctional/modules/pyi_optimization/mypackage/__init__.py | 30 | def test_function(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PyInstaller/utils/hooks/setuptools.py | 186 | # Similarly, ensure that `Lorem ipsum.txt` from vendored jaraco.text is collected | COMMENT |
| LOW | PyInstaller/utils/hooks/setuptools.py | 187 | vendored_data += collect_data_files('setuptools._vendor.jaraco.text', includes=['**/Lorem ipsum.txt']) | CODE |
| LOW | PyInstaller/hooks/hook-pkg_resources.py | 42 | # In setuptools 60.7.0, the vendored jaraco.text package included "Lorem Ipsum.txt" data file, which also has to be | COMMENT |
| LOW | PyInstaller/hooks/hook-pkg_resources.py | 50 | # In setuptools 60.7.1, the "Lorem Ipsum.txt" data file was dropped from the vendored jaraco.text package, so we can | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PyInstaller/hooks/rthooks/pyi_rth_pkgres.py | 158 | # Use os.listdir() to avoid having to convert Path objects to strings... Also make sure to de-duplicate | COMMENT |
| MEDIUM | tests/functional/test_signals.py | 116 | # slowing down the test; as mentioned earlier, we expect signals to be delivered within 1 second for most of the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/functional/test_libraries.py | 341 | # Twisted is an event-driven networking engine. | COMMENT |