Class DWARFExpressionOpCodes
- java.lang.Object
- 
- ghidra.app.util.bin.format.dwarf4.expression.DWARFExpressionOpCodes
 
- 
 public class DWARFExpressionOpCodes extends java.lang.ObjectDWARF expression opcode consts from www.dwarfstd.org/doc/DWARF4.pdf
- 
- 
Field SummaryFields Modifier and Type Field Description static DWARFExpressionOperandType[]BLOBONLY_OPERANDTYPESstatic intDW_OP_absstatic intDW_OP_addrstatic intDW_OP_andstatic intDW_OP_bit_piecestatic intDW_OP_brastatic intDW_OP_breg0static intDW_OP_breg1static intDW_OP_breg10static intDW_OP_breg11static intDW_OP_breg12static intDW_OP_breg13static intDW_OP_breg14static intDW_OP_breg15static intDW_OP_breg16static intDW_OP_breg17static intDW_OP_breg18static intDW_OP_breg19static intDW_OP_breg2static intDW_OP_breg20static intDW_OP_breg21static intDW_OP_breg22static intDW_OP_breg23static intDW_OP_breg24static intDW_OP_breg25static intDW_OP_breg26static intDW_OP_breg27static intDW_OP_breg28static intDW_OP_breg29static intDW_OP_breg3static intDW_OP_breg30static intDW_OP_breg31static intDW_OP_breg4static intDW_OP_breg5static intDW_OP_breg6static intDW_OP_breg7static intDW_OP_breg8static intDW_OP_breg9static intDW_OP_bregxstatic intDW_OP_call_frame_cfastatic intDW_OP_call_refstatic intDW_OP_call2static intDW_OP_call4static intDW_OP_const1sstatic intDW_OP_const1ustatic intDW_OP_const2sstatic intDW_OP_const2ustatic intDW_OP_const4sstatic intDW_OP_const4ustatic intDW_OP_const8sstatic intDW_OP_const8ustatic intDW_OP_constsstatic intDW_OP_constustatic intDW_OP_derefstatic intDW_OP_deref_sizestatic intDW_OP_divstatic intDW_OP_dropstatic intDW_OP_dupstatic intDW_OP_eqstatic intDW_OP_fbregstatic intDW_OP_form_tls_addressstatic intDW_OP_gestatic intDW_OP_gtstatic intDW_OP_hi_userstatic intDW_OP_implicit_valuestatic intDW_OP_lestatic intDW_OP_lit0static intDW_OP_lit1static intDW_OP_lit10static intDW_OP_lit11static intDW_OP_lit12static intDW_OP_lit13static intDW_OP_lit14static intDW_OP_lit15static intDW_OP_lit16static intDW_OP_lit17static intDW_OP_lit18static intDW_OP_lit19static intDW_OP_lit2static intDW_OP_lit20static intDW_OP_lit21static intDW_OP_lit22static intDW_OP_lit23static intDW_OP_lit24static intDW_OP_lit25static intDW_OP_lit26static intDW_OP_lit27static intDW_OP_lit28static intDW_OP_lit29static intDW_OP_lit3static intDW_OP_lit30static intDW_OP_lit31static intDW_OP_lit4static intDW_OP_lit5static intDW_OP_lit6static intDW_OP_lit7static intDW_OP_lit8static intDW_OP_lit9static intDW_OP_lo_userstatic intDW_OP_ltstatic intDW_OP_minusstatic intDW_OP_modstatic intDW_OP_mulstatic intDW_OP_nestatic intDW_OP_negstatic intDW_OP_nopstatic intDW_OP_notstatic intDW_OP_orstatic intDW_OP_overstatic intDW_OP_pickstatic intDW_OP_piecestatic intDW_OP_plusstatic intDW_OP_plus_uconststatic intDW_OP_push_object_addressstatic intDW_OP_reg0static intDW_OP_reg1static intDW_OP_reg10static intDW_OP_reg11static intDW_OP_reg12static intDW_OP_reg13static intDW_OP_reg14static intDW_OP_reg15static intDW_OP_reg16static intDW_OP_reg17static intDW_OP_reg18static intDW_OP_reg19static intDW_OP_reg2static intDW_OP_reg20static intDW_OP_reg21static intDW_OP_reg22static intDW_OP_reg23static intDW_OP_reg24static intDW_OP_reg25static intDW_OP_reg26static intDW_OP_reg27static intDW_OP_reg28static intDW_OP_reg29static intDW_OP_reg3static intDW_OP_reg30static intDW_OP_reg31static intDW_OP_reg4static intDW_OP_reg5static intDW_OP_reg6static intDW_OP_reg7static intDW_OP_reg8static intDW_OP_reg9static intDW_OP_regxstatic intDW_OP_rotstatic intDW_OP_shlstatic intDW_OP_shrstatic intDW_OP_shrastatic intDW_OP_skipstatic intDW_OP_stack_valuestatic intDW_OP_swapstatic intDW_OP_xderefstatic intDW_OP_xderef_sizestatic intDW_OP_xorstatic DWARFExpressionOperandType[]EMPTY_OPERANDTYPESstatic java.util.Set<java.lang.Integer>UNSUPPORTED_OPCODESThese opcodes are known, but can not be evaluated in the current Ghidra DWARF code.static int[]UNSUPPORTED_OPCODES_LISTThese opcodes are known, but can not be evaluated in the current Ghidra DWARF code
 - 
