Skip to content

Error when trying to read XML file #4

@ignatirabo

Description

@ignatirabo

I am trying to read an XML file with DecompVisor, but I get the following output.

A fatal error occurred while communicating with the decomp_dbg executable. Loading this xml file has been cancelled. A stack trace of the exception is shown below:

Traceback (most recent call last):
  File "/home/eclypsium/git/DecompVis/main.py", line 153, in _handle_set_xml_file
    self._parse_xml_file(pathlib.Path(file_name))
  File "/home/eclypsium/git/DecompVis/main.py", line 180, in _parse_xml_file
    raise ValueError(f"Did not find 'bytechunk' elements in the provided XML!")
ValueError: Did not find 'bytechunk' elements in the provided XML!

I am using Ghidra 11.2.1, and I exported the program from the Ghidra UI. Ghidra generated two files: hello_world.xml and hello_world.bytes.

I generated an ELF binary from the following code.

#include <stdio.h>
int main() {
   printf("Hello, World!");
   return 0;
}

Any help is appreciated. Thank you!

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