Skip to content

logg9715/linux-c-bash-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux-c-bash-study

학습 목적 , 방법

예제를 보고 디버깅 => 학습한 내용을 임시파일에 열거 => 내가 작성한 내용을 ai에게 보내어 md파일과 노션에 정리

  • C 프로그램의 크래시 진단 (gdb)
  • Linux 환경에서의 자동화 및 운영 스크립팅 (Bash)
  • 메모리·프로세스·시그널 등 시스템 기초

구조

  • gdb-debug/ — C 프로그램 버그 재현 + gdb 디버깅 케이스
  • bash-scripts/ — Bash 스크립트 학습 및 실용 예제
  • linux-notes/ — gdb 명령어, 메모리 구조 등 정리 노트

학습 환경

  • OS: Ubuntu 24.04 (OrbStack / arm64) (mac 환경)
  • Compiler: gcc
  • Debugger: gdb

정리된 내용

  • gdb 기초 명령어
  • 프로세스 메모리 구조 (스택/힙/텍스트)
  • 디버깅 케이스 :
    • NULL 역참조, off-by-one, 초기화되지 않은 변수
    • 버퍼 오버플로우, double free, use-after-free, memory leak
    • heap corruption, 정렬(alignment) 위반, NULL 함수 포인터
    • 인코딩 변환(signed char 인덱스), 고정 길이 레코드 파싱, 정렬 비교 함수 오버플로우
  • gdb 단독 분석 + ASan/UBSan/valgrind 병행 진단
  • Bash 자동화 스크립트

About

linux-c-bash-study

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors