Spaces:
Running
Running
Commit ·
b4bdbf7
1
Parent(s): bf91e21
Record function search agreement
Browse filesFiles changed (3)
34 unmodified lines3536373834 unmodified linesAgreement for the page header covers the bound counter and intercepted `printf`arguments on tested inputs.- `search_function`: The supplied pair searches a linked list and returns the matching node. The runnable version assumes the decompiled 64-bit offsets for `Compiler.function_list` and `FunctionDefinition.next`, and restores the pointer return type. `get_current_compiler` and `strcmp` are bound as intercepted callees. Its verifier verdict has not yet been established.34 unmodified lines3536373834 unmodified linesAgreement for the page header covers the bound counter and intercepted `printf`arguments on tested inputs.- `search_function`: The supplied pair searches a linked list and returns the matching node. The runnable version assumes the decompiled 64-bit offsets for `Compiler.function_list` and `FunctionDefinition.next`, and restores the pointer return type. `get_current_compiler` and `strcmp` are bound as intercepted callees. The recorded verifier verdict is agreement.
22 unmodified lines232425262728293022 unmodified linesdef metadata(name):info = json.loads(source(name, "metadata.json"))info.update(reference=source(name, "original.c"),expected_verdict=(None if name == "faultless-search-function" else"inconclusive" if name == NAMES[0] else "agree"))return info22 unmodified lines2324252627282922 unmodified linesdef metadata(name):info = json.loads(source(name, "metadata.json"))info.update(reference=source(name, "original.c"),expected_verdict="inconclusive" if name == NAMES[0] else "agree")return info
19 unmodified lines202122232425262719 unmodified linesassert len(updates) == seed_count + 1assert report['completed'] == seed_countexpected = example_metadata(name)['expected_verdict']if expected is None:returnif name == 'faultless-byte-reinterpretation' and compiler == 'clang':# The original is built with gcc, so the escaped frames differ in layout.expected = 'inconclusive'19 unmodified lines20212223242519 unmodified linesassert len(updates) == seed_count + 1assert report['completed'] == seed_countexpected = example_metadata(name)['expected_verdict']if name == 'faultless-byte-reinterpretation' and compiler == 'clang':# The original is built with gcc, so the escaped frames differ in layout.expected = 'inconclusive'
demo/cases/README.md+1-1
demo/faultless.py+1-2
tests/test_faultless.py-2