Shinichiro Hamaji
|
f7b12cfbf5
|
Create test mac binaries using ld-mac.
|
2011-03-21 13:12:41 +09:00 |
|
Shinichiro Hamaji
|
6f80df9cdb
|
Handle @executable_path
|
2011-03-21 12:48:58 +09:00 |
|
Shinichiro Hamaji
|
83bb552901
|
Use exported symbols in dylibs
Now we can load a simple binary which uses dylibs.
|
2011-03-20 22:34:29 +09:00 |
|
Shinichiro Hamaji
|
f1342822e5
|
parse export info
|
2011-03-20 22:34:18 +09:00 |
|
Shinichiro Hamaji
|
b78ea3287f
|
Load dylibs recursively
|
2011-03-20 22:33:33 +09:00 |
|
Shinichiro Hamaji
|
7eff922972
|
Support tmpfile.
|
2011-03-17 00:45:34 +09:00 |
|
Shinichiro Hamaji
|
fda401ba30
|
Add rewind support
|
2011-03-17 00:42:16 +09:00 |
|
Shinichiro Hamaji
|
f957be6f38
|
Add putc support
|
2011-03-17 00:35:09 +09:00 |
|
Shinichiro Hamaji
|
edec3160d9
|
Add getc and dummy implementations for signals
|
2011-03-16 23:50:54 +09:00 |
|
Shinichiro Hamaji
|
2199f80fed
|
Link pthread from ld-mac to workaround a gdb bug
|
2011-03-16 23:49:56 +09:00 |
|
Shinichiro Hamaji
|
71bf90281d
|
Add __mb_cur_max
|
2011-03-16 18:24:39 +09:00 |
|
Shinichiro Hamaji
|
ecaf295319
|
Split MachOLoader::load into 2 functions.
|
2011-03-16 15:04:47 +09:00 |
|
Shinichiro Hamaji
|
79a58b60b2
|
Store LC_LOAD_DYLIB
|
2011-03-16 14:55:36 +09:00 |
|
Shinichiro Hamaji
|
8f00492a4b
|
Remove lookupSymbol as it doesn't make sense at all.
|
2011-03-16 14:49:45 +09:00 |
|
Shinichiro Hamaji
|
ece02be3c5
|
Add a test for ctor and dtor.
|
2011-03-16 09:30:48 +09:00 |
|
Shinichiro Hamaji
|
ac569cd9af
|
Support atexit
|
2011-03-16 09:27:58 +09:00 |
|
Shinichiro Hamaji
|
5995117304
|
Update README to notice OpenCFLite
|
2011-03-16 09:22:52 +09:00 |
|
Shinichiro Hamaji
|
e912c26af4
|
Use libCoreFoundation if libopencflite is installed.
|
2011-03-16 09:16:49 +09:00 |
|
Shinichiro Hamaji
|
da7f1429cd
|
Better error message for failing execvp
|
2011-03-16 09:09:10 +09:00 |
|
Shinichiro Hamaji
|
f746faa95a
|
Add a list of working programs
|
2011-03-15 04:55:24 +09:00 |
|
Shinichiro Hamaji
|
e1db436183
|
Write "How to run Mach-O binaries using binfmt_misc" to README.
|
2011-03-15 04:33:53 +09:00 |
|
Shinichiro Hamaji
|
bc68c32bf0
|
Write "How to use compiler tool chains of Xcode" into README
|
2011-03-15 04:26:01 +09:00 |
|
Shinichiro Hamaji
|
f24f926648
|
Fix symlinks in unpack_xcode.sh
|
2011-03-15 04:25:12 +09:00 |
|
Shinichiro Hamaji
|
170324357d
|
Fix the implementation of strlcpy and strlcat.
TODO(hamaji): Write a test...
|
2011-03-15 03:47:02 +09:00 |
|
Shinichiro Hamaji
|
53ca2a194c
|
Output entry address with hex format.
|
2011-03-15 03:37:49 +09:00 |
|
Shinichiro Hamaji
|
3baada20bb
|
Support S_MOD_INIT_FUNC_POINTERS.
|
2011-03-15 03:29:05 +09:00 |
|
Shinichiro Hamaji
|
be18ae024f
|
Dump arguments in exec.
|
2011-03-14 02:32:30 +09:00 |
|
Shinichiro Hamaji
|
c7aada3583
|
Use custom __cxa_throw as we cannot support C++ exceptions.
|
2011-03-14 02:22:35 +09:00 |
|
Shinichiro Hamaji
|
1f20c11f7f
|
Add CC_MD5_* .
|
2011-03-14 02:10:26 +09:00 |
|
Shinichiro Hamaji
|
3943e2e00b
|
Implement host_statistics with a dummy implementation.
|
2011-03-14 01:54:31 +09:00 |
|
Shinichiro Hamaji
|
4a07cf5976
|
Link libuuid for uuid_generate_random.
|
2011-03-14 01:45:49 +09:00 |
|
Shinichiro Hamaji
|
78b60f3825
|
Add __toupper, strlcat, and __assert_rtn.
|
2011-03-14 01:43:23 +09:00 |
|
Shinichiro Hamaji
|
3f9feb8d70
|
Implement BIND_OPCODE_DO_BIND_* .
|
2011-03-14 01:39:16 +09:00 |
|
Shinichiro Hamaji
|
70ca8880b6
|
Add lstat support.
Removed an unnecessary fflush from stat as well.
|
2011-03-14 01:11:39 +09:00 |
|
Shinichiro Hamaji
|
124ec1894c
|
Rename f?stat$INODE64 to __darwin_f?stat
|
2011-03-14 01:09:18 +09:00 |
|
Shinichiro Hamaji
|
ba6513cfe3
|
Add a script to unpack CLI tools from xcode package.
|
2011-03-14 01:05:35 +09:00 |
|
Shinichiro Hamaji
|
f3f037b46e
|
Support fat binaries (a.k.a. universal binaries)
|
2011-03-11 03:05:14 +09:00 |
|
Shinichiro Hamaji
|
6090b0abde
|
Add fat.h and fat.cc to share code in extract.cc
|
2011-03-11 02:52:03 +09:00 |
|
Shinichiro Hamaji
|
4715f51617
|
Add a constructor to MachO as a preparation for fat binary support.
|
2011-03-11 02:25:09 +09:00 |
|
Shinichiro Hamaji
|
77b6cc8448
|
Don't #include elf.h from ld-mac.
|
2011-03-10 01:12:16 +09:00 |
|
Shinichiro Hamaji
|
8c351ea5de
|
Add Makefile.
|
2011-03-10 01:08:29 +09:00 |
|
Shinichiro Hamaji
|
7b2387a547
|
Add some words to README.
|
2011-03-10 01:05:56 +09:00 |
|
Shinichiro Hamaji
|
9046e0465d
|
The first code commit.
|
2011-03-10 00:55:54 +09:00 |
|
Shinichiro Hamaji
|
991a8047f5
|
first commit
|
2011-03-10 00:16:28 +09:00 |
|