Initial commit
This commit is contained in:
1
p1-check/tests/expected/A_bad_magic.txt
Normal file
1
p1-check/tests/expected/A_bad_magic.txt
Normal file
@@ -0,0 +1 @@
|
||||
Failed to read file
|
||||
1
p1-check/tests/expected/A_bad_magic_no_H.txt
Normal file
1
p1-check/tests/expected/A_bad_magic_no_H.txt
Normal file
@@ -0,0 +1 @@
|
||||
Failed to read file
|
||||
4
p1-check/tests/expected/A_invalid_multi_files.txt
Normal file
4
p1-check/tests/expected/A_invalid_multi_files.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Usage: ../y86 <option(s)> mini-elf-file
|
||||
Options are:
|
||||
-h Display usage
|
||||
-H Show the Mini-ELF header
|
||||
4
p1-check/tests/expected/A_invalid_multi_params.txt
Normal file
4
p1-check/tests/expected/A_invalid_multi_params.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Usage: ../y86 <option(s)> mini-elf-file
|
||||
Options are:
|
||||
-h Display usage
|
||||
-H Show the Mini-ELF header
|
||||
4
p1-check/tests/expected/A_invalid_param.txt
Normal file
4
p1-check/tests/expected/A_invalid_param.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Usage: ../y86 <option(s)> mini-elf-file
|
||||
Options are:
|
||||
-h Display usage
|
||||
-H Show the Mini-ELF header
|
||||
4
p1-check/tests/expected/A_missing_filename.txt
Normal file
4
p1-check/tests/expected/A_missing_filename.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Usage: ../y86 <option(s)> mini-elf-file
|
||||
Options are:
|
||||
-h Display usage
|
||||
-H Show the Mini-ELF header
|
||||
1
p1-check/tests/expected/A_nonexistent_file.txt
Normal file
1
p1-check/tests/expected/A_nonexistent_file.txt
Normal file
@@ -0,0 +1 @@
|
||||
Failed to read file
|
||||
1
p1-check/tests/expected/A_short_header.txt
Normal file
1
p1-check/tests/expected/A_short_header.txt
Normal file
@@ -0,0 +1 @@
|
||||
Failed to read file
|
||||
1
p1-check/tests/expected/A_short_header_no_H.txt
Normal file
1
p1-check/tests/expected/A_short_header_no_H.txt
Normal file
@@ -0,0 +1 @@
|
||||
Failed to read file
|
||||
4
p1-check/tests/expected/B_help.txt
Normal file
4
p1-check/tests/expected/B_help.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Usage: ../y86 <option(s)> mini-elf-file
|
||||
Options are:
|
||||
-h Display usage
|
||||
-H Show the Mini-ELF header
|
||||
6
p1-check/tests/expected/B_multisegment.txt
Normal file
6
p1-check/tests/expected/B_multisegment.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
01 00 00 01 10 00 04 00 00 00 00 00 45 4c 46 00
|
||||
Mini-ELF version 1
|
||||
Entry point 0x100
|
||||
There are 4 program headers, starting at offset 16 (0x10)
|
||||
There is no symbol table present
|
||||
There is no string table present
|
||||
6
p1-check/tests/expected/B_simple_full.txt
Normal file
6
p1-check/tests/expected/B_simple_full.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
01 00 00 01 10 00 02 00 58 00 70 00 45 4c 46 00
|
||||
Mini-ELF version 1
|
||||
Entry point 0x100
|
||||
There are 2 program headers, starting at offset 16 (0x10)
|
||||
There is a symbol table starting at offset 88 (0x58)
|
||||
There is a string table starting at offset 112 (0x70)
|
||||
6
p1-check/tests/expected/B_stack.txt
Normal file
6
p1-check/tests/expected/B_stack.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
01 00 00 01 10 00 05 00 f4 00 16 01 45 4c 46 00
|
||||
Mini-ELF version 1
|
||||
Entry point 0x100
|
||||
There are 5 program headers, starting at offset 16 (0x10)
|
||||
There is a symbol table starting at offset 244 (0xf4)
|
||||
There is a string table starting at offset 278 (0x116)
|
||||
6
p1-check/tests/expected/B_stripped.txt
Normal file
6
p1-check/tests/expected/B_stripped.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
01 00 00 01 10 00 02 00 00 00 00 00 45 4c 46 00
|
||||
Mini-ELF version 1
|
||||
Entry point 0x100
|
||||
There are 2 program headers, starting at offset 16 (0x10)
|
||||
There is no symbol table present
|
||||
There is no string table present
|
||||
0
p1-check/tests/expected/C_no_output.txt
Normal file
0
p1-check/tests/expected/C_no_output.txt
Normal file
6
p1-check/tests/expected/C_simple_hex-2.txt
Normal file
6
p1-check/tests/expected/C_simple_hex-2.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
01 00 00 01 10 00 02 00 58 00 70 00 45 4c 46 00
|
||||
Mini-ELF version 1
|
||||
Entry point 0x100
|
||||
There are 2 program headers, starting at offset 16 (0x10)
|
||||
There is a symbol table starting at offset 88 (0x58)
|
||||
There is a string table starting at offset 112 (0x70)
|
||||
1
p1-check/tests/expected/C_simple_hex.txt
Normal file
1
p1-check/tests/expected/C_simple_hex.txt
Normal file
@@ -0,0 +1 @@
|
||||
01 00 00 01 10 00 02 00 58 00 70 00 45 4c 46 00
|
||||
Reference in New Issue
Block a user