堆栈溢出调试-gdb-例子.pptVIP

  • 59
  • 0
  • 约5.98千字
  • 约 16页
  • 2016-12-06 发布于湖北
  • 举报
堆栈溢出调试-gdb-例子

CAP6135: Malware and Software Vulnerability Analysis Buffer Overflow : Example of Using GDB to Check Stack Memory Cliff Zou Spring 2011 * A Stack Frame Parameters Return Address Calling Stack Pointer Local VariablesAddresses SP SP+offset SP: stack pointer BP: base/frame pointer Calling stack pointer: previous function’s SP BP Using GDB to Check Stack GDB tutorial: /library/mac/#documentation/developertools/gdb/gdb/gdb_toc.html /TUTORIALS/GDB-Commands.html#GDB_COMMAND_LINE_ARGS When compile the c code, use “gcc –g …..” so that Gdb can match source code line number with code So

文档评论(0)

1亿VIP精品文档

相关文档