armgen/corgen only returns heap