gitlab.com/Raven-IO/raven-delve@v1.22.4/pkg/proc/native/syscall_windows_arm64.go (about)

     1  package native
     2  
     3  import "gitlab.com/Raven-IO/raven-delve/pkg/proc/winutil"
     4  
     5  const (
     6  	_CONTEXT_ARM64               = 0x00400000
     7  	_CONTEXT_CONTROL             = (_CONTEXT_ARM64 | 0x1)
     8  	_CONTEXT_INTEGER             = (_CONTEXT_ARM64 | 0x2)
     9  	_CONTEXT_FLOATING_POINT      = (_CONTEXT_ARM64 | 0x4)
    10  	_CONTEXT_DEBUG_REGISTERS     = (_CONTEXT_ARM64 | 0x8)
    11  	_CONTEXT_ARM64_X18           = (_CONTEXT_ARM64 | 0x10)
    12  	_CONTEXT_FULL                = (_CONTEXT_CONTROL | _CONTEXT_INTEGER | _CONTEXT_FLOATING_POINT)
    13  	_CONTEXT_ALL                 = (_CONTEXT_CONTROL | _CONTEXT_INTEGER | _CONTEXT_FLOATING_POINT | _CONTEXT_DEBUG_REGISTERS | _CONTEXT_ARM64_X18)
    14  	_CONTEXT_EXCEPTION_ACTIVE    = 0x8000000
    15  	_CONTEXT_SERVICE_ACTIVE      = 0x10000000
    16  	_CONTEXT_EXCEPTION_REQUEST   = 0x40000000
    17  	_CONTEXT_EXCEPTION_REPORTING = 0x80000000
    18  )
    19  
    20  // zsyscall_windows.go, an autogenerated file, wants to refer to the context
    21  // structure as _CONTEXT, but we need to have it in pkg/proc/winutil.CONTEXT
    22  // because it's also used on non-windows operating systems.
    23  type _CONTEXT = winutil.ARM64CONTEXT