MCPcopy Index your code

hub / github.com/ForensicArtifacts/artifacts-kb / functions

Functions76 in github.com/ForensicArtifacts/artifacts-kb

↓ 17 callersMethodOpenFileObject
Opens the Windows Message Resource file using a file-like object. Args: file_object (file): file-like object. Raises:
artifactsrc/resource_file.py:223
↓ 13 callersMethodClose
Closes the Windows Message Resource file. Raises: IOError: if not open. OSError: if not open.
artifactsrc/resource_file.py:132
↓ 13 callersMethod_GetTestFilePath
Retrieves the path of a test file in the test data directory. Args: path_segments (list[str]): path segments inside the test data d
tests/test_lib.py:24
↓ 13 callersMethod_SkipIfPathNotExists
Skips the test if the path does not exist. Args: path (str): path of a test file. Raises: SkipTest: if the path
tests/test_lib.py:37
↓ 6 callersMethod_GetVersionInformation
Determines the file and product version.
artifactsrc/resource_file.py:48
↓ 4 callersMethodread
Reads the resource data. Returns: bytes: resource data.
tests/resource_file.py:85
↓ 3 callersMethod_GetVersionInformationResource
Retrieves the version information resource. Returns: pywrc.version_information_resource: version information resource or None
artifactsrc/resource_file.py:81
↓ 3 callersMethodget_resource_by_identifier
Retrieves a specific resource by identifier. Args: identifier (int): identifier. Returns: object: resource or No
tests/resource_file.py:108
↓ 2 callersMethodCheckDependencies
Checks the availability of the dependencies. Args: verbose_output (Optional[bool]): True if output should be verbose. Retu
utils/dependencies.py:315
↓ 2 callersMethodGetMUILanguage
Retrieves the MUI language. Returns: str: MUI language or None if not available.
artifactsrc/resource_file.py:160
↓ 2 callersMethodGetMessageTableResource
Retrieves the message table resource. Returns: pywrc.resource: resource containing the message table resource or None
artifactsrc/resource_file.py:149
↓ 2 callersMethodHasMessageTableResource
Determines if the resource file as a message table resource. Returns: bool: True if the resource file as a message table resource.
artifactsrc/resource_file.py:206
↓ 2 callersMethodRead
Reads dependency definitions. Args: file_object (file): file-like object to read from. Yields: DependencyDefinit
utils/dependencies.py:90
↓ 2 callersMethodWriteArtifactDefinition
Writes an artifact definition to the index.rst file. Args: artifact_name (str): artifact name.
tools/generate_docs.py:50
↓ 2 callersMethod_CheckPythonModule
Checks the availability of a Python module. Args: dependency (DependencyDefinition): dependency definition. Returns:
utils/dependencies.py:149
↓ 2 callersMethod_GetDataTypeMap
Retrieves a data type map defined by the definition file. The data type maps are cached for reuse. Args: name (str): name
artifactsrc/volume_scanner.py:169
↓ 2 callersMethod_OpenMessageResourceFile
Opens the message resource file specified by the Windows path. Args: windows_path (str): Windows path containing the message resour
artifactsrc/volume_scanner.py:188
↓ 2 callersMethod_PrintCheckDependencyStatus
Prints the check dependency status. Args: dependency (DependencyDefinition): dependency definition. result (bool): True i
utils/dependencies.py:292
↓ 2 callersMethod__init__
Initializes a stream.
tests/resource_file.py:101
↓ 1 callersMethodCheckArtifactDefinition
Checks if an artifact definition on a storage media image. Args: artifact_definition (artifacts.ArtifactDefinition): artifact defin
artifactsrc/volume_scanner.py:303
↓ 1 callersMethodCheckTestDependencies
Checks the availability of the dependencies when running tests. Args: verbose_output (Optional[bool]): True if output should be ver
utils/dependencies.py:346
↓ 1 callersMethodGetMUIResource
Retrieves the MUI resource. Returns: pywrc.mui_resource: MUI resource or None if not available.
artifactsrc/resource_file.py:172
↓ 1 callersFunctionMain
Entry point of console script to generate documentation. Returns: int: exit code that is provided to sys.exit().
tools/generate_docs.py:138
↓ 1 callersFunctionMain
Entry point of console script to check artifact definitions. Returns: int: exit code that is provided to sys.exit().
tools/check_artifacts.py:22
↓ 1 callersMethodScanForOperatingSystemVolumes
Scans for volumes containing an operating system. Args: source_path (str): source path. options (Optional[dfvfs.VolumeSca
artifactsrc/volume_scanner.py:365
↓ 1 callersMethod_CheckPythonModuleVersion
Checks the version of a Python module. Args: module_object (module): Python module. module_name (str): name of the Python
utils/dependencies.py:177
↓ 1 callersMethod_DetermineDataFormat
Determines the data format. Args: names (list[str]): names of data formats to check. file_object (file): file-like object
artifactsrc/volume_scanner.py:136
↓ 1 callersMethod_FixLinks
Corrects links to .md files not part of the documentation. Args: node (docutils.nodes.Node): docutils node. Returns:
docs/conf.py:121
↓ 1 callersMethod_GetConfigValue
Retrieves a value from the config parser. Args: config_parser (ConfigParser): configuration parser. section_name (str): n
utils/dependencies.py:74
↓ 1 callersMethod_ImportPythonModule
Imports a Python module. Args: module_name (str): name of the module. Returns: module: Python module or None if
utils/dependencies.py:271
↓ 1 callersMethod_OpenMessageResourceFileByPathSpec
Opens the message resource file specified by the path specification. Args: path_spec (dfvfs.PathSpec): path specification.
artifactsrc/volume_scanner.py:204
↓ 1 callersMethod_ReadChecksDefinitions
Reads the checks definitions from checks.yaml. Returns: list[dict[str, object]]: checks definitions.
artifactsrc/volume_scanner.py:237
↓ 1 callersMethod_ReadDataTypeFabricDefinitionFile
Reads a dtFabric definition file. Args: filename (str): name of the dtFabric definition file. Returns: dtfabric.
artifactsrc/volume_scanner.py:253
↓ 1 callersMethod_ReadStructureFromFileObject
Reads a structure from a file-like object. This method currently only supports fixed-size structures. Args: file_object (f
artifactsrc/volume_scanner.py:273
↓ 1 callersMethod_Traverse
Traverses the document tree rooted at node. Args: node (docutils.nodes.Node): docutils node.
docs/conf.py:142
↓ 1 callersMethod__init__
Initializes an index.rst output writer.
tools/generate_docs.py:19
↓ 1 callersMethod__init__
Initializes a dependency helper. Args: dependencies_file (Optional[str]): path to the dependencies configuration file
utils/dependencies.py:121
↓ 1 callersMethod__init__
Initializes check results.
artifactsrc/volume_scanner.py:33
↓ 1 callersMethodget_resource_by_name
Retrieves a specific resource by name. Args: name (str): name. Returns: object: resource or None.
tests/resource_file.py:119
MethodGetWindowsVersion
Determines the Windows version from kernel executable file. Returns: str: Windows version or None otherwise.
artifactsrc/volume_scanner.py:341
FunctionRunSphinxAPIDoc
Runs sphinx-apidoc to auto-generate documentation. Args: app (sphinx.application.Sphinx): Sphinx application. Required by the the
docs/conf.py:101
MethodWriteArtifactDefinition
Writes an artifact definition to a Markdown file. Args: artifact_definition (list[artifacs.ArtifactDefinition]): artifact
tools/generate_docs.py:80
Method__enter__
Make this work with the 'with' statement.
tools/generate_docs.py:25
Method__enter__
Make this work with the 'with' statement.
tools/generate_docs.py:70
Method__enter__
Make this work with the 'with' statement.
tests/test_lib.py:59
Method__exit__
Make this work with the 'with' statement.
tools/generate_docs.py:45
Method__exit__
Make this work with the 'with' statement.
tools/generate_docs.py:75
Method__exit__
Make this work with the 'with' statement.
tests/test_lib.py:64
Method__init__
Initializes a Markdown output writer.
tools/generate_docs.py:64
Method__init__
Initializes a dependency configuration. Args: name (str): name of the dependency.
utils/dependencies.py:32
Method__init__
Initializes an artifact definitions volume scanner. Args: artifacts_registry (artifacts.ArtifactDefinitionsRegistry): artifact
artifactsrc/volume_scanner.py:110
Method__init__
Initializes the Windows Message Resource file. Args: windows_path (str): normalized version of the Windows path. ascii_co
artifactsrc/resource_file.py:19
Method__init__
Initializes a temporary directory.
tests/test_lib.py:54
Method__init__
Initializes a resource.
tests/resource_file.py:18
Method__init__
Initializes a resource item. Args: identifier (int]): identifier.
tests/resource_file.py:53
Methodapply
Applies this transform on document tree.
docs/conf.py:154
Methodfile_version
str: the file version.
artifactsrc/resource_file.py:119
Methodget_item_by_index
Retrieves a specific resource item. Args: index (int): index. Returns: TestWrcResourceItem: resource item.
tests/resource_file.py:33
Methodget_number_of_items
Retrieves the number of resource items. Returns: int: number of resource items.
tests/resource_file.py:25
Methodget_number_of_sub_items
Retrieves the number of resource sub items. Returns: int: number of resource sub items.
tests/resource_file.py:66
Methodget_sub_item_by_index
Retrieves a specific resource sub item. Args: index (int): index. Returns: TestWrcResourceItem: resource item.
tests/resource_file.py:74
Methodproduct_version
str: the product version.
artifactsrc/resource_file.py:126
Functionsetup
Called at Sphinx initialization. Args: app (sphinx.application.Sphinx): Sphinx application.
docs/conf.py:160
MethodtestFileVersionProperty
Tests the file_version property.
tests/resource_file.py:1013
MethodtestGetMUILanguage
Tests the GetMUILanguage function.
tests/resource_file.py:1119
MethodtestGetMessageTableResourceNoWrc
Tests the GetMessageTableResource function.
tests/resource_file.py:1081
MethodtestGetMessageTableResourceWrc
Tests the GetMessageTableResource function.
tests/resource_file.py:1100
MethodtestGetVersionInformationNoWrc
Tests the _GetVersionInformation function.
tests/resource_file.py:907
MethodtestGetVersionInformationResourceNoWrc
Tests the _GetVersionInformationResource function.
tests/resource_file.py:973
MethodtestGetVersionInformationResourceWrc
Tests the _GetVersionInformationResource function.
tests/resource_file.py:993
MethodtestGetVersionInformationWrc
Tests the _GetVersionInformation function.
tests/resource_file.py:926
MethodtestHasMessageTableResourceNoWrc
Tests the HasMessageTableResource function.
tests/resource_file.py:1144
MethodtestHasMessageTableResourceWrc
Tests the HasMessageTableResource function.
tests/resource_file.py:1163
MethodtestOpenFileObjectAndCloseNoWrc
Tests the OpenFileObject and Close functions.
tests/resource_file.py:1047
MethodtestOpenFileObjectAndCloseWrc
Tests the OpenFileObject and Close functions.
tests/resource_file.py:1064
MethodtestProductVersionProperty
Tests the product_version property.
tests/resource_file.py:1029