Sorry, I just saw Bill's reply.

________________________________________
From: E.Robbins
Sent: 17 April 2014 16:52
To: dyninst-api@cs.wisc.edu
Subject: RE: ParseAPI and PE files

To be clear, I don't think this is a problem with the way we are using the 
ParseAPI, as I've written several programs that all work fine for ELF binaries, 
but not PE.

The failure is almost immediate when trying to create the SymtabCodeSource 
object:

SymtabCodeSource ∗sts = new SymtabCodeSource(binary_path);

Ed

________________________________________
From: Dyninst-api [dyninst-api-boun...@cs.wisc.edu] on behalf of E.Robbins 
[er...@kent.ac.uk]
Sent: 16 April 2014 12:13
To: dyninst-api@cs.wisc.edu
Subject: [DynInst_API:] ParseAPI and PE files

Hi,
we are trying to use the ParseAPI with PE files. Even with the simple example 
in the ParseAPI manual, we get an error:

[SymtabCodeSource.C] FATAL: can't create Symtab object for file <executable 
name>

It appears that the SymtabCodeSource does not like PE files. Is this a known 
issue, and/or is there a work around?

Thanks,
Ed
_______________________________________________
Dyninst-api mailing list
Dyninst-api@cs.wisc.edu
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

_______________________________________________
Dyninst-api mailing list
Dyninst-api@cs.wisc.edu
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Reply via email to