Constructor SummaryConstructors Constructor Description DWARFExpressionOpCodes()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static DWARFExpressionOperandType[]getOperandTypesFor(int opcode)static booleanisValidOpcode(int opcode)static java.lang.StringtoString(int opcode)
 
- 
- 
- 
Field Detail- 
DW_OP_addrpublic static final int DW_OP_addr - See Also:
- Constant Field Values
 
 - 
DW_OP_derefpublic static final int DW_OP_deref - See Also:
- Constant Field Values
 
 - 
DW_OP_const1upublic static final int DW_OP_const1u - See Also:
- Constant Field Values
 
 - 
DW_OP_const1spublic static final int DW_OP_const1s - See Also:
- Constant Field Values
 
 - 
DW_OP_const2upublic static final int DW_OP_const2u - See Also:
- Constant Field Values
 
 - 
DW_OP_const2spublic static final int DW_OP_const2s - See Also:
- Constant Field Values
 
 - 
DW_OP_const4upublic static final int DW_OP_const4u - See Also:
- Constant Field Values
 
 - 
DW_OP_const4spublic static final int DW_OP_const4s - See Also:
- Constant Field Values
 
 - 
DW_OP_const8upublic static final int DW_OP_const8u - See Also:
- Constant Field Values
 
 - 
DW_OP_const8spublic static final int DW_OP_const8s - See Also:
- Constant Field Values
 
 - 
DW_OP_constupublic static final int DW_OP_constu - See Also:
- Constant Field Values
 
 - 
DW_OP_constspublic static final int DW_OP_consts - See Also:
- Constant Field Values
 
 - 
DW_OP_duppublic static final int DW_OP_dup - See Also:
- Constant Field Values
 
 - 
DW_OP_droppublic static final int DW_OP_drop - See Also:
- Constant Field Values
 
 - 
DW_OP_overpublic static final int DW_OP_over - See Also:
- Constant Field Values
 
 - 
DW_OP_pickpublic static final int DW_OP_pick - See Also:
- Constant Field Values
 
 - 
DW_OP_swappublic static final int DW_OP_swap - See Also:
- Constant Field Values
 
 - 
DW_OP_rotpublic static final int DW_OP_rot - See Also:
- Constant Field Values
 
 - 
DW_OP_xderefpublic static final int DW_OP_xderef - See Also:
- Constant Field Values
 
 - 
DW_OP_abspublic static final int DW_OP_abs - See Also:
- Constant Field Values
 
 - 
DW_OP_andpublic static final int DW_OP_and - See Also:
- Constant Field Values
 
 - 
DW_OP_divpublic static final int DW_OP_div - See Also:
- Constant Field Values
 
 - 
DW_OP_minuspublic static final int DW_OP_minus - See Also:
- Constant Field Values
 
 - 
DW_OP_modpublic static final int DW_OP_mod - See Also:
- Constant Field Values
 
 - 
DW_OP_mulpublic static final int DW_OP_mul - See Also:
- Constant Field Values
 
 - 
DW_OP_negpublic static final int DW_OP_neg - See Also:
- Constant Field Values
 
 - 
DW_OP_notpublic static final int DW_OP_not - See Also:
- Constant Field Values
 
 - 
DW_OP_orpublic static final int DW_OP_or - See Also:
- Constant Field Values
 
 - 
DW_OP_pluspublic static final int DW_OP_plus - See Also:
- Constant Field Values
 
 - 
