(PWN) 스택 프레임

# 관련된

스택 프레임

# 세부 사항

스택 프레임이란 무엇입니까?

-> 함수 호출 정보를 순서대로 스택에 저장



그림과 같이 LIFO(Last In First Out) 구조입니다.


#include <stdio.h>

int ft_repeat(void)
{
	printf("this is overflow!
"); return (ft_repeat()); }

그림과 코드에서 보듯이 재귀 함수가 지정된 메모리를 초과하여 실행되면 오버플로가 발생합니다.

# 인용하다

http://www.tcpschool.com/c/c_memory_stackframe

error: Alert: Content selection is disabled!!