(skip_exe=False)
return tuple(sorted(pages))
Extracts the name of the executable from the output of the command
    "info auxv". Note that if the executable path is a symlink,
    it is not dereferenced by `info auxv` and we also don't dereference it.

    Arguments:
        skip_exe(bool): Do not return any mappings that belong to the exe.

    Returns:
        A list of pwndbg.memory.Page objects.
Extracts the name of the executable from the output of the command
    "info auxv". Note that if the executable path is a symlink,
    it is not dereferenced by `info auxv` and we also don't dereference it.
Extracts the name of the executable from the output of the command info auxv . Note that if the executable path is a symlink it is not dereferenced by info auxv and we also don t dereference it .
def info_auxv(skip_exe=False):
    """
    Extracts the name of the executable from the output of the command
    "info auxv". Note that if the executable path is a symlink,
    it is not dereferenced by `info auxv` and we also don't dereference it.

    Arguments:
        skip_exe(bool): Do not return any mappings that belong to the exe.

    Returns:
        A list of pwndbg.memory.Page objects.
    """
    auxv = pwndbg.auxv.get()

    if not auxv:
        return tuple()

    pages    = []
    exe_name = auxv.AT_EXECFN or 'main.exe'
    entry    = auxv.AT_ENTRY
    base     = auxv.AT_BASE
    vdso     = auxv.AT_SYSINFO_EHDR or auxv.AT_SYSINFO
    phdr     = auxv.AT_PHDR

    if not skip_exe and (entry or phdr):
        pages.extend(pwndbg.elf.map(entry or phdr, exe_name))

    if base:
        pages.extend(pwndbg.elf.map(base, '[linker]'))

    if vdso:
        pages.extend(pwndbg.elf.map(vdso, '[vdso]'))

    return tuple(sorted(pages))
def info_auxv ( skip_exe = False ) : auxv = pwndbg . auxv . get ( ) if not auxv : return tuple ( ) pages = [ ] exe_name = auxv . AT_EXECFN or 'main.exe' entry = auxv . AT_ENTRY base = auxv . AT_BASE vdso = auxv . AT_SYSINFO_EHDR or auxv . AT_SYSINFO phdr = auxv . AT_PHDR if not skip_exe and ( entry or phdr ) : pages . extend ( pwndbg . elf . map ( entry or phdr , exe_name ) ) if base : pages . extend ( pwndbg . elf . map ( base , '[linker]' ) ) if vdso : pages . extend ( pwndbg . elf . map ( vdso , '[vdso]' ) ) return tuple ( sorted ( pages ) )