gdb core 파일이 생성되지 않을 때

2022. 9. 16. 16:08·Tips & theory
728x90
반응형

core file size가 0이면 생성되지 않는다.

[assassin@localhost assassin]$ ulimit -a
core file size (blocks)     0
data seg size (kbytes)      unlimited
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  1024
pipe size (512 bytes)       8
stack size (kbytes)         8192
cpu time (seconds)          unlimited
max user processes          2048
virtual memory (kbytes)     unlimited

그러므로

[assassin@localhost assassin]$ ulimit -c unlimited
[assassin@localhost assassin]$ ulimit -a
core file size (blocks)     1000000
data seg size (kbytes)      unlimited
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  1024
pipe size (512 bytes)       8
stack size (kbytes)         8192
cpu time (seconds)          unlimited
max user processes          2048
virtual memory (kbytes)     unlimited

간단 해결.

728x90
반응형
저작자표시 비영리 변경금지 (새창열림)

'Tips & theory' 카테고리의 다른 글

Continuous free bug (double free bug)  (0) 2022.10.06
source code site  (0) 2022.09.19
House of force  (0) 2022.09.14
linux에서 docker 기본 사용법  (0) 2022.09.13
assembly code 기초  (0) 2022.09.08
'Tips & theory' 카테고리의 다른 글
  • Continuous free bug (double free bug)
  • source code site
  • House of force
  • linux에서 docker 기본 사용법
wyv3rn
wyv3rn
아저씨의 흔한 취미. wyv3rn#1249
  • wyv3rn
    think storage
    wyv3rn
  • 전체
    오늘
    어제
    • 분류 전체보기 (502)
      • To do list (7)
        • Doing (1)
        • Complete (6)
      • Diary (35)
      • Tips & theory (73)
      • Kernel Exploit (27)
        • Theory (15)
        • Exercise (5)
      • File Structure (6)
      • Wargame (313)
        • pwn.college (34)
        • Dreamhack (148)
        • pwnable.kr (15)
        • Lord of Sqlinjection (3)
        • Cryptohack (20)
        • Root me (27)
        • CodeEngn (4)
        • Exploit Education (22)
        • ROP Emporium (8)
        • H4C (10)
        • Hackerchool (22)
      • CTF (41)
        • Solved (39)
        • Unsolved (2)
      • Script (0)
      • RubiyaLap (0)
  • 블로그 메뉴

    • 홈
    • 방명록
  • 링크

  • 공지사항

    • PWN wargame 모음 (및 느낀점)
    • 비공개 글들에 대해.
    • 뭐라도 하나 얻어가시길...
  • 인기 글

  • 태그

    Format String Bug
    Me
    lob
    docker
    phoenix
    root
    root-me
    x86
    la ctf
    _IO_FILE
    Buffer Overflow
    dreamhack
    libc
    tcache
    x64
    FSB
    32bit
    pwntools
    heap
    exploit education
    rop
    BOF
    CANARY
    64bit
    hackerschool
    ROOT ME
    RTL
    cryptohack
    vtable
    pwnable.kr
  • 최근 댓글

  • 최근 글

  • 250x250
    반응형
  • hELLO· Designed By정상우.v4.10.3
wyv3rn
gdb core 파일이 생성되지 않을 때
상단으로

티스토리툴바