diff --git a/docs/misc/debugging.md b/docs/misc/debugging.md index c4c5c6aa..4028cc3d 100644 --- a/docs/misc/debugging.md +++ b/docs/misc/debugging.md @@ -3,4 +3,6 @@ If you want to debug Ponce and being able to step into functions and put breakpo - Make sure you set the `IDA_INSTALLED_DIR` parameter when building with CMake. - Secondly you should open the IDA binary under Visual Studio. Do File -> Open -> Project and select the `C:\Program Files\IDA Pro 7.5\ida64.exe` binary. -- \ No newline at end of file +- In the properties of the project you can set the arguments to the binary you IDA to run +- Now right click on the solution and go to Add -> Exixting Project and select the `Ponce64` project. +- Remember to compile Ponce on Debug so the breakpoints get hit \ No newline at end of file diff --git a/src/formConfiguration.cpp b/src/formConfiguration.cpp index 38c631fc..c6684532 100644 --- a/src/formConfiguration.cpp +++ b/src/formConfiguration.cpp @@ -95,7 +95,7 @@ void prompt_conf_window(void) { symbolic_or_taint_engine = cmdOptions.use_symbolic_engine ? 0 : 1; } if (ask_form(form, - modcb, // the call to this function can be omitted. It's only usefull if a checkbox activate or dissable other elements of the form + modcb, &symbolic_or_taint_engine, &chkgroup1, &chkgroup2, @@ -179,8 +179,8 @@ void prompt_conf_window(void) { "addCommentsControlledOperands: %s\n" "RenameTaintedFunctionNames: %s\n" "addCommentssymbolizexpresions: %s\n" - "addCommentssymbolizexpresions: %s\n" - "color_tainted_execution: %x\n" + "color_tainted: %x\n" + "color_executed_instruction: %x\n" "color_tainted_condition: %x\n", cmdOptions.limitTime, cmdOptions.limitInstructionsTracingMode, diff --git a/src/formConfiguration.hpp b/src/formConfiguration.hpp index b91b867f..1d8e64e9 100644 --- a/src/formConfiguration.hpp +++ b/src/formConfiguration.hpp @@ -37,13 +37,13 @@ static const char form[] = // "<#Add comments to controlled operands#IDA View expand info#Add comments with controlled operands:C15>\n" "<#This helps to track the tainted functions in large programms#Add prefix to tainted function names:C16>\n" -"<#Will add a comment for every instruction with his symbolic expression. Will dirt the IDA view.#Add comments with symbolic expresions:C17>>\n" +"<#Will add a comment for every instruction with his symbolic expression. Will pollute the IDA view.#Add comments with symbolic expresions:C17>>\n" "\n" "Ponce will heads up you after:\n" "<#Time in seconds#Seconds running :D1:12:12>\n" "<#Number of the instructions executed during tracing before ask to the user#Instructions executed :D2:12:12>\n" "\n" -"<#Time in seconds#Solver timeout :D3:12:12>\n" +"<#Time in seconds#Solver timeout :D23:12:12>\n" "\n" "<#-1 is default colour#Color Tainted Instruction :K19:::>\n" "<#-1 is default colour#Color Executed Instruction :K20:::>\n" diff --git a/src/main.cpp b/src/main.cpp index 761976fb..aaa42d1f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -146,7 +146,7 @@ int idaapi init(void) #elif IDA_SDK_VERSION == 700 if (strcmp(version, "7.00") != 0) { #elif IDA_SDK_VERSION < 700 -#error // not supported +#error "Ponce does not support IDA < 7.0" #endif warning("[!] This Ponce plugin was built for IDA %d, you are using: %s\n", IDA_SDK_VERSION, version); }