mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
50dd2b7b11
ExternalJumpsHandler::buildEmptyExecutableSegmentLIst() was used to initialize an empty lists of segments for targets that did not support dynamic libraries. However, having an empty segment list triggered assertions in the handling of jumps to invalid jump targets providing misleading error messages on the segments_count that were hiding the real cause of the error (unknown pc, invalid jump target). This commit properly initializes the segment list to avoid the misleading assertion messages