Skip to content

李忠《x86 汇编语言:从实模式到保护模式》(第二版)检测点及章节习题 + pwndbg 速查手册

License

Notifications You must be signed in to change notification settings

CuB3y0nd/assembly.rip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assembly.rip

李忠《x86 汇编语言:从实模式到保护模式》(第二版)检测点及章节习题

目录

pwndbg cheat sheet

这份 Cheat Sheet 记录了一些常用的 pwndbg 调试指令,方便查阅。

使用 Qemu + GDB 调试汇编程序

使用以下指令即可启动虚拟机:

qemu-system-i386 -s -S -drive format=raw,file=<binary_file> --nographic
  • <binary_file> 替换为你编译出来的二进制文件名

运行虚拟机后在新的终端打开 gdb,输入以下指令即可连接虚拟机远程调试:

set architecture i8086
target remote localhost:1234

使用 layout asm 可以查看接下来要运行的指令,十分方便。若要切换它的显示状态可以使用 Ctrl + X + A

更多用法可以参考我的 pwndbg cheat sheet

License

assembly.rip © 2024 by CuB3y0nd is licensed under CC BY-NC-SA 4.0.

About

李忠《x86 汇编语言:从实模式到保护模式》(第二版)检测点及章节习题 + pwndbg 速查手册

Topics

Resources

License

Stars

Watchers

Forks