Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- ELASTIC
- Proxy
- Elasticsearch
- 보안양파
- Kibana server is not ready yet
- Kibana
- freebsd
- 로그인불가
- 한글가이드
- elastic stack
- ssh key 배포
- endpoint security
- GitLab
- macos
- xe guest utilities
- hardening
- x-pack
- G-suite
- PlayBook
- pfsense
- Windows
- XCP-ng
- ansible
- docker
- centos 8
- application security
- proxycfg
- bash
- miniconda
Archives
- Today
- Total
선 밖에 선 자유인
메모리 관리 본문
VirtualAlloc() : 페이지의 상태를 RESERVE 나 COMMIT로 만드는 역할
LPVOID VirtualAlloc(\
LPVOID lpAddress, // 예약 및 할당하고자 하는 메모리의 시작 주소 지정, 일반적으로 NULL 지정
SIZE_T dwSize, // 할당하고자 하는 메모리의 크리
DWORD fiAllocationType, // 메모리 할당 타입 결정
DWORD flProtect // 페이지별 접근 방식에 제한을 주는 용도 (RESERVE - PAGE_NOACCESS,
); // COMMIT - PAGE_READWRITE
VirtualFree() : 페이지 상태 해제 함수
LPVOID VirtualFree(
LPVOID lpAddress, // 해제할 메모리 공간의 시작 주소를 지정한다.
SIZE_T dwSize, // 해제할 메모리 크기를 바이트 단위로 지정
DWORD dwFreeType // MEM_DECOMMIT 과 MEM_RELEASE 중 하나를 지정할 수 있다.
);
Comments