-
-
Notifications
You must be signed in to change notification settings - Fork 784
Closed
Description
GEF+GDB version
GNU gdb (Debian 12.1-4) 12.1
Operating System
Kali Linux 2022.4 on WSL2
Describe the issue you encountered
trying to install GEF by following the instruction in the README fails
I actually tried the various instructions listed (curl, wget and directly from gdb)
When starting gdb I see the following:
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Traceback (most recent call last):
File "/home/user/.gef-2b72f5d0d9f0f218a91cd1ca5148e45923b950d5.py", line 10878, in <module>
reset()
File "/home/user/.gef-2b72f5d0d9f0f218a91cd1ca5148e45923b950d5.py", line 190, in reset
gef.setup()
File "/home/user/.gef-2b72f5d0d9f0f218a91cd1ca5148e45923b950d5.py", line 10809, in setup
self.reinitialize_managers()
File "/home/user/.gef-2b72f5d0d9f0f218a91cd1ca5148e45923b950d5.py", line 10804, in reinitialize_managers
self.session = GefSessionManager()
File "/home/user/.gef-2b72f5d0d9f0f218a91cd1ca5148e45923b950d5.py", line 10454, in __init__
self.constants[constant] = which(constant)
File "/home/user/.gef-2b72f5d0d9f0f218a91cd1ca5148e45923b950d5.py", line 1810, in which
raise FileNotFoundError(f"Missing file `{program}`")
FileNotFoundError: Missing file `file`
Traceback (most recent call last):
File "/home/user/.gdbinit-gef.py", line 10878, in <module>
reset()
File "/home/user/.gdbinit-gef.py", line 190, in reset
gef.setup()
File "/home/user/.gdbinit-gef.py", line 10809, in setup
self.reinitialize_managers()
File "/home/user/.gdbinit-gef.py", line 10804, in reinitialize_managers
self.session = GefSessionManager()
File "/home/user/.gdbinit-gef.py", line 10454, in __init__
self.constants[constant] = which(constant)
File "/home/user/.gdbinit-gef.py", line 1810, in which
raise FileNotFoundError(f"Missing file `{program}`")
FileNotFoundError: Missing file `file`
(gdb)
Do you read the docs and look at previously closed issues/PRs for similar cases?
Yes
Architecture impacted
- X86
- X64
- ARM
- ARM64
- MIPS
- MIPS64
- PPC
- PPC64
- RISCV
Describe your issue. Without a proper reproduction step-by-step, your issue will be ignored.
Provide a step-by-step to reproduce your issue.
- execute
bash -c "$(curl -fsSL https://gef.blah.cat/sh)"
(or any other installation method listed in the README) - verify that
.gdbinit
sources the gef script - start gdb
Minimalist test case
No response
Additional context?
No response