def test_cromu_00070_caching():
    # Test exploitation of CROMU_00070 given an input which causes a leak. Then test that we can do it again restoring
    # from the cache.

    for _ in range(2):
        payload = bytes.fromhex("06000006020a00000000000000000000000c030c00000100e1f505000000000000eb")
        cg = colorguard.ColorGuard(os.path.join(bin_location, "tests/cgc/CROMU_00070"), payload)

        pov = cg.attempt_exploit()
        nose.tools.assert_not_equal(pov, None)
        nose.tools.assert_true(pov.test_binary())