Generate the name for the configuration 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 config file with the accumulated information
(bin_path=None)
| 215 | return (bin_path if bin_path is not None else disas_layer.inputFile()) + LOG_FILE_SUFFIX |
| 216 | |
| 217 | def accumulatedKnowledgePath(bin_path=None): |
| 218 | """Generate the name for the configuration file of the currently analyzed binary file. |
| 219 | |
| 220 | Args: |
| 221 | bin_path (str, Optional): path to the compiled binary file (None by default) |
| 222 | |
| 223 | Return value: |
| 224 | file name for the config file with the accumulated information |
| 225 | """ |
| 226 | return (bin_path if bin_path is not None else disas_layer.databaseFile()) + KNOWLEDGE_FILE_SUFFIX |
| 227 | |
| 228 | def loadKnowledge(bin_path=None): |
| 229 | """Load the .json configuration for the current binary file, if exists. |
no test coverage detected