Skip to content
Snippets Groups Projects
Commit aaeab5fb authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

moved p1 to irdb_transforms, changed libtransform to support the rewrite...

moved p1 to irdb_transforms, changed libtransform to support the rewrite utility stuff that were being accessed from tools/transforms
parent 25dd912c
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ cpppath='''
$SECURITY_TRANSFORMS_HOME/include
$SECURITY_TRANSFORMS_HOME/libIRDB/include
$SECURITY_TRANSFORMS_HOME/libMEDSannotation/include
$SECURITY_TRANSFORMS_HOME/tools/transforms
$SECURITY_TRANSFORMS_HOME/libtransform/include
$SECURITY_TRANSFORMS_HOME/libEXEIO/include
'''
......@@ -22,7 +22,7 @@ myenv.Append(CXXFLAGS = " -std=c++11 -Wall ")
pgm="selective_cfi.exe"
LIBPATH="$SECURITY_TRANSFORMS_HOME/lib"
LIBS=Split( env.subst('$BASE_IRDB_LIBS')+ " IRDB-cfg IRDB-util IRDB-core transform rewrite MEDSannotation pqxx pq")
LIBS=Split( env.subst('$BASE_IRDB_LIBS')+ " IRDB-cfg IRDB-util IRDB-core transform MEDSannotation pqxx pq")
myenv=myenv.Clone(CPPPATH=Split(cpppath))
pgm=myenv.Program(pgm, files, LIBPATH=LIBPATH, LIBS=LIBS)
install=myenv.Install("$SECURITY_TRANSFORMS_HOME/plugins_install/", pgm)
......
......@@ -36,6 +36,16 @@
using namespace std;
using namespace libIRDB;
using namespace IRDBUtility;
string getRetDataBits()
{
string dataBits;
dataBits.resize(1);
dataBits[0] = 0xc3;
return dataBits;
}
Relocation_t* SCFI_Instrument::FindRelocation(Instruction_t* insn, string type)
......
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