MCPcopy Create free account
hub / github.com/CheckPointSW/Karta / constructLogPath

Function constructLogPath

src/config/utils.py:206–215  ·  view source on GitHub ↗

Generate the name for the log file of the currently analyzed binary file. Args: bin_path (str, Optional): path to the compiled binary file (None by default) Return value: file name for the log file

(bin_path=None)

Source from the content-addressed store, hash-verified

204 return prefix + LIBRARY_NAME + ".log"
205
206def constructLogPath(bin_path=None):
207 """Generate the name for the log file of the currently analyzed binary file.
208
209 Args:
210 bin_path (str, Optional): path to the compiled binary file (None by default)
211
212 Return value:
213 file name for the log file
214 """
215 return (bin_path if bin_path is not None else disas_layer.inputFile()) + LOG_FILE_SUFFIX
216
217def accumulatedKnowledgePath(bin_path=None):
218 """Generate the name for the configuration file of the currently analyzed binary file.

Callers 2

analyzeLibraryFunction · 0.85

Calls 1

inputFileMethod · 0.45

Tested by

no test coverage detected