本文整理了Java中soot.options.Options.keep_offset()
方法的一些代码示例,展示了Options.keep_offset()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Options.keep_offset()
方法的具体详情如下:
包路径:soot.options.Options
类名称:Options
方法名:keep_offset
暂无
代码示例来源:origin: Sable/soot
/**
* Tag the passed host with: - this instructions line number (if one is set) - the original bytecode offset
*
* @param host
* the host to tag
*/
protected void addTags(Host host) {
Options options = Options.v();
if (options.keep_line_number() && lineNumber != -1) {
host.addTag(new LineNumberTag(lineNumber));
host.addTag(new SourceLineNumberTag(lineNumber));
}
if (options.keep_offset()) {
host.addTag(new BytecodeOffsetTag(codeAddress));
}
}
代码示例来源:origin: Sable/soot
if (Options.v().keep_offset()) {
stmt.addTag(new BytecodeOffsetTag(ins.label));
代码示例来源:origin: ibinti/bugvm
if (Options.v().keep_offset()) {
stmt.addTag(new BytecodeOffsetTag(ins.label));
代码示例来源:origin: com.bugvm/bugvm-soot
if (Options.v().keep_offset()) {
stmt.addTag(new BytecodeOffsetTag(ins.label));
内容来源于网络,如有侵权,请联系作者删除!