The Witchcraft Compiler Collection
WCC
 All Data Structures Files Functions Variables Typedefs Macros
Macros | Functions
wld.c File Reference
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/types.h>
#include <string.h>
#include <limits.h>
#include <errno.h>
#include <elf.h>
#include <config.h>

Go to the source code of this file.

Macros

#define DEFAULT_NAME   "wld"
 

Functions

int mk_lib (char *name)
 
int print_version (void)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

#define DEFAULT_NAME   "wld"

Witchcraft Compiler Collection

Author: Jonathan Brossard - endra.nosp@m.zine.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

This code is published under the MIT License.

Definition at line 31 of file wld.c.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 91 of file wld.c.

int mk_lib ( char *  name)

Patch ELF ehdr->e_type to ET_DYN

Definition at line 36 of file wld.c.

int print_version ( void  )

Definition at line 85 of file wld.c.