blob: 12374e1f7c65a2d475becb0f6bae67d0a347e9a8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
// Compile with $CC -nostdlib -shared TestModule.c -o TestModule.so
// The actual contents of the test module is not important here. I am using this because it
// produces an extremely tiny (but still perfectly valid) module.
void
boom(void)
{
char *BOOM;
*BOOM = 47;
}
|