AI Bugfinder
A static analyzer powered by AI
  • Introduction
  • Designing pipelines
  • Designing processing classes
  • Example pipelines
  • API documentation
    • bugfinder
      • bugfinder.settings
      • bugfinder.models
      • bugfinder.utils
      • bugfinder.base
      • bugfinder.features
      • bugfinder.processing
        • AbstractCppFileProcessing
        • bugfinder.processing.interproc
        • bugfinder.processing.sink_tagging
        • bugfinder.processing.tokenizers
        • bugfinder.processing.cleaning
        • bugfinder.processing.neo4j
        • bugfinder.processing.dataset
        • bugfinder.processing.joern
        • bugfinder.processing.ast
AI Bugfinder
  • »
  • API documentation »
  • bugfinder »
  • bugfinder.processing »
  • bugfinder.processing.cleaning

bugfinder.processing.cleaning

class bugfinder.processing.cleaning.AbstractFileRemover(dataset, deprecation_warning=None)

Bases: AbstractFileProcessing

Processing class to remove files based on specific conditions.

abstract match_file(filepath) → bool

Abstract method to determine wether a file should be ignored by the processing.

process_file(filepath)

Remove file.

  • bugfinder.processing.cleaning.replace_litterals
    • ReplaceLitterals
      • ReplaceLitterals.execute()
      • ReplaceLitterals.process_file()
      • ReplaceLitterals.replacements
  • bugfinder.processing.cleaning.remove_cpp_files
    • RemoveCppFiles
      • RemoveCppFiles.execute()
      • RemoveCppFiles.match_file()
  • bugfinder.processing.cleaning.remove_main_function
    • RemoveMainFunction
      • RemoveMainFunction.execute()
      • RemoveMainFunction.main_fn_entry
      • RemoveMainFunction.main_fn_exit
      • RemoveMainFunction.process_file()
  • bugfinder.processing.cleaning.remove_interproc_files
    • RemoveInterprocFiles
      • RemoveInterprocFiles.execute()
      • RemoveInterprocFiles.match_file()
  • bugfinder.processing.cleaning.remove_comments
    • RemoveComments
      • RemoveComments.execute()
      • RemoveComments.process_file()
Previous Next

Built with Sphinx using a theme provided by Read the Docs.