gpt4 book ai didi

intel-pin - intel pin工具中图像的含义

转载 作者:行者123 更新时间:2023-12-02 21:03:39 29 4
gpt4 key购买 nike

我是Intel pin工具的新手,最近开始研究pin工具。在教程中,描述了pin工具的模式:

Sometimes, however, it can be useful to look at different granularity than a trace. For this purpose Pin offers two additional modes: image and routine instrumentation. These modes are implemented by "caching" instrumentation requests and hence incur a space overhead, these modes are also referred to as ahead-of-time instrumentation.

我想知道“图像”是什么意思。

谢谢。

最佳答案

您可以在“IMG”对象的文档中了解有关图像的更多详细信息:https://software.intel.com/sites/landingpage/pintool/docs/71313/Pin/html/group__IMG__BASIC__API.html

An IMG represents all the data structures corresponding to a binary (executable). Can be accessed at instrumentation time and analysis time. Note: Shared libraries are also represented by the IMG abstraction. Moreover, the IMG objects are created in a lazy fashion. Only if a shared library is loaded and IMG is created. Over the lifetime of a process the number IMG objects created may hence increase. APIs from this group are available in any thread, including any internal thread spawned by the tool.

您可以看到图像代表一个二进制文件(可执行文件)...其中包含部分(例如.text)...其中包含例程...等

关于intel-pin - intel pin工具中图像的含义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37106369/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com