Is it possible to create a workflow (perhaps through a script or plugin) that allows modifying C code directly in the decompiler window, recompiling the function, and then comparing the output against the original assembly code?
I understand that this would involve determining the correct compiler and compiler options used to generate the original ASM. Ideally, the workflow would allow iterative changes to the C code until the recompiled version matches the original ASM as closely as possible.
Additionally, I assume that some global headers or type definitions might be needed to ensure the C code compiles correctly. Any guidance on setting this up or existing tools that might assist would be greatly appreciated.
Is it possible to create a workflow (perhaps through a script or plugin) that allows modifying C code directly in the decompiler window, recompiling the function, and then comparing the output against the original assembly code?
I understand that this would involve determining the correct compiler and compiler options used to generate the original ASM. Ideally, the workflow would allow iterative changes to the C code until the recompiled version matches the original ASM as closely as possible.
Additionally, I assume that some global headers or type definitions might be needed to ensure the C code compiles correctly. Any guidance on setting this up or existing tools that might assist would be greatly appreciated.