Whoops, this is in apport after all -- xdiagnose's hook calls apport.hookutils.attach_file_if_exists().
Whoops, this is in apport after all -- xdiagnose's hook calls apport. hookutils. attach_ file_if_ exists( ).