elfkit 0.0.7

an elf parser and manipulation library in pure rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

char *x = 0;
__attribute__((constructor)) void xinit() {
    x = "The quick brown fox jumps over the lazy dog";
}

__attribute__((destructor)) void xfini() {
    printf(x);
}

int main(int argc, char**argv) {
    return 42;
}