mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
d07e661ab5
Before this commit, DLA's frontend was representing information about string literals in a way that had a bad outcome: very often, all (or most) places in the binary that were using string literals ended up collapsed on the DLA graph on the same node, causing all their types to be a weird struct. This was wrong, and it was the result of an aggressive creation of equality edges. This commit avoids to emit equality edges, and replaces them with instance edges, that represent the fact that a call to StringLiteral actually returns a type that represents a pointer to char.