apply
IDAPython entry point for headless apply-back.
Run by IDA via -S (see Program._commit_edits_ida).
Expected idc.ARGV: [script_path, quokka_file, binary_path]
This file lives in backends/ida/ (its own sub-package) so that IDA's
automatic sys.path insertion does not put backends/capstone.py on the
path, which would shadow the real capstone package.