Lines Matching defs:CallResult
316 $CallResult = [Capstone]::cs_open($Architecture,$Mode,[ref]$DisAsmHandle) in Get-CapstoneDisassembly() variable
317 if ($CallResult -ne "CS_ERR_OK") { in Get-CapstoneDisassembly() variable
318 if ($CallResult -eq "CS_ERR_MODE"){ in Get-CapstoneDisassembly() variable
322 echo "`n[!] cs_open error: $CallResult" in Get-CapstoneDisassembly() variable
339 $CallResult = [Capstone]::cs_option($DisAsmHandle, 1, $CS_OPT_SYNTAX) in Get-CapstoneDisassembly() variable
340 if ($CallResult -ne "CS_ERR_OK") { in Get-CapstoneDisassembly() variable
341 echo "`n[!] cs_option error: $CallResult" in Get-CapstoneDisassembly() variable
343 $CallResult = [Capstone]::cs_close([ref]$DisAsmHandle) in Get-CapstoneDisassembly() variable
358 $CallResult = [Capstone]::cs_option($DisAsmHandle, 2, $CS_OPT) in Get-CapstoneDisassembly() variable
359 if ($CallResult -ne "CS_ERR_OK") { in Get-CapstoneDisassembly() variable
360 echo "`n[!] cs_option error: $CallResult" in Get-CapstoneDisassembly() variable
362 $CallResult = [Capstone]::cs_close([ref]$DisAsmHandle) in Get-CapstoneDisassembly() variable
433 $CallResult = [Capstone]::cs_close([ref]$DisAsmHandle) in Get-CapstoneDisassembly() variable
441 $CallResult = [Capstone]::cs_free($InsnHandle, $Count) in Get-CapstoneDisassembly() variable