const UNW_FLAG_EHANDLER … const UNW_FLAG_UHANDLER … const UNW_FLAG_CHAININFO … const unwStaticDataSize … const unwCodeSize … // processSEH walks all pdata relocations looking for exception handler function symbols. // We want to mark these as reachable if the function that they protect is reachable // in the final binary. func processSEH(ldr *loader.Loader, arch *sys.Arch, pdata sym.LoaderSym, xdata sym.LoaderSym) error { … } func processSEHAMD64(ldr *loader.Loader, pdata sym.LoaderSym) error { … } // findHandlerInXDataAMD64 finds the symbol in the .xdata section that // corresponds to the exception handler. // Reference: // https://learn.microsoft.com/en-us/cpp/build/exception-handling-x64#struct-unwind_info func findHandlerInXDataAMD64(ldr *loader.Loader, xsym sym.LoaderSym, add int64) loader.Sym { … }