main is usually a function
char* main = "usually a programming blog";
Sunday, May 13, 2012
Automatic binary hardening with Autoconf
›
How do you protect a C program against memory corruption exploits? We should try to write code with no bugs, but we also need protection aga...
223 comments:
Saturday, April 28, 2012
Scheme without special forms: a metacircular adventure
›
A good programming language will have many libraries building on a small set of core features. Writing and distributing libraries is much ea...
117 comments:
Thursday, April 5, 2012
A minimal encoder for uncompressed PNGs
›
I've often wondered how hard it is to output a PNG file directly, without using a library or a standard tool like pnmtopng . (I'm n...
176 comments:
Tuesday, February 14, 2012
Continuations in C++ with fork
›
[Update, Jan 2015: I've translated this code into Rust .] While reading " Continuations in C " I came across an intriguing id...
122 comments:
Thursday, February 2, 2012
Generating random functions
›
How can we pick a random Haskell function? Specifically, we want to write an IO action randomFunction :: IO ( Integer -> Bool ) wit...
132 comments:
Saturday, January 28, 2012
Writing kernel exploits
›
Yesterday I gave a talk about writing kernel exploits. I've posted the slides [PDF] . Here is the original description: Did you know t...
79 comments:
Thursday, January 19, 2012
Embedding GDB breakpoints in C source code
›
Have you ever wanted to embed GDB breakpoints in C source code? int main() { printf( "Hello, \n " ); EMBED_BREAKPOINT; ...
755 comments:
‹
›
Home
View web version