Files
Mergen/scripts/dev/profile_samples.ps1
T
yusufcanislek cdd52c271a feat: profile VMP samples and speed up lifting
- add nested lift diagnostics and helper-level profiling for protected381 targets
- refactor function signature specs and optimize folderBinOps fast paths
- implement the full SCAS family and document VMP 3.6 INT dispatcher findings
- add reproducible profiling scripts and root VMP testing notes
2026-03-31 22:02:57 +03:00

16 lines
698 B
PowerShell

$ErrorActionPreference = 'Stop'
$repo = Split-Path -Parent (Split-Path -Parent $PSScriptRoot)
$work = Join-Path (Split-Path -Parent $repo) 'rewrite-regression-work'
$lifter = Join-Path $repo 'build_zydis\lifter.exe'
$samples = @(
@{ name = 'calc_jumptable_large'; exe = 'calc_jumptable_large.exe'; addr = '0x140001000' },
@{ name = 'calc_switch'; exe = 'calc_switch.exe'; addr = '0x140001000' },
@{ name = 'jumptable_dense'; exe = 'jumptable_dense.exe'; addr = '0x140001000' }
)
foreach ($sample in $samples) {
Write-Host "=== $($sample.name) ==="
& $lifter (Join-Path $work $sample.exe) $sample.addr | Out-Null
Get-Content (Join-Path $repo 'output_diagnostics.json')
Write-Host ""
}