I hereby claim:
- I am cetfor on github.
- I am cetfor (https://keybase.io/cetfor) on keybase.
- I have a public key ASBHlHOFYJOg5ZKnd_FHZsrevyhbS6mGSgcV24hW55cFDAo
To claim this, I am signing this object:
| # Get MLIL SSA form | |
| import binaryninja | |
| target = "cwe369A_x64" | |
| print("Analyzing file: {}".format(target)) | |
| bv = binaryninja.BinaryViewType.get_view_of_file(target) | |
| bv.add_analysis_option('linearsweep') |
| from ghidra.app.emulator import EmulatorHelper | |
| from ghidra.program.model.symbol import SymbolUtilities | |
| # Tested with Ghidra v9.1 and v9.1.1, future releases are likely to simplify | |
| # and/or expand the EmulatorHelper class in the API. | |
| # == Helper functions ====================================================== | |
| def getAddress(offset): | |
| return currentProgram.getAddressFactory().getDefaultAddressSpace().getAddress(offset) |
I hereby claim:
To claim this, I am signing this object:
| // gcc -m32 -mpreferred-stack-boundary=2 cdecl.c -o cdecl | |
| #include <stdio.h> | |
| void printFavNums(int num1, int num2) { | |
| printf("My favorite numbers are %d and %d!\n", num1, num2); | |
| } | |
| int main() | |
| { |