elf_utils 0.3.2 → 0.3.3
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/elf_utils/section/debug_info/die.rb +4 -0
- data/lib/elf_utils/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a259cc784e0cde49b3f671fe36b45217088fb8218d536095e27ec419cd17d484
|
4
|
+
data.tar.gz: 40948dcdee77bcf311cb5f0e868050bbee08b5e2720b242e7b9efb0331d8ff10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae5b6387e4a1bdb024323f7cbf71cf6a72eccbddb9c39314e0dd791e36e8bf2a616a0fd3faf6ad9ac2a0d41c48aef219b267c385674582851745759793491180
|
7
|
+
data.tar.gz: f8e383017f3ce23629660b1ed1af929dce091b7457f9f51d55ce7fe717ce37998ff2c9b9d357b16e5ce061533b234ae18566d80667a0824f0e7e49af1e2667d9
|
@@ -331,6 +331,10 @@ module ElfUtils
|
|
331
331
|
offset = loc + type.size
|
332
332
|
end
|
333
333
|
|
334
|
+
# if there's tail padding to fit a specific alignment, add it here
|
335
|
+
tail = self[:byte_size] - offset
|
336
|
+
struct.pad(tail) if tail > 0
|
337
|
+
|
334
338
|
# ensure we include the bitfield if it was the last element
|
335
339
|
struct.attribute(bitfield.build) if bitfield
|
336
340
|
|
data/lib/elf_utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elf_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David M. Lary
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ctypes
|