From 9a7c83b26f773dcf736453d69ff3776ff97acd3b Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Mon, 14 Jun 2021 11:36:53 -0600 Subject: [PATCH 1/2] tests: move test sigs to testfiles --- sigs/test_aulldiv.pat | 11 ----------- sigs/test_aullrem.pat.gz | Bin 583 -> 0 bytes 2 files changed, 11 deletions(-) delete mode 100644 sigs/test_aulldiv.pat delete mode 100644 sigs/test_aullrem.pat.gz diff --git a/sigs/test_aulldiv.pat b/sigs/test_aulldiv.pat deleted file mode 100644 index bbf3e52d..00000000 --- a/sigs/test_aulldiv.pat +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: [package root]/LICENSE.txt -# Unless required by applicable law or agreed to in writing, software distributed under the License -# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and limitations under the License. -53568b4424180bc075188b4c24148b44241033d2f7f18bd88b44240cf7f18bd3 48 d0a0 0068 :0000 __aulldiv -558bec83e4e083ec60c5fe7f4c2420c5fe7f0424ff742424ff742424ff74240c 08 6e24 0095 :0000 ___avx_u64div4@@64 ^0028 __aulldiv -558bec83e4f083ec30660f6fd1660f73da04660f6fd8660f7ed0660f73db04f3 1b ed6c 0080 :0000 ___sse2_u64div2@@32 ^003b __aulldiv ---- \ No newline at end of file diff --git a/sigs/test_aullrem.pat.gz b/sigs/test_aullrem.pat.gz deleted file mode 100644 index b63ee4f57c0fd79e39cb01a0359bf87af1ce6cdf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 583 zcmV-N0=WGjiwFolgh5~c19W9`bYEe0Y;1C6Z7y(ObO3Ep(Qev65Pat=M&u=t2t90L z-1G%Xh-x(g2}q-;YSH<;CZ`(Py*mf^`>w%KlD2-hz1s_rJjb#DSS-nsd7-r5xxl?vR9H$;7bzLIXTqeCibLD!;TsvN%K~0s z;IaX9+gA7L6Eomg*4W7-iqfIB#2nfp(>Z|-iYf`zhotC9>@zhe3 ziIa?$jITJ$-r^wL4ZgFtUvf(@W$Au=xR0l^`D)g82gfWAMNZbj(C?Z@PmvrUE0$F< zVKcehqco6PL)>#^V{31;)5W$2TV`%A4I$Om8J*Pb-AY;u&9pq*TMX|-7U)h^h*w>F zo~+_k50CNs%i>{;$H{UznXlv73X3JCi}`K5ju&&z?l74@;cGmB_WvO$|i=ezQnIwcqm;f-Vn!9U|h@Q2Mt)_HDd z*BK6@gjD2HK!Q&d3N_4Vlr;)odl$@_Wg|ZSjzU312+0eW{o^b9M!p<2br`ThFdl~i zehT45|CP;7vc3pIk%d`0XyV9Er3l(ebgED)+D;;Z%*P-Br6J3UNW98gOJ1w%jmN&% V==#YU-RtY?&L7wxcczX5004;PA58!N From c1acf702b683b461561847e4b5b1d85bbcc354f3 Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Mon, 14 Jun 2021 11:37:39 -0600 Subject: [PATCH 2/2] fixtures: move test sigs to testfiles --- tests/fixtures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fixtures.py b/tests/fixtures.py index 10b6e36a..4f68eeda 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -69,8 +69,8 @@ def get_viv_extractor(path): import capa.features.extractors.viv sigpaths = [ - os.path.join(CD, "..", "sigs", "test_aulldiv.pat"), - os.path.join(CD, "..", "sigs", "test_aullrem.pat.gz"), + os.path.join(CD, "data", "sigs", "test_aulldiv.pat"), + os.path.join(CD, "data", "sigs", "test_aullrem.pat.gz"), os.path.join(CD, "..", "sigs", "flare_common_libs.sig"), os.path.join(CD, "..", "sigs", "flare_msvc_atlmfc_32_64.sig"), os.path.join(CD, "..", "sigs", "flare_msvc_rtf_32_64.sig"),