diff --git a/Ponce/src/callbacks.cpp b/Ponce/src/callbacks.cpp index de662a9a..515f6092 100644 --- a/Ponce/src/callbacks.cpp +++ b/Ponce/src/callbacks.cpp @@ -72,7 +72,8 @@ void tritonize(ea_t pc, thid_t threadID) msg("[+] Triton At " HEX_FORMAT ": %s (Thread id: %d)\n", pc, tritonInst->getDisassembly().c_str(), threadID); /* Process the IR and taint */ - triton::api.buildSemantics(*tritonInst); + if (!triton::api.buildSemantics(*tritonInst)) + msg("[!] Instruction at " HEX_FORMAT " not supported by Triton: %s (Thread id: %d)\n", pc, tritonInst->getDisassembly().c_str(), threadID); /*In the case that the snapshot engine is in use we shoudl track every memory write access*/ if (snapshot.exists()) diff --git a/Triton b/Triton index 8e27d288..93afa071 160000 --- a/Triton +++ b/Triton @@ -1 +1 @@ -Subproject commit 8e27d2886a12c806ed5ed5f7f12033f26504ebe4 +Subproject commit 93afa071d4344938fc469191c2f44c2ae27e67dd diff --git a/builds/PonceBuild/Ponce/Ponce.vcxproj b/builds/PonceBuild/Ponce/Ponce.vcxproj index fb5497d8..6dfa1069 100644 --- a/builds/PonceBuild/Ponce/Ponce.vcxproj +++ b/builds/PonceBuild/Ponce/Ponce.vcxproj @@ -159,42 +159,42 @@ $(Platform)\$(Configuration)\ .plw false - $(ProjectName)_x86_static + $(ProjectName)_x86_IDA69_win $(SolutionDir)$(Platform)\ $(Platform)\$(Configuration)\ .plw false - $(ProjectName)_x86_static_IDA68 + $(ProjectName)_x86_IDA68_win $(SolutionDir)$(Platform)\ $(Platform)\$(Configuration)\ .p64 false - $(ProjectName)_x64_static + $(ProjectName)_x64_IDA69_win $(SolutionDir)$(Platform)\ $(Platform)\$(Configuration)\ .p64 false - $(ProjectName)_x64_static_IDA68 + $(ProjectName)_x64_IDA68_win $(SolutionDir)$(Platform)\ $(Platform)\$(Configuration)\ .plw false - $(ProjectName)_x86_z3dyn + $(ProjectName)_x86_IDA69_win_z3dyn $(SolutionDir)$(Platform)\ $(Platform)\$(Configuration)\ .p64 false - $(ProjectName)_x64_z3dyn + $(ProjectName)_x64_IDA69_win_z3dyn $(SolutionDir)$(Platform)\ @@ -214,6 +214,10 @@ copy /Y $(TargetPath) "C:\Program Files (x86)\IDA 6.95\plugins" + + "C:\Program Files\Git\git-bash.exe" -c "cd /c/PonceProject/; bash version_number_update.sh" + This event update the version before compile the plugin + @@ -251,6 +255,10 @@ copy /Y $(TargetPath) "C:\Program Files (x86)\IDA 6.95\plugins" + + "C:\Program Files\Git\git-bash.exe" -c "cd /c/PonceProject/; bash version_number_update.sh" + This event update the version before compile the plugin + @@ -288,6 +296,10 @@ copy /Y $(TargetPath) "C:\Program Files (x86)\IDA 6.95\plugins" + + "C:\Program Files\Git\git-bash.exe" -c "cd /c/PonceProject/; bash version_number_update.sh" + This event update the version before compile the plugin + @@ -325,6 +337,10 @@ copy /Y $(TargetPath) "C:\Program Files (x86)\IDA 6.95\plugins" + + "C:\Program Files\Git\git-bash.exe" -c "cd /c/PonceProject/; bash version_number_update.sh" + This event update the version before compile the plugin + @@ -362,6 +378,10 @@ copy /Y $(TargetPath) "C:\Program Files (x86)\IDA 6.95\plugins" + + "C:\Program Files\Git\git-bash.exe" -c "cd /c/PonceProject/; bash version_number_update.sh" + This event update the version before compile the plugin + @@ -399,6 +419,10 @@ copy /Y $(TargetPath) "C:\Program Files (x86)\IDA 6.95\plugins" + + "C:\Program Files\Git\git-bash.exe" -c "cd /c/PonceProject/; bash version_number_update.sh" + This event update the version before compile the plugin + @@ -475,6 +499,10 @@ copy /Y $(TargetPath) "C:\Program Files (x86)\IDA 6.95\plugins" + + "C:\Program Files\Git\git-bash.exe" -c "cd /c/PonceProject/; bash version_number_update.sh" + This event update the version before compile the plugin + diff --git a/external-libs/libs/ALL_static_MT_x86/triton.lib b/external-libs/libs/ALL_static_MT_x86/triton.lib index aa2fe854..80e478c3 100644 Binary files a/external-libs/libs/ALL_static_MT_x86/triton.lib and b/external-libs/libs/ALL_static_MT_x86/triton.lib differ diff --git a/external-libs/libs/Z3_dyn_rest_static_MT_x86/triton.lib b/external-libs/libs/Z3_dyn_rest_static_MT_x86/triton.lib index aa2fe854..80e478c3 100644 Binary files a/external-libs/libs/Z3_dyn_rest_static_MT_x86/triton.lib and b/external-libs/libs/Z3_dyn_rest_static_MT_x86/triton.lib differ