mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
c48908c6a6
Many old unit tests were too rigid, using the model and the LLVM IR. This commit drops them, and replaces them with decompilation tests based on revng-qa, relying on `revng model compare` to test model properties, and on `FileCheck` to test that we emit specific constructs in C. The new tests cover various features of the decompiler. * DLA capability to recover complex data structure like linked-lists and arrays. * DLA capability to update segment and section types, so that we emit nice looking accesses to segments in C. * Capability to emit nice looking integer literals in C * Capability to emit inline string literals in C and update the model types of the segments containg such string literals.