#NEWLINE# @ lock_host #NEWLINE# def disassembly_flavor( self ) : #NEWLINE# #INDENT# "\n            Return the disassembly flavor setting for the debugger.\n\n            Returns 'intel' or 'att'\n            " #NEWLINE# res = lldb . SBCommandReturnObject ( ) #NEWLINE# ci = self . host . GetCommandInterpreter ( ) #NEWLINE# ci . HandleCommand ( 'settings show target.x86-disassembly-flavor' , res ) #NEWLINE# if res . Succeeded ( ) : #NEWLINE# #INDENT# output = res . GetOutput ( ) . strip ( ) #NEWLINE# flavor = output . split ( ) [ ( - 1 ) ] #NEWLINE# if ( flavor == 'default' ) : #NEWLINE# #INDENT# flavor = 'att' #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# raise Exception ( res . GetError ( ) . strip ( ) ) #NEWLINE# #UNINDENT# return flavor