Comments (5)
I still cannot reproduce. I just re-tested it following the docs and it works as expected.
I close it now , and if find time to reproduce it. I will reopen, Thanks !!
from gef.
if u can not reproduce, plz wait for my several trys.
I will update it .
from gef.
Yes, I cannot reproduce. Provide a more detailed step by step
Also
-ex "target remote localhost:1234"
Use gef-remote
, see the docs
from gef.
as u told me ,i use gef-remote
Env:
uname -a
Linux singapore 6.9.0-1-MANJARO #1 SMP PREEMPT_DYNAMIC Mon May 13 07:01:28 UTC 2024 x86_64 GNU/Linux
gdb command:
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
gdb-multiarch \
-ex "set confirm off" \
-ex "set print pretty on" \
-ex "gef-remote localhost 1234" \
-ex "set auto-load safe-path /" \
-ex "file /run/media/xxxxx/9e4b17d7-a9ed-4cee-90f7-e8b4e511c8c1/u22docker/kernel5.10/common/vmlinux"
0
GNU gdb (GDB) 14.2
Copyright (C) 2023 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-pc-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".
GEF for linux ready, type `gef' to start, `gef config' to configure
88 commands loaded and 5 functions added for GDB 14.2 in 0.00ms using Python engine 3.12
warning: No executable has been specified and target does not support
determining executable automatically. Try using the "file" command.
0xffff800008e0ab6c in ?? ()
[!] Command 'gef-remote' failed to execute properly, reason: No session started
Reading symbols from /run/media/......
I am debuging qemu which is runing arm64 kernel
this time it is different from the last time's output
but as u can see, there maybe some thing not very ok.
any work if needed to reproduce, i will try my best
if this issue designed just as it is in the above, plz ignore it.
if i use
if i use target remote localhost:1234
[!] Command 'context' failed to execute properly, reason:
Python Exception <class 'RuntimeError'>: No session started
Error while executing Python code.
Reading symbols from /run/media/avboy/9e4b17d7-a9ed-4cee-90f7-e8b4e511c8c1/u22docker/kernel5.10/common/vmlinux...
(remote) gef➤
from gef.
I still cannot reproduce. I just re-tested it following the docs and it works as expected.
from gef.
Related Issues (20)
- Question about pyenv HOT 6
- [Docs] Add `pre-commit` documentation
- sth. about function and UI HOT 1
- gef for windows HOT 4
- The Gef Frame Is small HOT 2
- [Bug] AssertionError HOT 5
- Possible GEF `dereference` issue with `gef-remote` HOT 7
- Add support for LLDB HOT 1
- [Bug] GEF supports Python 3.6+ but uses f-string debugging only introduced in Python 3.8+, breaking compatibility
- [Bug] vmmap command 'offset' column actually shows size HOT 1
- [Bug] SyntaxError: unterminated triple-quoted string literal HOT 1
- display bug , after some commands ,there will be a wrong display HOT 10
- Alpine dependencies HOT 2
- variable name causes problems
- General Maintenance HOT 2
- [Bug] 'gef-remote' failed to execute properly, reason: [Errno 17] File exists HOT 1
- can i only print selected thread in ctx? HOT 1
- Add support for registers in `target remote` post hook HOT 6
- Move GEF to Python 3.10 baseline
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gef.