The offset of state component i can be found via CPUID.(EAX=0DH,ECX=i):EBX. The ZMM_Hi256 is state component 6, so we use CPUID to enumerate the offset instead of hardcoding. For core dumps, we guess the ZMM_Hi256 offset based on xcr0 and the length of xsave region. The logic comes from binutils-gdb. Fixes #3827. |
||
|---|---|---|
| .. | ||
| minidump | ||
| core_test.go | ||
| core.go | ||
| delve_core.go | ||
| linux_core.go | ||
| windows_amd64_minidump.go | ||