crash2json
v2.4
将 Rapport de crash Apple 崩溃文件 (.crash 后缀) 解析成 JSON 文件的 Python 模块。
Un module Python pour analyser le fichier .crash dans le fichier .json.
pip install crash2json
crash2json yourcrashreport.crash
positional arguments:
crash_file
optional arguments:
-h, --help show this help message and exit
--binary_image_list_only
parse binary_image_list to json only
--crashed_thread_state_only
parse crashed_thread_state to json only
--diagnostic_messages_only
parse diagnostic_messages to json only
--exception_backtrace_only
parse exception_backtrace to json only
--exception_information_only
parse exception_information to json only
--header_only parse header to json only
--other_threads_backtrace_only
parse other_threads_backtrace to json only
--thread0_backtrace_only
parse thread0_backtrace to json only
-s, --simple output a simple json with only header, exceptionInfo, diagnositcMsg, Thread0Backtrace
-o OUTPUT_NAME, --output_name OUTPUT_NAME
the .json file you want to save result to, no need .json suffix