You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/symqemu/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,9 @@ The purpose of those tests is to automatically run SymQEMU on some known binarie
5
5
The directory `binaries` contains a directory for each test binary. A test binary directory contains the following:
6
6
7
7
- An executable file `binary`
8
-
- A file `input` whose name will be given as first argument to `binary` and whose content will be symbolic
9
-
- A directory `expected_outputs` : the test cases that SymQEMU should generate when called like this : `<symqemu> <path/to/binary> <path/to/input>`, with the content of `input` being symbolic.
8
+
- A file `input` whose path will be given as argument to `binary` and whose content will be symbolic
9
+
- A text file `args` that contains the arguments `binary` will be called with. One of the arguments must be `@@` and it will be replaced with the path of the `input` file.
10
+
- A directory `expected_outputs` : the test cases that SymQEMU should generate when called like this : `<symqemu> <path/to/binary> <args>`, with the content of `input` being symbolic.
10
11
11
12
The script `test.py` will automatically run SymQEMU on the binaries and check that it gives the correct output.
0 commit comments