github.com/undoio/delve@v1.9.0/pkg/dwarf/frame/expression_constants.go (about)

     1  package frame
     2  
     3  // Operation opcodes
     4  const (
     5  	DW_OP_addr    = 0x03
     6  	DW_OP_const1s = 0x09
     7  )
     8  
     9  const (
    10  	DW_OP_const2u = 0x0a
    11  	DW_OP_const2s = 0x0b
    12  	DW_OP_const4u = iota
    13  	DW_OP_const4s
    14  	DW_OP_const8u
    15  	DW_OP_const8s
    16  	DW_OP_constu
    17  	DW_OP_consts
    18  	DW_OP_dup
    19  	DW_OP_drop
    20  	DW_OP_over
    21  	DW_OP_pick
    22  	DW_OP_swap
    23  	DW_OP_rot
    24  	DW_OP_xderef
    25  	DW_OP_abs
    26  	DW_OP_and
    27  	DW_OP_div
    28  	DW_OP_minus
    29  	DW_OP_mod
    30  	DW_OP_mul
    31  	DW_OP_neg
    32  	DW_OP_not
    33  	DW_OP_or
    34  	DW_OP_plus
    35  	DW_OP_plus_uconst
    36  	DW_OP_shl
    37  	DW_OP_shr
    38  	DW_OP_shra
    39  	DW_OP_xor
    40  	DW_OP_skip
    41  	DW_OP_bra
    42  	DW_OP_eq
    43  	DW_OP_ge
    44  	DW_OP_gt
    45  	DW_OP_le
    46  	DW_OP_lt
    47  	DW_OP_ne
    48  )
    49  
    50  const (
    51  	DW_OP_lit0 = 0x30
    52  	DW_OP_lit1 = 0x31
    53  	DW_OP_lit2 = iota
    54  	DW_OP_lit3
    55  	DW_OP_lit4
    56  	DW_OP_lit5
    57  	DW_OP_lit6
    58  	DW_OP_lit7
    59  	DW_OP_lit8
    60  	DW_OP_lit9
    61  	DW_OP_lit10
    62  	DW_OP_lit11
    63  	DW_OP_lit12
    64  	DW_OP_lit13
    65  	DW_OP_lit14
    66  	DW_OP_lit15
    67  	DW_OP_lit16
    68  	DW_OP_lit17
    69  	DW_OP_lit18
    70  	DW_OP_lit19
    71  	DW_OP_lit20
    72  	DW_OP_lit21
    73  	DW_OP_lit22
    74  	DW_OP_lit23
    75  	DW_OP_lit24
    76  	DW_OP_lit25
    77  	DW_OP_lit26
    78  	DW_OP_lit27
    79  	DW_OP_lit28
    80  	DW_OP_lit29
    81  	DW_OP_lit30
    82  	DW_OP_lit31
    83  	DW_OP_reg0
    84  	DW_OP_reg1
    85  	DW_OP_reg2
    86  	DW_OP_reg3
    87  	DW_OP_reg4
    88  	DW_OP_reg5
    89  	DW_OP_reg6
    90  	DW_OP_reg7
    91  	DW_OP_reg8
    92  	DW_OP_reg9
    93  	DW_OP_reg10
    94  	DW_OP_reg11
    95  	DW_OP_reg12
    96  	DW_OP_reg13
    97  	DW_OP_reg14
    98  	DW_OP_reg15
    99  	DW_OP_reg16
   100  	DW_OP_reg17
   101  	DW_OP_reg18
   102  	DW_OP_reg19
   103  	DW_OP_reg20
   104  	DW_OP_reg21
   105  	DW_OP_reg22
   106  	DW_OP_reg23
   107  	DW_OP_reg24
   108  	DW_OP_reg25
   109  	DW_OP_reg26
   110  	DW_OP_reg27
   111  	DW_OP_reg28
   112  	DW_OP_reg29
   113  	DW_OP_reg30
   114  	DW_OP_reg31
   115  	DW_OP_breg0
   116  	DW_OP_breg1
   117  	DW_OP_breg2
   118  	DW_OP_breg3
   119  	DW_OP_breg4
   120  	DW_OP_breg5
   121  	DW_OP_breg6
   122  	DW_OP_breg7
   123  	DW_OP_breg8
   124  	DW_OP_breg9
   125  	DW_OP_breg10
   126  	DW_OP_breg11
   127  	DW_OP_breg12
   128  	DW_OP_breg13
   129  	DW_OP_breg14
   130  	DW_OP_breg15
   131  	DW_OP_breg16
   132  	DW_OP_breg17
   133  	DW_OP_breg18
   134  	DW_OP_breg19
   135  	DW_OP_breg20
   136  	DW_OP_breg21
   137  	DW_OP_breg22
   138  	DW_OP_breg23
   139  	DW_OP_breg24
   140  	DW_OP_breg25
   141  	DW_OP_breg26
   142  	DW_OP_breg27
   143  	DW_OP_breg28
   144  	DW_OP_breg29
   145  	DW_OP_breg30
   146  	DW_OP_breg31
   147  	DW_OP_regx
   148  	DW_OP_fbreg
   149  	DW_OP_bregx
   150  	DW_OP_piece
   151  	DW_OP_deref_size
   152  	DW_OP_xderef_size
   153  	DW_OP_nop
   154  	DW_OP_push_object_address
   155  	DW_OP_call2
   156  	DW_OP_call4
   157  	DW_OP_call_ref
   158  	DW_OP_form_tls_address
   159  	DW_OP_call_frame_cfa
   160  	DW_OP_bit_piece
   161  
   162  	DW_OP_lo_user = 0xe0
   163  	DW_OP_hi_user = 0xff
   164  )