DW_OP_plus_uconstpublic static final int DW_OP_plus_uconst - See Also:
- Constant Field Values
 
 - 
DW_OP_shlpublic static final int DW_OP_shl - See Also:
- Constant Field Values
 
 - 
DW_OP_shrpublic static final int DW_OP_shr - See Also:
- Constant Field Values
 
 - 
DW_OP_shrapublic static final int DW_OP_shra - See Also:
- Constant Field Values
 
 - 
DW_OP_xorpublic static final int DW_OP_xor - See Also:
- Constant Field Values
 
 - 
DW_OP_brapublic static final int DW_OP_bra - See Also:
- Constant Field Values
 
 - 
DW_OP_eqpublic static final int DW_OP_eq - See Also:
- Constant Field Values
 
 - 
DW_OP_gepublic static final int DW_OP_ge - See Also:
- Constant Field Values
 
 - 
DW_OP_gtpublic static final int DW_OP_gt - See Also:
- Constant Field Values
 
 - 
DW_OP_lepublic static final int DW_OP_le - See Also:
- Constant Field Values
 
 - 
DW_OP_ltpublic static final int DW_OP_lt - See Also:
- Constant Field Values
 
 - 
DW_OP_nepublic static final int DW_OP_ne - See Also:
- Constant Field Values
 
 - 
DW_OP_skippublic static final int DW_OP_skip - See Also:
- Constant Field Values
 
 - 
DW_OP_lit0public static final int DW_OP_lit0 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit1public static final int DW_OP_lit1 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit2public static final int DW_OP_lit2 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit3public static final int DW_OP_lit3 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit4public static final int DW_OP_lit4 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit5public static final int DW_OP_lit5 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit6public static final int DW_OP_lit6 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit7public static final int DW_OP_lit7 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit8public static final int DW_OP_lit8 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit9public static final int DW_OP_lit9 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit10public static final int DW_OP_lit10 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit11public static final int DW_OP_lit11 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit12public static final int DW_OP_lit12 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit13public static final int DW_OP_lit13 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit14public static final int DW_OP_lit14 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit15public static final int DW_OP_lit15 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit16public static final int DW_OP_lit16 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit17public static final int DW_OP_lit17 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit18public static final int DW_OP_lit18 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit19public static final int DW_OP_lit19 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit20public static final int DW_OP_lit20 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit21public static final int DW_OP_lit21 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit22public static final int DW_OP_lit22 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit23public static final int DW_OP_lit23 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit24public static final int DW_OP_lit24 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit25public static final int DW_OP_lit25 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit26public static final int DW_OP_lit26 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit27public static final int DW_OP_lit27 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit28public static final int DW_OP_lit28 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit29public static final int DW_OP_lit29 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit30public static final int DW_OP_lit30 - See Also:
- Constant Field Values
 
 - 
DW_OP_lit31public static final int DW_OP_lit31 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg0public static final int DW_OP_reg0 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg1public static final int DW_OP_reg1 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg2public static final int DW_OP_reg2 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg3public static final int DW_OP_reg3 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg4public static final int DW_OP_reg4 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg5public static final int DW_OP_reg5 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg6public static final int DW_OP_reg6 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg7public static final int DW_OP_reg7 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg8public static final int DW_OP_reg8 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg9public static final int DW_OP_reg9 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg10public static final int DW_OP_reg10 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg11public static final int DW_OP_reg11 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg12public static final int DW_OP_reg12 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg13public static final int DW_OP_reg13 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg14public static final int DW_OP_reg14 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg15public static final int DW_OP_reg15 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg16public static final int DW_OP_reg16 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg17public static final int DW_OP_reg17 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg18public static final int DW_OP_reg18 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg19public static final int DW_OP_reg19 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg20public static final int DW_OP_reg20 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg21public static final int DW_OP_reg21 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg22public static final int DW_OP_reg22 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg23public static final int DW_OP_reg23 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg24public static final int DW_OP_reg24 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg25public static final int DW_OP_reg25 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg26public static final int DW_OP_reg26 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg27public static final int DW_OP_reg27 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg28public static final int DW_OP_reg28 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg29public static final int DW_OP_reg29 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg30public static final int DW_OP_reg30 - See Also:
- Constant Field Values
 
 - 
