import Tkinter
import MalwareFeatures
import SourceCode
import CodeManager

def build_gui():
    top = Tkinter.Tk()
    b = Tkinter.Button(top, text="Build", command=build_executable('pythonTest', 'antiDebug.cpp'))
    b.pack()
    top.mainloop()

# main function
def main():
    feature = MalwareFeatures.HelloFeature()
    sourceCode = SourceCode.SourceCode()
    codeManager = CodeManager.CodeManager(sourceCode)

    codeManager.add_malware_feature(feature)

    builtSample = 'newSample.exe'
    newSample = 'newSample.cpp'

    codeManager.build_executable(builtSample, newSample)

if __name__ == "__main__":
    main()
