-
Stack overflow vs Heap overflow 개념 이해코딩Coding/Rust❤️메모리Memory관리_기초상식 2022. 2. 3. 13:46728x90
https://m.blog.naver.com/dbstnsgh2/221967559511
Stack and Heap 개념과 위치
https://stackoverflow.com/questions/79923/what-and-where-are-the-stack-and-heap/79936#79936
A StackOverflowError is a runtime error in Java. It is thrown when the amount of call stack memory allocated by the JVM is exceeded. A common case of a StackOverflowError being thrown, is when the call stack exceeds due to excessive deep or infinite recursion.Heap overflow
it happens when a chunk of memory is allocated to the heap and data is written to this memory without any bound checking being done on the data. This is can lead to overwriting some critical data structures in the heap such as the heap headers, or any heap-based data such as dynamic object pointers, which in turn can lead to overwriting the virtual function table.
외국 유튜버 정리 잘 된 자료
https://youtu.be/rDoqT-a6UFg
https://www.quora.com/What-is-the-stack-and-heap-memory-architecture-used-by-C
내 나름대로 이해하고 나름 정리한 자료
반응형'코딩Coding > Rust❤️메모리Memory관리_기초상식' 카테고리의 다른 글
Rust]How to convert a String into a &'static str (0) 2022.04.18 Compile heaptrack_gui on macOS using homebrew (0) 2022.04.02 What and where are the stack and heap? (0) 2022.03.06 GopherConSg2019)Understanding Allocations: The Stack and the Heap (0) 2022.02.22 Stack vs Heap Memory in C++_The Cherno (0) 2021.12.05 Intro to Rustlang(Ownership and Borrowing)STACK과HEAP설명 (0) 2021.05.13 Rust용어)스택(stack)과 힙(heap) 개념 이해하기-소유권이해하기에 필수 (0) 2021.05.08 [컴퓨터 기초]메모리 구조(Memory Structure)_Data Structure(Code, Data, Stack, Heap) (0) 2020.09.24