Open
Description
The function _ebpf_pe_get_map_definitions is fragile in how it parses map data from PE images and handles long map names. It should use the offset of the first long string to determine the end of the maps section instead of relying on an unreliable heuristic.
For now, it appears to work, but if map_entry_t format changes it may break again.