This patch skips images with an empty path or a 0 UUID from loading as a
SymbolFileJSON.
rdar://112107986
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Differential D157137
[lldb/crashlog] Skip images with empty path and 0 UUID from loading mib on Aug 4 2023, 2:01 PM. Authored by
Details This patch skips images with an empty path or a 0 UUID from loading as a rdar://112107986 Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Diff Detail Event Timeline
|
It looks like name is only used below on line 435 to create obj_file, so you could move that computation down there and check the validity of self.path instead. Does that work? Or am I missing something?
Also, it seems like you might want to do this chunk of work at the beginning of the function to make sure you have a valid image before you try to process it? Is there an edge case where we'd still want to process a module with a UUID of 0 and no path?