Closed DengYiming closed 2 years ago
Pls see the following code, it seems like Get-SEHStatus is never executed? if ($ARCH -eq 'AMD64') { $SEH = 'N/A' } elseif ($ARCH -ne 'AMD64') { $HighentropyVA = 'N/A' } elseif ($SEH -ne 'N/A') {
$SEH = Get-SEHStatus $CurrentFile $NTHeader $PointerNtHeader $PEBaseAddr }
You are absolutely correct. Thanks for catching that. I changed both elseifs to if statements.
Pls see the following code, it seems like Get-SEHStatus is never executed? if ($ARCH -eq 'AMD64') { $SEH = 'N/A' } elseif ($ARCH -ne 'AMD64') { $HighentropyVA = 'N/A' } elseif ($SEH -ne 'N/A') {
Get SEH Status