问题描述
是否有一种方法可以像LLDB中的GDB中那样设置反汇编样式,以使其散发出Intel样式的汇编而不是AT& T样式?
Is there a way to set the disassembly flavour like there is in GDB within LLDB so that it spits out Intel style assembly rather than AT&T style?
set disassembly-flavor intel # GDB
但适用于LLDB.
推荐答案
否,尚未.我确定英特尔格式反汇编功能将最终实现,但是我认为今天没有人在为此工作.
No, not yet. Intel format disassembly is a feature I'm sure will be implemented eventually, but I don't think anyone is working on it today.
更新:选择装配样式的功能已添加到树源的顶部(v. http://lldb.llvm.org ),并在2013年3月1日使用-F
或--flavor
选项进行反汇编,或者在~/.lldbinit
文件中使用target.x86-disassembly-flavor
设置.这将在Xcode的lldb的将来版本中提供.
UPDATE: the ability to select the assembly style was added to the top of tree sources (v. http://lldb.llvm.org ) March 1st, 2013 with the -F
or --flavor
option to disassemble or the target.x86-disassembly-flavor
setting in your ~/.lldbinit
file. This will be available in future releases of lldb in Xcode.
这篇关于在LLDB中为Intel设置反汇编风格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!