
- 2017/12/06 11:24
- rousalome.egloos.com/9964363
- 덧글수 : 0

핑백
Linux Kernel(4.14) Hacks : slab - kmem_cache 소개 및 slab object(슬랩 오브젝트) Overview 2018-06-15 23:31:16 #
... p;12. 메모리 디스크립터 - struct mm_struct 구조체 소개 13. vmalloc - overview14. vmalloc - debugging 슬랩 메모리 관련해서 자주 쳐다보는 디버깅용 전역 변수를 소개하려고 해요.kmalloc_caches 인데요. 14 사이즈 어레 ... more
Linux Kernel(4.14) Hacks : [Kernel] 슬랩 페이지(slab page)가 관리하는 슬랩 오브젝트 갯수 2018-06-15 23:32:15 #
... ; 12. 메모리 디스크립터 - struct mm_struct 구조체 소개 13. vmalloc - overview14. vmalloc - debugging 슬랩 페이지 디스크립터가 관리하는 슬랩 오브젝트의 실제 메모리 덤프를 어떻게 접근할까요? 예를 들어 현재 페이지 디스크립터 주소가 0x ... more
Linux Kernel(4.14) Hacks : vmalloc - overview(1) 2018-06-15 23:32:56 #
... ; 12. 메모리 디스크립터 - struct mm_struct 구조체 소개 13. vmalloc - overview14. vmalloc - debugging vmalloc에 대해서 리뷰를 해보려고 합니다.vmalloc이라. 이 놈도 리눅스 커널 책에서 엄청나게 많이 소개가 되고 있죠. 너무나 ... more
Linux Kernel(4.14) Hacks : [Linux][Kernel] 슬랩 메모리: kfree 소개 2018-06-15 23:33:08 #
... ; 12. 메모리 디스크립터 - struct mm_struct 구조체 소개 13. vmalloc - overview14. vmalloc - debugging 이번에는 kfree에 대해서 알아봅니다. 이번에도 패치 코드를 하나 작성할게요. 이번에는 kmalloc 함수로 메모리를 할당 후 kfr ... more
Linux Kernel(4.14) Hacks : [Linux][Kernel] 슬랩 메모리: kmalloc 소개 2018-06-15 23:33:19 #
... ; 12. 메모리 디스크립터 - struct mm_struct 구조체 소개 13. vmalloc - overview14. vmalloc - debugging 리눅스 커널에서 메모리란 소리만 나와도 공포에 질리는 분들이 있습니다. 예전에 저도 그랬죠. 스타크래프트에서 테란 조이기를 당할 때와 ... more
Linux Kernel(4.14) Hacks : [0410] Slab Memory Corruption Case Study#1 - 로그 분석(1) 2018-06-15 23:33:32 #
... ; 12. 메모리 디스크립터 - struct mm_struct 구조체 소개 13. vmalloc - overview14. vmalloc - debugging 슬랩 메모리 Corruption Cast Study: 난이도 최하 이번에는 슬랩 오브젝트가 메모리를 깨면 어떤 방식으로 커널 크래시가 ... more
Linux Kernel(4.14) Hacks : [0410] Slab Memory Corruption Case Study#1 - 디버깅(2) 2018-06-15 23:33:39 #
... ; 12. 메모리 디스크립터 - struct mm_struct 구조체 소개 13. vmalloc - overview14. vmalloc - debugging 여기까지 커널 로그의 의미를 알아봤으니 이제는 슬랩 오브젝트가 오염돼서 커널 크래시 디버깅을 할 차례입니다.[701.043491][7] ... more
Linux Kernel(4.14) Hacks : [0410] Slab Memory Corruption Case Study#2 - 디버깅 2018-06-15 23:33:51 #
... ; 12. 메모리 디스크립터 - struct mm_struct 구조체 소개 13. vmalloc - overview14. vmalloc - debugging 난이도: 하 이제 커널 로그부터 볼게요. 이전과 비슷한 패턴인데 약간 다른 것 같네요.1 [ 2551.510956 / 04- ... more
Linux Kernel(4.14) Hacks : [0410] Slab Memory Corruption Case Study#3 - 디버깅 2018-06-15 23:34:01 #
... ; 12. 메모리 디스크립터 - struct mm_struct 구조체 소개 13. vmalloc - overview14. vmalloc - debugging 난이도: 최하 커널 로그를 보니 Binder:1887_12란 프로세스가 7676767e 란 가상 주소를 처리 못해 데이터 어 ... more
Linux Kernel(4.14) Hacks : [Linux][Kernel]메모리 디스크립터 - struct mm_struct 구조체 소개 2018-06-15 23:34:10 #
... ; 12. 메모리 디스크립터 - struct mm_struct 구조체 소개 13. vmalloc - overview14. vmalloc - debugging 리눅스 커널에서 돌고 있는 프로세스는 크게 2가지로 분류할 수 있습니다.유저 공간과 커널 공간에서 생성된 생성된 프로세스들이죠. 유저 ... more
Linux Kernel(4.14) Hacks : [Linux][Kernel] 슬랩 Slab Memory 소개 2018-08-15 12:10:33 #
... 구조체 소개 13. vmalloc - overview14. vmalloc - debugging ... more
최근 덧글