Skip to content
Snippets Groups Projects
Commit 9da7634a authored by jdh8d's avatar jdh8d
Browse files

Updated...

Updated /home/jdh8d/umbrellas/peasoup_umbrella/peasoup_examples/tools/ps_analyze.sh to apply plugins in order specified

Former-commit-id: 2636d446df2945c1f368b8a7f20ba0a8267499d2
parent 04056151
No related branches found
No related tags found
No related merge requests found
......@@ -847,6 +847,7 @@ pebliss/trunk/tests/tests_utils/tests_utils.vcxproj -text
pebliss/trunk/tests/tests_utils/tests_utils.vcxproj.filters -text
plugins_install/generate_variant_config.sh -text
plugins_install/output_spec.sh -text
plugins_install/p1transform.sh -text
plugins_install/test.exe -text
plugins_install/test.sh -text
third_party/ELFkickers-3.0a.tar.gz -text
......
......@@ -35,7 +35,8 @@ if 'build_tools' not in myenv or myenv['build_tools'] is None or int(myenv['buil
Default(install)
pgms='''print_variant list_programs create_variant create_variantir read_variantir clone ilr
# most programs go to $sectrans/bin
pgms='''print_variant list_programs create_variant create_variantir read_variantir clone
drop_variant generate_spri fill_in_cfg unfix_calls
find_strings build_callgraph build_preds rename_function pin_address
'''
......@@ -45,5 +46,12 @@ if 'build_tools' not in myenv or myenv['build_tools'] is None or int(myenv['buil
install=myenv.Install("$SECURITY_TRANSFORMS_HOME/bin/", pgm)
Default(install)
# ilr goes to $sectrans/plugins_install
pgm=myenv.Program(target="ilr.exe", source=Split("ilr.cpp"), LIBPATH=LIBPATH, LIBS=LIBS)
install=myenv.Install("$SECURITY_TRANSFORMS_HOME/plugins_install/", pgm)
Default(install)
#!/bin/bash
PN_TIMEOUT_VALUE=21600
varid=$1
shift
$PEASOUP_HOME/tools/do_p1transform.sh $varid a.ncexe a.ncexe.annot $PEASOUP_HOME/tools/bed.sh $PN_TIMEOUT_VALUE $*
......@@ -19,6 +19,8 @@ main(int argc, char **argv)
else
f = fib(x);
printf("Fibonacci(%d) = %d\n", x, f);
return f;
}
fib_main(int f) {
......
......@@ -16,6 +16,7 @@ get_correct()
cp libfib.so.orig libfib.so
cp libfib2.so.orig libfib2.so
./fib.exe $1 > correct
echo $? >> correct
}
test()
......@@ -27,7 +28,7 @@ test()
cp $3 libfib.so
cp $4 libfib2.so
./$1 $n > out
echo $? >> out
cmp out correct
if [ $? = 1 ]; then
......
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