Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
first commit of binfmt_pe sources
Browse files Browse the repository at this point in the history
  • Loading branch information
yuckify committed Jul 19, 2013
1 parent a4c3ea4 commit 96d5cd4
Show file tree
Hide file tree
Showing 13 changed files with 834 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
obj-m += src/binfmt_pe.o
src/pe_module-objs := src/binfmt_pe.o src/pe.o

KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

all:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules

clean:
rm -f $(PWD)/modules.order $(PWD)/Module.symvers
$(MAKE) -C $(KDIR) M=$(PWD) clean
5 changes: 5 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
For using QtCreator:
1. update binfmt_pe.includes - The paths in this file will be used by QtCreator to search for header files. Currently there is one path here which points to the base directory of the kernel headers. Update this path to point to the location of your kernel headers.

Build:
$ make
2 changes: 2 additions & 0 deletions binfmt_pe.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// ADD PREDEFINED MACROS HERE!
__KERNEL__
1 change: 1 addition & 0 deletions binfmt_pe.creator
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[General]
4 changes: 4 additions & 0 deletions binfmt_pe.files
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
src/binfmt_pe.c
src/pe.h
src/pe.c
src/pe_types.h
1 change: 1 addition & 0 deletions binfmt_pe.includes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/lib/modules/3.8.0-19-generic/build/include
Loading

0 comments on commit 96d5cd4

Please sign in to comment.