44 Commits

Author SHA1 Message Date
malwarefrank 350982cddf change test to match change in exception, to ValueError 2022-08-28 02:55:02 +00:00
William Ballenthin 34383c5747 signature: learn to parse some new types (object) 2022-08-17 02:31:37 +00:00
William Ballenthin cfb7bf9f69 signature: separate method signature type from field signature type 2022-08-17 02:31:04 +00:00
William Ballenthin 1cdf90d621 signature: add SZARRAY 2022-08-17 02:29:57 +00:00
William Ballenthin 101e0d688f pep8 2022-08-17 02:15:02 +00:00
William Ballenthin fcb04fea59 add basic parsing of signatures 2022-08-17 02:12:51 +00:00
William Ballenthin 46e2b2e45d utils: fix parsing of compressed signed ints 2022-08-17 02:10:54 +00:00
William Ballenthin c089bc4f16 test_utils: fix read compressed int test 2022-08-17 02:06:25 +00:00
William Ballenthin b7d63a6185 test_utils: fix test cases 2022-08-17 02:06:08 +00:00
William Ballenthin c3155af52f utils: better type compressed int reading 2022-08-17 02:05:49 +00:00
William Ballenthin 1ab29df6f2 utils: add support for parsing compressed signed integers 2022-08-17 01:55:56 +00:00
Mike Hunhoff 85792bc338 update typedef members tests 2022-05-04 16:11:25 -06:00
malwarefrank 2f457965e4 pycodestyle: fix closing bracket indent 2022-03-25 01:49:59 +00:00
malwarefrank 707a66a8fe add to metadata table parsing test 2022-03-25 01:38:47 +00:00
malwarefrank b7226359a1 Merge pull request #30 from williballenthin/feature/test-mixed-mode
add tests demonstrating handling of mixed-mode assemblies
2021-12-21 22:13:57 -05:00
William Ballenthin a8dfee3353 tests: update mixed-mode tests and submodule 2021-12-21 09:17:06 -07:00
William Ballenthin 20e1219f07 tests: add test demonstrating flag/enum handling 2021-12-17 14:01:42 -07:00
William Ballenthin eb78f7ece3 add tests demonstrating handling of mixed-mode assemblies 2021-12-16 11:46:43 -07:00
William Ballenthin cfdb01a1cd sync submodule 2021-12-15 17:48:07 -07:00
William Ballenthin b248d2910a tests: add tests demonstrating how to handle invalid UTF-16 strings 2021-12-15 11:37:25 -07:00
William Ballenthin d5c5d58fe2 pep8 2021-12-13 21:17:02 -07:00
William Ballenthin 45680710ef sync submodule 2021-12-13 21:14:31 -07:00
William Ballenthin 877b4caca9 tests: make test involving malware optional 2021-12-13 21:12:53 -07:00
William Ballenthin d8b9931085 tests: add test for NumberOfRvaAndSizes 2021-12-13 14:39:18 -07:00
William Ballenthin 53b1c2ee9b best effort parsing of data rather than raising exceptions 2021-12-13 14:22:09 -07:00
William Ballenthin 7af9412d77 pep8 2021-12-13 12:15:11 -07:00
William Ballenthin 67dc9933b7 streams: represent stream names as bytes, not ASCII
closes #19
2021-12-13 12:11:38 -07:00
William Ballenthin e71d81813f tests: add test demonstrating handling of unknown stream 2021-12-13 12:00:05 -07:00
William Ballenthin 614579c38b tests: add test demonstrating duplicate stream handling 2021-12-13 11:42:06 -07:00
William Ballenthin 874e048f1e utils: raise error on invalid compressed int, rather than None 2021-12-10 12:53:41 -07:00
William Ballenthin 895d1a8096 base: simplify index classes and lazily resolve rows 2021-12-10 12:11:32 -07:00
William Ballenthin 054eb0cf44 base: introduce generic type describe table row types 2021-12-10 12:00:38 -07:00
William Ballenthin 4c1cd57be7 utils: raise exception when invalid format specifier 2021-12-10 11:47:26 -07:00
William Ballenthin 460ffd7cc3 use strings to index streams by name, not bytes 2021-12-10 08:46:16 -07:00
malwarefrank fddea54176 pycodetest tests 2021-12-10 02:24:28 +00:00
malwarefrank 4292c10f1e tests: utils 2021-12-10 02:01:03 +00:00
William Ballenthin 233ebace6f isort 2021-12-09 08:38:22 -07:00
William Ballenthin e47e2bc65f tests: fix accessing referenced rows 2021-12-09 08:25:24 -07:00
William Ballenthin 6f0cadba51 Merge branch 'feature/hello-world-test' into feature/row-parse-lists 2021-12-08 18:18:34 -07:00
William Ballenthin 9d823731a1 update testfiles submodule 2021-12-08 18:15:00 -07:00
William Ballenthin fa6222f3d5 row: parse reference lists 2021-12-08 17:46:06 -07:00
William Ballenthin ce36749e00 tests: add tests demonstrating table parsing 2021-12-08 14:39:26 -07:00
William Ballenthin 60bd45f3eb add tests demonstrating metadata and stream parsing 2021-12-08 10:42:29 -07:00
William Ballenthin 20b5cd42ef add dnfile-testfiles submodule 2021-12-08 08:55:56 -07:00