0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WSL上でgdb-pedaを動かそうとしたらエラーになった時のメモ

Posted at

先に結論

・WSL1を2にバージョンアップしたら解決

元の環境

・Windows10
・WSL1
・Ubuntu 22.04.3 LTS

gdb-pedaインストール

wslを起動し実行
git clone https://github.com/longld/peda.git ~/peda
echo "source ~/peda/peda.py" >> ~/.gdbinit

エラー

文面
opening /proc/PID/mem file for lwp 226.226 failed: no such file or directory (2)

解決

・WSL1からWSL2へバージョンアップしたら解決
・バージョンアップ参考:https://kashiwaba-yuki.com/ctf-setup-windows-lab#wsl2-%E3%81%AB%E5%A4%89%E6%9B%B4%E3%81%99%E3%82%8B

エラーについて

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?