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

Function constructInitLogPath

src/config/utils.py:194–204  ·  view source on GitHub ↗

Generate the name for the init 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

192 return src_seen_strings, src_seen_consts, src_functions_list
193
194def constructInitLogPath(bin_path=None):
195 """Generate the name for the init log file of the currently analyzed binary file.
196
197 Args:
198 bin_path (str, Optional): path to the compiled binary file (None by default)
199
200 Return value:
201 file name for the log file
202 """
203 prefix = '' if bin_path is None else os.path.split(bin_path)[0] + os.path.sep
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.

Callers 4

analyzeLibraryFunction · 0.85
pluginMainFunction · 0.85
pluginMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected