Skip to content
Snippets Groups Projects
Commit bd209204 authored by an7s's avatar an7s
Browse files

Update libc tests

Former-commit-id: 5757bb40f8e26373e8512ccce872b93b34cc4745
parent 26923d75
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#!/bin/bash
libcpath=""
do_cfi()
{
......@@ -19,13 +21,13 @@ do_coloring_cfi()
get_correct()
{
cp libfoo.so.orig libfoo.so
./foo.exe > correct
echo "get_correct()"
cp libc.so.6.orig libc.so.6
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./libc_driver.exe > correct
}
test()
{
cp $2 libfoo.so
./$1 > out
......@@ -59,7 +61,7 @@ clean()
{
rm out
rm correct
rm -Rf *.orig *libc*.exe *libc.*cfi
rm -Rf *.orig *libc*.exe *libc.*cfi *peasoup_exec*
}
report ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment