> For the complete documentation index, see [llms.txt](https://firmianay.gitbook.io/ctf-all-in-one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://firmianay.gitbook.io/ctf-all-in-one/4_tips.md).

# 四、技巧篇

* [4.1 Linux 内核调试](/ctf-all-in-one/4_tips/4.1_linux_kernel_debug.md)
* [4.2 Linux 命令行技巧](/ctf-all-in-one/4_tips/4.2_linux_terminal_tips.md)
* [4.3 GCC 编译参数解析](/ctf-all-in-one/4_tips/4.3_gcc_arg.md)
* [4.4 GCC 堆栈保护技术](/ctf-all-in-one/4_tips/4.4_gcc_sec.md)
* [4.5 ROP 防御技术](/ctf-all-in-one/4_tips/4.5_defense_rop.md)
* [4.6 one-gadget RCE](/ctf-all-in-one/4_tips/4.6_one-gadget_rce.md)
* [4.7 通用 gadget](/ctf-all-in-one/4_tips/4.7_common_gadget.md)
* [4.8 使用 DynELF 泄露函数地址](/ctf-all-in-one/4_tips/4.8_dynelf.md)
* [4.9 shellcode 开发](/ctf-all-in-one/4_tips/4.9_shellcode.md)
* [4.10 跳转导向编程（JOP）](/ctf-all-in-one/4_tips/4.10_jop.md)
* [4.11 利用 mprotect 修改栈权限](/ctf-all-in-one/4_tips/4.11_mprotect.md)
* [4.12 利用 \_\_stack\_chk\_fail](/ctf-all-in-one/4_tips/4.12_stack_chk_fail.md)
* [4.13 利用 \_IO\_FILE 结构](/ctf-all-in-one/4_tips/4.13_io_file.md)
* [4.14 glibc tcache 机制](/ctf-all-in-one/4_tips/4.14_glibc_tcache.md)
* [4.15 利用 vsyscall 和 vDSO](/ctf-all-in-one/4_tips/4.15_vsyscall_vdso.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://firmianay.gitbook.io/ctf-all-in-one/4_tips.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
