Update has_stackwalk

This commit is contained in:
Jeremy 2023-10-05 09:55:07 -04:00
parent f38b693e74
commit ab630c052b
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -43,7 +43,7 @@ int main() {
"label:\n\t" "label:\n\t"
"mov{l %%ebp, %[cEbp] | %[cEbp], ebp};\n\t" "mov{l %%ebp, %[cEbp] | %[cEbp], ebp};\n\t"
"mov{l %%esp, %[cEsp] | %[cEsp], esp};\n\t" "mov{l %%esp, %[cEsp] | %[cEsp], esp};\n\t"
"mov{l $label, %%eax | eax, label};\n\t" "mov{l $label, %%eax | eax, OFFSET label};\n\t"
"mov{l %%eax, %[cEip] | %[cEip], eax};\n\t" "mov{l %%eax, %[cEip] | %[cEip], eax};\n\t"
: [cEbp] "=r" (context.Ebp), : [cEbp] "=r" (context.Ebp),
[cEsp] "=r" (context.Esp), [cEsp] "=r" (context.Esp),