add crash reporting to function map