diff --git a/api/python/debuggercontroller.py b/api/python/debuggercontroller.py index 40571945..30b90cb2 100644 --- a/api/python/debuggercontroller.py +++ b/api/python/debuggercontroller.py @@ -1114,6 +1114,23 @@ def executable_path(self) -> str: def executable_path(self, path: str) -> None: dbgcore.BNDebuggerSetExecutablePath(self.handle, path) + @property + def input_file(self) -> str: + """ + The input file used to create the database + + This should be set before launching the target. Be default, it is the path of the FileMetadata + (``bv.file.filename``) + + :getter: returns the input file path + :setter: sets the input file path + """ + return dbgcore.BNDebuggerGetInputFile(self.handle) + + @input_file.setter + def input_file(self, path: str) -> None: + dbgcore.BNDebuggerSetInputFile(self.handle, path) + @property def working_directory(self) -> str: """