(self)
return gdb.current_progspace().filename
Returns the debugged file name.

        On remote targets, this may be prefixed with "target:" string.
        See this by executing those in two terminals:
        1. gdbserver 127.0.0.1:1234 /bin/ls
        2. gdb -ex "target remote :1234" -ex "pi pwndbg.proc.exe"

        If you need to process the debugged file use:
            `pwndbg.file.get_file(pwndbg.proc.exe)`
Returns the debugged file name.
Returns the debugged file name .
def exe(self):
        """
        Returns the debugged file name.

        On remote targets, this may be prefixed with "target:" string.
        See this by executing those in two terminals:
        1. gdbserver 127.0.0.1:1234 /bin/ls
        2. gdb -ex "target remote :1234" -ex "pi pwndbg.proc.exe"

        If you need to process the debugged file use:
            `pwndbg.file.get_file(pwndbg.proc.exe)`
        """
        return gdb.current_progspace().filename
def exe ( self ) : return gdb . current_progspace ( ) . filename