horrble wip - support legalizing indirect calls