Skip to content

Instantly share code, notes, and snippets.

@623637646
Created September 19, 2020 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 623637646/9bafe4514f2eac7d5fdc547fc4033003 to your computer and use it in GitHub Desktop.
Save 623637646/9bafe4514f2eac7d5fdc547fc4033003 to your computer and use it in GitHub Desktop.
插桩
插桩技术
插桩技术是指将额外的代码注入程序中以收集运行时的信息,可分为两种:
(1)源代码插桩[Source Code Instrumentation(SCI)]:额外代码注入到程序源代码中。
(2)二进制插桩(Binary Instrumentation):额外代码注入到二进制可执行文件中。
●静态二进制插桩[Static Binary Instrumentation(SBI)]:在程序执行前插入额外的代码和数据,生成一个永久改变的可执行文件。
●动态二进制插桩[Dynamic Binary Instrumentation(DBI)]:在程序运行时实时地插入额外代码和数据,对可执行文件没有任何永久改变。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment