- 실행 중인 프로세스의 메모리 dump
- 복구모드(recovery mode)로 진입하여 터미널 실행
csrutil disable
실행 (보호모드 해제 같은 걸로 작업 완료 후 다시 enable 하는 걸 추천)- 재부팅
- 메모리 dump
lldb --attach-pid <PID>
process save-core "filename"
- hexedit 설치
brew install hexedit
- hexedit 명령어 참조해서 메모리 확인 (http://rigaux.org/hexedit.html)
'Programming > Tip&Informaion' 카테고리의 다른 글
[Spark/Scala] NullPointerException 발생 - Some(null) 문제 (1) | 2024.01.25 |
---|---|
[실수노트] spark sql 에서 concat 함수 null 처리 (0) | 2024.01.17 |
[실수노트] Spark 무한 실행, 멈춤 오류 (1) | 2023.11.25 |
[Go] http request header에서 Host 값 변경하기 (0) | 2023.07.06 |
[Mac] shift - space 한영 변환 (xcode 설치 안 하고) (0) | 2023.06.21 |