Create a database file for the given binary file, compiled to windows or linux as specified. Args: binary_file (path): path to the input binary (*.o / *.obj) file is_windows (bool): True if this is a binary that was compiled for windows (*.obj), False otherwise (*.o)
(self, binary_file, is_windows)
| 551 | raise NotImplementedError("Subclasses should implement this!") |
| 552 | |
| 553 | def createDatabase(self, binary_file, is_windows): |
| 554 | """Create a database file for the given binary file, compiled to windows or linux as specified. |
| 555 | |
| 556 | Args: |
| 557 | binary_file (path): path to the input binary (*.o / *.obj) file |
| 558 | is_windows (bool): True if this is a binary that was compiled for windows (*.obj), False otherwise (*.o) |
| 559 | |
| 560 | Return Value: |
| 561 | path to the created database file |
| 562 | """ |
| 563 | raise NotImplementedError("Subclasses should implement this!") |
| 564 | |
| 565 | def executeScript(self, database, script): |
| 566 | """Execute the given script over the given database file that was created earlier. |