Closed robdockins closed 5 months ago
That is likely the memcpy
that was called by function pointer. Constant propagation could (in principle) help there. More generally, we could be in trouble with function pointers. I guess the WP verifier was super unsound around those anyway, but doing it well will be challenging. The mitigation to that complexity is #269.
Backing up to c0f3626c60114863b4d23dae53ee9d0f1517971f does not seem like it makes a difference for this example.
The simplified challenge 06 example also suffers from control-flow desync issues, as of https://github.com/GaloisInc/pate/commit/0d80f8dbe336d47a056a83567de1fe0ceae9b741 and with the programtargets patch 41765a26fd93c58bd4f0c34233c2f2b29ba96f9e
The
BLX
is an indirect call, I think, which might be kind of tricky. Perhaps the constant-propagation pass will help.