LLVM字节码分析器问题
我想知道为什么上的LLVM字节码分析器问题,llvm,bytecode,analyzer,Llvm,Bytecode,Analyzer,我想知道为什么上的llvm bcanalyzer帮助页面与我正在使用的当前v3.8之间存在如此多的不匹配。我已经用v3.0和v3.4检查了它们,没有一个是一致的 第二,显然,无论我通过什么选项,结果都是一样的 例如,这是v3.8上的可用选项: OVERVIEW: llvm-bcanalyzer file analyzer USAGE: llvm-bcanalyzer [options] <input bitcode> OPTIONS: General options: -
llvm bcanalyzer
帮助页面与我正在使用的当前v3.8之间存在如此多的不匹配。我已经用v3.0
和v3.4
检查了它们,没有一个是一致的
第二,显然,无论我通过什么选项,结果都是一样的
例如,这是v3.8
上的可用选项:
OVERVIEW: llvm-bcanalyzer file analyzer
USAGE: llvm-bcanalyzer [options] <input bitcode>
OPTIONS:
General options:
-block-info=<string> - Use the BLOCK_INFO from the given file
-disable-histogram - Do not print per-code histogram
-dump - Dump low level bitcode trace
-non-symbolic - Emit numeric info in dump even if symbolic info is available
-show-binary-blobs - Print binary blobs using hex escapes
Generic Options:
-help - Display available options (-help-hidden for more)
-help-list - Display list of available options (-help-list-hidden for more)
-version - Display the version of this program
概述:llvm bcanalyzer文件分析器
用法:llvm bcanalyzer[选项]
选项:
一般选择:
-块信息=-使用给定文件中的块信息
-禁用直方图-不按代码直方图打印
-转储-转储低级位码跟踪
-非符号-在转储中发出数字信息,即使符号信息可用
-显示二进制BLOB-使用十六进制转义打印二进制BLOB
通用选项:
-帮助-显示可用选项(-help hidden for more)
-帮助列表-显示可用选项的列表(-help list hidden for more)
-版本-显示此程序的版本
看,关于v3.4,实际上什么都没有:
llvm-bcanalyzer-3.0 llvm-bcanalyzer-3.4
ashouri@gbomb:~$ llvm-bcanalyzer-3.4 --help
OVERVIEW: llvm-bcanalyzer file analyzer
USAGE: llvm-bcanalyzer-3.4 [options] <input bitcode>
OPTIONS:
-asm-verbose - Add comments to directives.
-bounds-checking-single-trap - Use one trap block per function
-cppfname=<function name> - Specify the name of the generated function
-cppfor=<string> - Specify the name of the thing to generate
-cppgen - Choose what kind of output to generate
=program - Generate a complete program
=module - Generate a module definition
=contents - Generate contents of a module
=function - Generate a function definition
=functions - Generate all function definitions
=inline - Generate an inline function
=variable - Generate a variable definition
=type - Generate a type definition
-disable-debug-info-verifier -
-disable-histogram - Do not print per-code histogram
-disable-spill-fusing - Disable fusing of spill code into instructions
-dump - Dump low level bitcode trace
-enable-correct-eh-support - Make the -lowerinvoke pass insert expensive, but correct, EH code
-enable-load-pre -
-enable-objc-arc-opts - enable/disable all ARC Optimizations
-enable-tbaa -
-fatal-assembler-warnings - Consider warnings as error
-fdata-sections - Emit data into separate sections
...
llvm-bcanalyzer-3.0 llvm-bcanalyzer-3.4
ashouri@gbomb:~$llvm-bcanalyzer-3.4--帮助
概述:llvm bcanalyzer文件分析器
用法:llvm-bcanalyzer-3.4[选项]
选项:
-asm详细-向指令添加注释。
-边界检查单个陷阱-每个函数使用一个陷阱块
-cppfname=-指定生成函数的名称
-cppfor=-指定要生成的对象的名称
-cppgen-选择要生成的输出类型
=程序-生成完整的程序
=模块-生成模块定义
=内容-生成模块的内容
=函数-生成函数定义
=函数-生成所有函数定义
=内联-生成内联函数
=变量-生成变量定义
=类型-生成类型定义
-禁用调试信息验证程序-
-禁用直方图-不按代码直方图打印
-禁用溢出融合-禁用将溢出代码融合到指令中
-转储-转储低级位码跟踪
-启用正确的eh支持-使-lowerinvoke密码插入昂贵但正确的eh代码
-启用预加载-
-启用objc arc选项-启用/禁用所有arc优化
-启用tbaa-
-致命的汇编程序警告-将警告视为错误
-fdata节-将数据发射到单独的节中
...
这两个和网站上的不一样
我想得到写在屏幕上的输出。有人能帮我吗?这些信息可能对我很有价值