Skip to content

post_script.py is failing with index out of range #1

@lihas

Description

@lihas

I have tried running it with both an existing project and a new one, in powershell and in cmd.exe.

Existing project:

.\support\analyzeHeadless.bat C:\Users\j displayenhancementservice2.gpr -postScript post_script.py -scriptPath C:\Users\j\ghidra_scripts

New project

.\support\analyzeHeadless.bat C:\Users\j displayEnhancementDll3_headless.gpr -import C:/Users/j/Downloads/microsoft.graphics.display.displayenhancementservice.dll -postscript post_script.py

PS:
image

CMD:
image

INFO SCRIPT: C:\Users\j\Downloads\ghidra_10.3.1_PUBLIC_20230614\ghidra_10.3.1_PUBLIC\post_script.py (HeadlessAnalyzer) Traceback (most recent call last): File "C:\Users\j\Downloads\ghidra_10.3.1_PUBLIC_20230614\ghidra_10.3.1_PUBLIC\post_script.py", line 69, in <module> for arg in args[0].split(","): IndexError: index out of range: 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions