Skip to content

Commit

Permalink
Merge pull request #909 from mr-tz/add-go-test
Browse files Browse the repository at this point in the history
add test of Go sample with stomped PCNLTAB magic bytes
  • Loading branch information
mr-tz authored Nov 17, 2023
2 parents 0f4e27e + 2028bf8 commit 3d3b328
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tests/test_language_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"binary_file, expected_result, expected_version",
[
("data/language/go/go-hello/bin/go-hello.exe", Language.GO, "1.20"),
(
"data/language/go/go-unknown-binaries/bin/8f62cfdb7b29fdc39131d8b43a32ae705854db96e340b78991bc9b43b32b4eb8.exe_",
Language.GO,
VERSION_UNKNOWN_OR_NA,
),
("data/language/rust/rust-hello/bin/rust-hello.exe", Language.RUST, "1.69.0"),
("data/test-decode-to-stack.exe", Language.UNKNOWN, VERSION_UNKNOWN_OR_NA),
("data/language/dotnet/dotnet-hello/bin/dotnet-hello.exe", Language.DOTNET, VERSION_UNKNOWN_OR_NA),
Expand Down

0 comments on commit 3d3b328

Please sign in to comment.