rendered paste body[root@newsformormons corenumber]# gcc -c corenumber.c -o corenumber.o
[root@newsformormons corenumber]# ar rcs libcorenumber.a corenumber.o
[root@newsformormons corenumber]# strings libcorenumber.a
!<arch>
/ 1203673038 0 0 0 26 `
^CoreNumber_Decode
corenumber.o/ 1203673032 0 0 100644 2440 `
0123456789ABCDEFGHJKLNPQRSTUVXYZ
GCC: (GNU) 4.1.2 20070626 (Red Hat 4.1.2-14)
.symtab
.strtab
.shstrtab
.rela.text
.data
.bss
.rodata
.rela.eh_frame
.comment
.note.GNU-stack
corenumber.c
CharSet
GetAttrib
GetCode
CoreNumber_Decode
[root@newsformormons corenumber]# php process.php
Processing corenumber.c
Found function GetAttrib.
Found function GetCode.
Found function CoreNumber_Decode.
Processing corenumber.h
Allowing CoreNumber_Decode
Processing library libcorenumber.a
Nulling references to GetAttrib
Nulling references to GetCode
Done.
[root@newsformormons corenumber]# strings libcorenumber.a
!<arch>
/ 1203673038 0 0 0 26 `
^CoreNumber_Decode
corenumber.o/ 1203673032 0 0 100644 2440 `
0123456789ABCDEFGHJKLNPQRSTUVXYZ
GCC: (GNU) 4.1.2 20070626 (Red Hat 4.1.2-14)
.symtab
.strtab
.shstrtab
.rela.text
.data
.bss
.rodata
.rela.eh_frame
.comment
.note.GNU-stack
corenumber.c
CharSet
CoreNumber_Decode
[root@newsformormons corenumber]# gcc -static -o test test.c -L. -lcorenumber
[root@newsformormons corenumber]# ./test
Seed: 33
AppID: 1
Type: 1
Platform: 4
UserID: 6d9056
[root@newsformormons corenumber]#