pwndbg/pwndbg

Setting variables in a Linux kernel instance does not work with `pwndbg`

Open

#2,518 建立於 2024年11月12日

在 GitHub 查看
 (12 留言) (1 反應) (0 負責人)Python (776 fork)batch import
bughelp wantedkernel

倉庫指標

Star
 (5,820 star)
PR 合併指標
 (平均合併 3天 12小時) (30 天內合併 32 個 PR)

描述

Description

Setting variables on a running Linux kernel (6.5.7) that is being debugged with kgdb, pwndbg and QEMU doesn't work, even if it does on common gdb.

Steps to reproduce

pwndbg> set variable init_uts_ns.name.release = "dskasd"
Cannot access memory at address 0xffffffff82c66b42
  • This should not happen, as it works on GDB.

My setup

pwndbg> version
Gdb:      15.0.50.20240403-git
Python:   3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0]
Pwndbg:   2024.08.29 build: 88c363a6
Capstone: 5.0.1280

貢獻者指南