一个基于Eclipse的通用Java程序插桩工具_郑晓梅
38 7 Vol.38 No.7
20 11 7 Computer Science July 2011
Eclipse Java
(南京中医药大学信息技术学院 南京210046)
(南京大学计算机软件新技术国家重点实验室 南京210093)
插桩技术作为一种有效理解程序动态行为的手段, 已经被广泛应用于程序分析、测 和验证中。 然而, 由于
缺少通用的插桩工具, 各种具体的应用往往需要从头开发特定的插桩程序, 存在着大量的重复性工作。 此外, 由于在
原始程序中插入了大量额外代码, 致使调 过程变得更加复杂和困难。 针对这些问题, 提出了一个基于 Eclipse 的通
用J v 代码插桩工具, 即通过规则定义匹配程序的执行点, 从而定制针对各种分析、测 和验证插桩需求的支持。 通
过对插桩代码片段的显式/ 隐式切换实现其可见性管理, 从而确保程序的理解和调 过程不受插桩代码影响。 通过使
用该工具, 可以更好地将插桩技术应用于 J v 程序开发中。
程序插桩, J v , Eclipse 插件
General Java Program Instrumentation Tool Based on Eclipse
Z HENG Xi o-mei
(School of Inform tion T ech nology, N njing University of Chinese Medicine, N njing 210046, Chin )
(St te Key L b or tory for Novel Softw re T echnology, N njing University, N njing 210093, Chin )
Abstract Progr m instrument tion technique h s been w idely used in progr m n ly sis, testing nd verific tion s n
effective method for underst nding the dyn mic inform tion of progr ms.However, for the bsence of gener l inst ru-
ment tion tools, different pplic tions need to recre te the specific tool meeting their requirements, hence w sting time
nd energy .In ddition, the debugging processes become more nd more complic ted bec use of the instrumented code
inside the origin l progr m.T o solve such problems, the p per presented gener l instrument tion tool b sed on Eclipse
for J v progr m.By defining the rules to m tch the execute points of progr m, specific instrument tion tool could be
customized to meet the different requirements of J v progr m n lysis, testing nd verific tion.By switching betw een
visibility nd non-visibility of the instrumented code, users of our tool c n' t be distu
本文发布于:2024-01-28 11:00:42,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/17064108476946.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |