ruby-macho 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -7
- data/lib/macho.rb +1 -1
- data/lib/macho/headers.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 90daf462e0ebdf631ea6f5a9b045ae9d590ecd5c
|
|
4
|
+
data.tar.gz: 44da8c060f29021a991842f6728140b433a868c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e25c029ab6f3819dc255a1ebe0c77d343896a4e971dc3c3f54cdb97999fcf88ca042aa7a730897d866ec9a6e04113180ce23e5d4e9133d22ce1dcca326658da1
|
|
7
|
+
data.tar.gz: fa24c66f7de915d030829ef174764a045b0e45bae3f2cfe858fdf8a2b83e417d5e42e27f5486886355fb3260f21c0313730b4fe4b47007b743984b3dcd74e977
|
data/README.md
CHANGED
|
@@ -39,18 +39,17 @@ puts lc_vers.version_string # => "10.10.0"
|
|
|
39
39
|
### What works?
|
|
40
40
|
|
|
41
41
|
* Reading data from x86/x86_64 Mach-O files
|
|
42
|
-
* Changing the IDs of Mach-O dylibs
|
|
43
|
-
* Changing install names in Mach-O files
|
|
42
|
+
* Changing the IDs of Mach-O and Fat dylibs
|
|
43
|
+
* Changing install names in Mach-O and Fat files
|
|
44
44
|
|
|
45
45
|
### What might work?
|
|
46
46
|
|
|
47
47
|
* Reading *some* data from PPC Mach-O files.
|
|
48
|
-
* Reading data from "Fat" files.
|
|
49
48
|
|
|
50
49
|
### What doesn't work yet?
|
|
51
50
|
|
|
52
51
|
* Reading data from any other architecure's Mach-O files (probably).
|
|
53
|
-
*
|
|
52
|
+
* Adding, deleting, or modifying rpaths.
|
|
54
53
|
|
|
55
54
|
### What needs to be done?
|
|
56
55
|
|
|
@@ -60,9 +59,6 @@ puts lc_vers.version_string # => "10.10.0"
|
|
|
60
59
|
|
|
61
60
|
Attribution:
|
|
62
61
|
|
|
63
|
-
* `lib/macho/cstruct.rb` was taken from Sami Samhuri's
|
|
64
|
-
[compiler](https://github.com/samsonjs/compiler) repository.
|
|
65
|
-
(No license provided).
|
|
66
62
|
* Constants were taken from Apple, Inc's
|
|
67
63
|
[`loader.h` in `cctools/include/mach-o`](http://www.opensource.apple.com/source/cctools/cctools-870/include/mach-o/loader.h).
|
|
68
64
|
(Apple Public Source License 2.0).
|
data/lib/macho.rb
CHANGED
data/lib/macho/headers.rb
CHANGED
|
@@ -43,7 +43,7 @@ module MachO
|
|
|
43
43
|
CPU_TYPE_X86_64 = (CPU_TYPE_X86 | CPU_ARCH_ABI64)
|
|
44
44
|
|
|
45
45
|
# PowerPC compatible CPUs (7400 series?)
|
|
46
|
-
CPU_TYPE_POWERPC =
|
|
46
|
+
CPU_TYPE_POWERPC = 0x12
|
|
47
47
|
|
|
48
48
|
# PowerPC64 compatible CPUs (970 series?)
|
|
49
49
|
CPU_TYPE_POWERPC64 = (CPU_TYPE_POWERPC | CPU_ARCH_ABI64)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-macho
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- William Woodruff
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-11-
|
|
11
|
+
date: 2015-11-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A library for viewing and manipulating Mach-O files in Ruby.
|
|
14
14
|
email: william@tuffbizz.com
|