Hi,
So I was trying to parse PE file using the documentation at
The documentation say about the location of the debug directory that: "The debug directory can be in a discardable .debug section (if one exists), or it can be included in any other section in the image file, or not be in a section at all."
I understand the first 2 points (it is either in the .debug section or any other section) and can find the debug directory fairly easily, however if the Debug Directory is not in any section at all how can I locate it then.
Note: I am trying to avoid loading the image, so the RVA provided in the debug data directory
isn't useful to me without knowing which section it is a part of.