How Computers Work
segfault
touching memory you don't own
Source board
This definition comes from the board below. Open it to see the term in context.
Also defined on Processes Threads and the Kernel.
More terms from this board
- ASTthe parsed syntax tree
- buffer overflowwriting past a buffer (overwrites the return address → exploit)
- bytecodeportable mid-level code for a VM
- CALL/RETpush-addr-and-jump / pop-and-jump
- compilersource → machine code ahead of time
- dereference (*)follow it
- GCgarbage collector (auto-frees the heap)
- interpreterruns source line-by-line
- JITcompile hot paths to native at runtime
- linkerjoins code + libraries
- memory leaknever freeing
- pointera variable holding an address
- stack frameone call's locals + args + return address
- stack overflowtoo-deep recursion
- use-after-free / dangling pointerusing freed memory