NationalSecurityAgency / ghidra

Ghidra is a software reverse engineering (SRE) framework
https://www.nsa.gov/ghidra
Apache License 2.0
50.08k stars 5.74k forks source link

Z80: XML processing error: syntax error #1140

Open lab313ru opened 4 years ago

lab313ru commented 4 years ago

Binary (Sega Mega Drive sound driver): sound_driver.zip XML Log: bug1.zip

The first function, offset 0.

изображение

lab313ru commented 4 years ago

Doesn't work for any z80 function.

Lord-Nightmare commented 4 years ago

I've found that it does work on some z80 functions, but not others.

Lord-Nightmare commented 4 years ago

For functions that it fails, the status console on ghidra shows something like "DecompileCallback) Decompiling ram:0068: Pcode: XML comms: Badly formed address: \</addr>"

If you copy and paste it using the rightclick menu it shows something a bit different: "2019-11-14 15:25:51 ERROR (DecompileCallback) Decompiling ram:0068: Pcode: XML comms: Badly formed address:

"

cbuschardt commented 4 years ago

This is appears as a regression between 9.0.4 and 9.1.0. It appears to have been fixed at TOT (9.2_DEV).

davidgiven commented 4 years ago

Is there a precompiled 9.2 binary available anywhere? I've just run into this, but can't build ghidra from git myself.