DW_OP_reg31public static final int DW_OP_reg31 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg0public static final int DW_OP_breg0 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg1public static final int DW_OP_breg1 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg2public static final int DW_OP_breg2 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg3public static final int DW_OP_breg3 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg4public static final int DW_OP_breg4 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg5public static final int DW_OP_breg5 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg6public static final int DW_OP_breg6 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg7public static final int DW_OP_breg7 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg8public static final int DW_OP_breg8 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg9public static final int DW_OP_breg9 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg10public static final int DW_OP_breg10 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg11public static final int DW_OP_breg11 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg12public static final int DW_OP_breg12 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg13public static final int DW_OP_breg13 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg14public static final int DW_OP_breg14 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg15public static final int DW_OP_breg15 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg16public static final int DW_OP_breg16 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg17public static final int DW_OP_breg17 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg18public static final int DW_OP_breg18 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg19public static final int DW_OP_breg19 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg20public static final int DW_OP_breg20 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg21public static final int DW_OP_breg21 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg22public static final int DW_OP_breg22 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg23public static final int DW_OP_breg23 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg24public static final int DW_OP_breg24 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg25public static final int DW_OP_breg25 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg26public static final int DW_OP_breg26 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg27public static final int DW_OP_breg27 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg28public static final int DW_OP_breg28 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg29public static final int DW_OP_breg29 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg30public static final int DW_OP_breg30 - See Also:
- Constant Field Values
 
 - 
DW_OP_breg31public static final int DW_OP_breg31 - See Also:
- Constant Field Values
 
 - 
DW_OP_regxpublic static final int DW_OP_regx - See Also:
- Constant Field Values
 
 - 
DW_OP_fbregpublic static final int DW_OP_fbreg - See Also:
- Constant Field Values
 
 - 
DW_OP_bregxpublic static final int DW_OP_bregx - See Also:
- Constant Field Values
 
 - 
DW_OP_piecepublic static final int DW_OP_piece - See Also:
- Constant Field Values
 
 - 
DW_OP_deref_sizepublic static final int DW_OP_deref_size - See Also:
- Constant Field Values
 
 - 
DW_OP_xderef_sizepublic static final int DW_OP_xderef_size - See Also:
- Constant Field Values
 
 - 
DW_OP_noppublic static final int DW_OP_nop - See Also:
- Constant Field Values
 
 - 
DW_OP_push_object_addresspublic static final int DW_OP_push_object_address - See Also:
- Constant Field Values
 
 - 
DW_OP_call2public static final int DW_OP_call2 - See Also:
- Constant Field Values
 
 - 
DW_OP_call4public static final int DW_OP_call4 - See Also:
- Constant Field Values
 
 - 
DW_OP_call_refpublic static final int DW_OP_call_ref - See Also:
- Constant Field Values
 
 - 
DW_OP_form_tls_addresspublic static final int DW_OP_form_tls_address - See Also:
- Constant Field Values
 
 - 
DW_OP_call_frame_cfapublic static final int DW_OP_call_frame_cfa - See Also:
- Constant Field Values
 
 - 
DW_OP_bit_piecepublic static final int DW_OP_bit_piece - See Also:
- Constant Field Values
 
 - 
DW_OP_implicit_valuepublic static final int DW_OP_implicit_value - See Also:
- Constant Field Values
 
 - 
DW_OP_stack_valuepublic static final int DW_OP_stack_value - See Also:
- Constant Field Values
 
 - 
DW_OP_lo_userpublic static final int DW_OP_lo_user - See Also:
- Constant Field Values
 
 - 
DW_OP_hi_userpublic static final int DW_OP_hi_user - See Also:
- Constant Field Values
 
 - 
UNSUPPORTED_OPCODES_LISTpublic static final int[] UNSUPPORTED_OPCODES_LIST These opcodes are known, but can not be evaluated in the current Ghidra DWARF code
 - 
UNSUPPORTED_OPCODESpublic static final java.util.Set<java.lang.Integer> UNSUPPORTED_OPCODES These opcodes are known, but can not be evaluated in the current Ghidra DWARF code.
 - 
EMPTY_OPERANDTYPESpublic static final DWARFExpressionOperandType[] EMPTY_OPERANDTYPES 
 - 
BLOBONLY_OPERANDTYPESpublic static final DWARFExpressionOperandType[] BLOBONLY_OPERANDTYPES 
 
- 
 - 
Method Detail- 
isValidOpcodepublic static boolean isValidOpcode(int opcode) 
 - 
getOperandTypesForpublic static DWARFExpressionOperandType[] getOperandTypesFor(int opcode) 
 - 
toStringpublic static java.lang.String toString(int opcode) 
 
- 
 
-