11.리틀엔디안과 빅엔디안
11.리틀엔디안과 빅엔디안
11.리틀엔디안과 빅엔디안
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
버퍼 오버플로우-왕기초편<br />
<strong>11.리틀엔디안과</strong> <strong>빅엔디안</strong><br />
./11/ex2.c<br />
#include “dumpcode.h”<br />
int main()<br />
{<br />
int test = 10;<br />
}<br />
dumpcode((unsigned char *)&test, 4);<br />
[컴파일 결과]<br />
$ gcc -o ex2 ex2.c<br />
$<br />
100