Skip to content

IDA PRO 9.1 - xml_importer.py TypeError when processing DATATYPES #8479

@0xMirasio

Description

@0xMirasio

Describe the bug

when importing a ghidra XML exported database in IDA PRO 9.1 usng xml_importer.py from GhidraExtension packs, i have

Importing from: /home/user/test.xml

Processing PROGRAM                 
Processing DATATYPES               
***** Exception occurred: XML Importer failed! *****
TypeError: %d format: a real number is required, not tinfo_t

To Reproduce

take hello_word.c programs

#include <stdio.h>
#include <stdlib.h>
static int test2(int a) {
        return a& 2;
}
int main()
{
  printf("hello world");
  int x = test2(8);
  return 0;
}

compile it => import in Ghidra 11.4.2 , do a simple analysis and export it to a xml Database.
Load IDA PRO 9.1 or 9.X+ => use plugin xml_importer from ghidraExtension packs.
Select all from options

Expected behavior
Importing XML db in IDA PRO

Attachments

Environment (please complete the following information):

  • os : ubuntu Noble
  • Java Version: openjdk 21.0.8 2025-07-15
  • Ghidra Version: 11.4.2
  • Ghidra Origin: release gitub
  • IDA PRO 9.1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions