Coder Social home page Coder Social logo

Comments (5)

bb33bb avatar bb33bb commented on September 22, 2024 1

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.

bb33bb avatar bb33bb commented on September 22, 2024

if u can not reproduce, plz wait for my several trys.

I will update it .

from gef.

hugsy avatar hugsy commented on September 22, 2024

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.

bb33bb avatar bb33bb commented on September 22, 2024

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.

hugsy avatar hugsy commented on September 22, 2024

I still cannot reproduce. I just re-tested it following the docs and it works as expected.

from gef.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.