This repository was archived by the owner on Nov 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ function get-deps {
2020function check {
2121 wanted=$2
2222 if [ " $( uname) " != ' Linux' ]; then
23- wanted=$3
23+ wanted=$4 # Windows
24+ elif [ " $( uname -m) " != ' x86_64' ]; then
25+ wanted=$3 # ARM64
2426 fi
2527 got=$( get-deps " $1 " )
2628 if ! difference=$( diff -u --color <( echo " $wanted " ) <( echo " $got " ) ) ; then
@@ -37,6 +39,7 @@ function check {
3739}
3840
3941check " $script_dir /../agent/target/release/onefuzz-task" \
42+ \
4043" /lib64/ld-linux-x86-64.so.2
4144libc.so.6
4245libdl.so.2
@@ -50,6 +53,18 @@ libunwind-x86_64.so.8
5053libunwind.so.8
5154linux-vdso.so.1" \
5255\
56+ " /lib64/ld-linux-aarch64.so.1
57+ libc.so.6
58+ libdl.so.2
59+ libgcc_s.so.1
60+ liblzma.so.5
61+ libm.so.6
62+ libpthread.so.0
63+ libstdc++.so.6
64+ libunwind-aarch64.so.8
65+ libunwind-ptrace.so.0
66+ linux-vdso.so.1" \
67+ \
5368" ADVAPI32.dll
5469CRYPTBASE.DLL
5570GDI32.dll
@@ -76,6 +91,7 @@ win32u.dll
7691ws2_32.dll"
7792
7893check " $script_dir /../agent/target/release/onefuzz-agent" \
94+ \
7995" /lib64/ld-linux-x86-64.so.2
8096libc.so.6
8197libdl.so.2
@@ -85,6 +101,14 @@ libpthread.so.0
85101libunwind.so.8
86102linux-vdso.so.1" \
87103\
104+ " /lib64/ld-linux-aarch64.so.1
105+ libc.so.6
106+ libdl.so.2
107+ liblzma.so.5
108+ libm.so.6
109+ libpthread.so.0
110+ linux-vdso.so.1" \
111+ \
88112" ADVAPI32.dll
89113CRYPTBASE.DLL
90114KERNEL32.DLL
@@ -111,6 +135,12 @@ libgcc_s.so.1
111135libpthread.so.0
112136linux-vdso.so.1" \
113137\
138+ " /lib64/ld-linux-aarch64.so.1
139+ libc.so.6
140+ libgcc_s.so.1
141+ libpthread.so.0
142+ linux-vdso.so.1" \
143+ \
114144" CRYPTBASE.DLL
115145KERNEL32.DLL
116146KERNELBASE.dll
You can’t perform that action at this time.
0 commit comments