File tree Expand file tree Collapse file tree 4 files changed +38
-31
lines changed
docs/binary_core_tools/virtualization/qemu Expand file tree Collapse file tree 4 files changed +38
-31
lines changed Original file line number Diff line number Diff line change 1- ## 什么是 qemu
2-
3- [ qemu] ( https://www.qemu.org/ ) 是一款由 [ Fabrice Bellard] ( https://bellard.org/ ) 等人编写的可以执行硬件虚拟化的开源托管虚拟机,具有运行速度快(配合 kvm),跨平台等优点。
4-
5- qemu 通过动态的二进制转化模拟 CPU,并且提供一组设备模型,使其能够运行多种未修改的客户机OS。
6-
7- ### 运行模式
8-
9- qemu 有多种运行模式,常用的有 ` User-mode emulation ` 和 ` System emulation ` 两种。
10-
11- #### User-mode emulation
12- 用户模式,在这个模式下,qemu 可以运行单个其他指令集的 linux 或者 macOS/darwin 程序,** 允许了为一种架构编译的程序在另外一种架构上面运行** 。
13-
14- #### System emulation
15- 系统模式,在这个模式下,qemu 将模拟一个完整的计算机系统,包括外围设备。
16-
17- > 之后将分别为两种情况举例
18-
191## 安装 qemu
202
213### 使用包管理
@@ -245,18 +227,7 @@ pwndbg> target remote localhost:1234
245227
246228`-S` 让虚拟机停在启动的地方方便调试,类似于 pwntools 的 [gdb.debug()](http://docs.pwntools.com/en/stable/gdb.html?highlight=gdb.debug#pwnlib.gdb.debug)
247229
248- ## 设备模拟
249-
250- ## 内存分配
251-
252- ## Reference
253-
254- https://wiki.qemu.org/Main_Page
255-
256- https://qemu.weilnetz.de/doc/qemu-doc.html
257-
258- https://wiki.qemu.org/Documentation
259230
260- https://en.wikipedia.org/wiki/QEMU
231+ ## References
261232
262233https://www.ringzerolabs.com/2018/03/the-wonderful-world-of-mips.html
Original file line number Diff line number Diff line change 1+ ## 内存管理
2+
3+ ## 设备模拟
Original file line number Diff line number Diff line change 1+ ## 什么是 qemu
2+
3+ [ qemu] ( https://www.qemu.org/ ) 是一款由 [ Fabrice Bellard] ( https://bellard.org/ ) 等人编写的可以执行硬件虚拟化的开源托管虚拟机,具有运行速度快(配合 kvm),跨平台等优点。
4+
5+ qemu 通过动态的二进制转化模拟 CPU,并且提供一组设备模型,使其能够运行多种未修改的客户机OS。
6+
7+ 在 CTF 比赛中,qemu 多用于启动异架构的程序(mips, arm 等)、kernel 及 bootloader 等二进制程序,有时也会作为要 pwn 掉的程序出现。
8+
9+ ### 运行模式
10+
11+ qemu 有多种运行模式,常用的有 ` User-mode emulation ` 和 ` System emulation ` 两种。
12+
13+ #### User-mode emulation
14+ 用户模式,在这个模式下,qemu 可以运行单个其他指令集的 linux 或者 macOS/darwin 程序,** 允许了为一种架构编译的程序在另外一种架构上面运行** 。
15+
16+ #### System emulation
17+ 系统模式,在这个模式下,qemu 将模拟一个完整的计算机系统,包括外围设备。
18+
19+ > 之后将分别为两种情况举例
20+
21+ ## Reference
22+
23+ https://wiki.qemu.org/Main_Page
24+
25+ https://qemu.weilnetz.de/doc/qemu-doc.html
26+
27+ https://wiki.qemu.org/Documentation
28+
29+ https://en.wikipedia.org/wiki/QEMU
30+
Original file line number Diff line number Diff line change @@ -37,7 +37,10 @@ pages:
3737 - Instrumentation :
3838 - Intel pin : binary_core_tools/instrumentation/intel_pin.md
3939 - Virtualization :
40- - qemu : binary_core_tools/virtualization/qemu.md
40+ - qemu :
41+ - qemu 介绍 : binary_core_tools/virtualization/qemu/qemu-introduction.md
42+ - qemu 安装与调试 : binary_core_tools/virtualization/qemu/qemu-install-and-debug.md
43+ - qemu 细节 : binary_core_tools/virtualization/qemu/qemu-internals.md
4144 # - Windows Binary:
4245 # - Disassembler and Decomplier:
4346 # - IDA: windows_binary_related/disassembler_and_decomplier/ida.md
You can’t perform that action at this time.
0 commit comments