Introspelliam/Introspelliam.github.io

格式化字符串 | Introspelliam

Opened this issue · 0 comments

https://introspelliam.github.io/2017/08/04/pwn/%E6%A0%BC%E5%BC%8F%E5%8C%96%E5%AD%97%E7%AC%A6%E4%B8%B2/

  1. 格式化字符串定义格式化字符串,是一些程序设计语言在格式化输出API函数中用于指定输出参数的格式与相对位置的字符串参数,例如C、C++等程序设计语言的printf类函数,其中的转换说明(conversion specification)用于把随后对应的0个或多个函数参数转换为相应的格式输出;格式化字符串中转换说明以外的其它字符原样输出。 2. POSIX标准下的printf函数2.1 格式化占