Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Update tests to account for PIE files
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-rs committed Feb 10, 2024
1 parent 15dcdcf commit ad28d15
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_cuckoo_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,11 @@ def test_image_tag_constants():

@staticmethod
def test_file_constants():
assert set(LINUX_x86_FILES) == {"executable/linux/elf32", "executable/linux/so32", "executable/linux/coff32"}
assert set(LINUX_x64_FILES) == {"executable/linux/elf64", "executable/linux/so64",
"executable/linux/ia/coff64", "executable/linux/coff64", "code/shell"}
assert set(LINUX_x86_FILES) == {"executable/linux/elf32", "executable/linux/so32",
"executable/linux/coff32", "executable/linux/pie32"}
assert set(LINUX_x64_FILES) == {
"executable/linux/elf64", "executable/linux/so64", "executable/linux/ia/coff64", "executable/linux/coff64",
"code/shell", "executable/linux/pie64"}
assert set(WINDOWS_x86_FILES) == {'executable/windows/pe32', 'executable/windows/dll32'}

@staticmethod
Expand Down

0 comments on commit ad28d15

Please sign in to comment.