elftools 0.2.1 → 0.2.2
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/lib/elftools/constants.rb +37 -0
- data/lib/elftools/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c37e680363ef30fc5b86b00e983ccbc45125b852
|
|
4
|
+
data.tar.gz: 705aaeba44b9dd230d21afa5647d8b41833f1f3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0aa96a9e111680f44fc23c0309a181d2968675ddfb5b3ab86fdd76f7923900702543803028f9d66ba5a7e5d3b4d3924ac18d5115c9dceba54c8602e33bd545bc
|
|
7
|
+
data.tar.gz: a723dfa7b1bcc39a687b488ff522a7ded8439e72e2275be16c903979d671d6ca8e737fe233d991fa2541f10e80189dc6d8c3243d31467703f1e131fc0cf019e6
|
data/lib/elftools/constants.rb
CHANGED
|
@@ -107,6 +107,43 @@ module ELFTools
|
|
|
107
107
|
end
|
|
108
108
|
include DT
|
|
109
109
|
|
|
110
|
+
# Values of `d_un.d_val' in the DT_FLAGS and DT_FLAGS_1 entry.
|
|
111
|
+
module DF
|
|
112
|
+
DF_ORIGIN = 0x00000001 # Object may use DF_ORIGIN
|
|
113
|
+
DF_SYMBOLIC = 0x00000002 # Symbol resolutions starts here
|
|
114
|
+
DF_TEXTREL = 0x00000004 # Object contains text relocations
|
|
115
|
+
DF_BIND_NOW = 0x00000008 # No lazy binding for this object
|
|
116
|
+
DF_STATIC_TLS = 0x00000010 # Module uses the static TLS model
|
|
117
|
+
|
|
118
|
+
DF_1_NOW = 0x00000001 # Set RTLD_NOW for this object.
|
|
119
|
+
DF_1_GLOBAL = 0x00000002 # Set RTLD_GLOBAL for this object.
|
|
120
|
+
DF_1_GROUP = 0x00000004 # Set RTLD_GROUP for this object.
|
|
121
|
+
DF_1_NODELETE = 0x00000008 # Set RTLD_NODELETE for this object.
|
|
122
|
+
DF_1_LOADFLTR = 0x00000010 # Trigger filtee loading at runtime.
|
|
123
|
+
DF_1_INITFIRST = 0x00000020 # Set RTLD_INITFIRST for this object
|
|
124
|
+
DF_1_NOOPEN = 0x00000040 # Set RTLD_NOOPEN for this object.
|
|
125
|
+
DF_1_ORIGIN = 0x00000080 # $ORIGIN must be handled.
|
|
126
|
+
DF_1_DIRECT = 0x00000100 # Direct binding enabled.
|
|
127
|
+
DF_1_TRANS = 0x00000200 # :nodoc:
|
|
128
|
+
DF_1_INTERPOSE = 0x00000400 # Object is used to interpose.
|
|
129
|
+
DF_1_NODEFLIB = 0x00000800 # Ignore default lib search path.
|
|
130
|
+
DF_1_NODUMP = 0x00001000 # Object can't be dldump'ed.
|
|
131
|
+
DF_1_CONFALT = 0x00002000 # Configuration alternative created.
|
|
132
|
+
DF_1_ENDFILTEE = 0x00004000 # Filtee terminates filters search.
|
|
133
|
+
DF_1_DISPRELDNE = 0x00008000 # Disp reloc applied at build time.
|
|
134
|
+
DF_1_DISPRELPND = 0x00010000 # Disp reloc applied at run-time.
|
|
135
|
+
DF_1_NODIRECT = 0x00020000 # Object has no-direct binding.
|
|
136
|
+
DF_1_IGNMULDEF = 0x00040000 # :nodoc:
|
|
137
|
+
DF_1_NOKSYMS = 0x00080000 # :nodoc:
|
|
138
|
+
DF_1_NOHDR = 0x00100000 # :nodoc:
|
|
139
|
+
DF_1_EDITED = 0x00200000 # Object is modified after built.
|
|
140
|
+
DF_1_NORELOC = 0x00400000 # :nodoc:
|
|
141
|
+
DF_1_SYMINTPOSE = 0x00800000 # Object has individual interposers.
|
|
142
|
+
DF_1_GLOBAUDIT = 0x01000000 # Global auditing required.
|
|
143
|
+
DF_1_SINGLETON = 0x02000000 # Singleton symbols are used.
|
|
144
|
+
end
|
|
145
|
+
include DF
|
|
146
|
+
|
|
110
147
|
# These constants define the various ELF target machines.
|
|
111
148
|
module EM
|
|
112
149
|
EM_NONE = 0 # none
|
data/lib/elftools/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elftools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- david942j
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-09-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bindata
|
|
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
161
161
|
version: '0'
|
|
162
162
|
requirements: []
|
|
163
163
|
rubyforge_project:
|
|
164
|
-
rubygems_version: 2.
|
|
164
|
+
rubygems_version: 2.5.2
|
|
165
165
|
signing_key:
|
|
166
166
|
specification_version: 4
|
|
167
167
|
summary: ELFTools - Pure ruby library for parsing ELF files
|