a small idc script to save a function to binary file
to use:
place function2bin.idc in ida's idc subfolder
load your file into ida
place the cursor in the desired function
load the script
it will save the function as input file base name + function name + .bin
ex:
some_app.elf loaded into ida
cursor placed in function create_hash
output file: some_ app_create_hash.bin
to use:
place function2bin.idc in ida's idc subfolder
load your file into ida
place the cursor in the desired function
load the script
it will save the function as input file base name + function name + .bin
ex:
some_app.elf loaded into ida
cursor placed in function create_hash
output file: some_ app_create_hash.bin