본문 바로가기

sh711 님의 블로그

검색하기
sh711 님의 블로그
프로필사진 sh711

  • 분류 전체보기 (24)
    • Study (17)
      • Linux (11)
      • Windows (4)
      • Android (2)
      • iOS (0)
    • Tools (5)
      • gdb (1)
      • Windbg (1)
      • Frida (1)
      • lldb (0)
      • ssh (1)
    • Development (2)
      • Android (2)
      • Web (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Tags
  • cmake
  • dangling pointer
  • return to libraty
  • fastbin
  • pwndbg
  • 계산기
  • canary leak
  • brop
  • JOP
  • patchelf
  • HOS
  • top chunk
  • frida-dump
  • randtbl
  • RAO
  • kaslr
  • windows
  • libc-database
  • kernel debug
  • SCP
  • WinDBG
  • PLT
  • ntwritefile
  • house of force
  • libc.so
  • Android
  • ioploaddrivers
  • windows kernel
  • elf 헤더
  • sgerrand
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록heap (1)

sh711 님의 블로그

Dangling Pointer

1.  Dangling PointerDangling Pointer란, 할당된 메모리가 free 이후에도 해제된 메모리를 계속 가리키는 포인터를 의미한다.따라서, 프로그램 개발 시 해당 포인터를 NULL 값으로 초기화하지 않는 경우 UAF 등의 버그가 발생할 수 있으며 이를 통해 노출되지 말아야할 정보가 노출되거나 DFB를 통한 임의 주소 메모리 할당 등의 행위가 가능해진다. 2. 예제 코드코드 내에서 #include #include int main() { int *ptr = (int *)malloc(sizeof(int)); *ptr = 42; printf("Before Free : *ptr = %d\n", *ptr); free(ptr); pr..

Study/Linux 2025. 4. 6. 15:21
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바