sim: callback: add printf attributes