Pavel Labath | df2ad4c | 2016-05-25 10:48:16 +0000 | [diff] [blame] | 1 | // Compile with $CC -nostdlib -shared TestModule.c -o TestModule.so |
2 | // The actual contents of the test module is not important here. I am using this because it | ||||
3 | // produces an extremely tiny (but still perfectly valid) module. | ||||
4 | |||||
5 | void | ||||
6 | boom(void) | ||||
7 | { | ||||
8 | char *BOOM; | ||||
9 | *BOOM = 47; | ||||
10 | } |