Closed weliveindetail closed 1 year ago
FYI in order to avoid churn in the upstream repo, I checked that the execution test passes in the GitHub action before merging this: https://github.com/build38/o-mvll/actions/runs/5153519285 And it does:
PASS: O-MVLL Tests :: passes/flattening/basic-native.c (4 of 6)
Execution tests can be tricky to run on build bots, but it might be useful to have them in order to check that obfuscations produce valid executables. As a first step, this patch shows how to implement a primitive execution test that runs on the host machine. In the future we probably want to run execution in emulated environments like QEMU. There are a few open TODOs as well, but it should be good enough to see if the basics work and get a better understanding of potential issues.