wasmtime 19.0.2 → 20.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +116 -120
- data/ext/Cargo.toml +6 -6
- data/ext/cargo-vendor/anyhow-1.0.83/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/anyhow-1.0.83/Cargo.toml +130 -0
- data/ext/cargo-vendor/anyhow-1.0.83/README.md +181 -0
- data/ext/cargo-vendor/anyhow-1.0.83/build.rs +179 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/backtrace.rs +406 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/chain.rs +102 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/fmt.rs +158 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/kind.rs +121 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/lib.rs +702 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/macros.rs +241 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/wrapper.rs +84 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_ensure.rs +724 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_macros.rs +81 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_repr.rs +30 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/ui/no-impl.stderr +32 -0
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/Cargo.toml +40 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/Cargo.toml +178 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/build.rs +396 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/alias_analysis.rs +403 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/binemit/mod.rs +171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/bitset.rs +187 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/context.rs +386 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph/elaborate.rs +835 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph.rs +838 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/inst_predicates.rs +236 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/constant.rs +462 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/dfg.rs +1777 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/entities.rs +562 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/function.rs +490 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/instructions.rs +1019 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/memflags.rs +452 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/mod.rs +108 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/trapcode.rs +149 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/types.rs +629 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/abi.rs +1707 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit.rs +3932 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/mod.rs +3083 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst.isle +4218 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower/isle.rs +884 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower.isle +2933 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/mod.rs +242 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/pcc.rs +565 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/call_conv.rs +127 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/abi.rs +1109 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/args.rs +1968 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit.rs +3466 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/encode.rs +654 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst.isle +2944 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower/isle.rs +625 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower.isle +2872 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/abi.rs +1047 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/args.rs +347 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/emit.rs +3646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst.isle +5033 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/lower.isle +3995 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/abi.rs +1369 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/evex.rs +748 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/rex.rs +596 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/vex.rs +491 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/args.rs +2289 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit.rs +4383 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit_state.rs +74 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/mod.rs +2798 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst.isle +5304 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower/isle.rs +1066 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.isle +4809 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.rs +339 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/mod.rs +234 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/pcc.rs +1003 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/legalizer/mod.rs +348 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/abi.rs +2594 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/buffer.rs +2512 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/inst_common.rs +75 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/isle.rs +914 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/lower.rs +1452 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/mod.rs +555 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/pcc.rs +169 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/vcode.rs +1807 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/nan_canonicalization.rs +110 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/cprop.isle +281 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/spectre.isle +14 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts.rs +295 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/prelude.isle +646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/result.rs +111 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/settings.rs +591 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/verifier/mod.rs +1957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/write.rs +631 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/entities.rs +101 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/formats.rs +205 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/instructions.rs +3791 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-control-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.107.2/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.107.2/Cargo.toml +50 -0
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/Cargo.toml +69 -0
- data/ext/cargo-vendor/cranelift-isle-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.107.2/Cargo.toml +46 -0
- data/ext/cargo-vendor/cranelift-native-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.107.2/Cargo.toml +45 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/Cargo.toml +107 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/code_translator.rs +3683 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/dummy.rs +912 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/mod.rs +8 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/spec.rs +945 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/func_translator.rs +296 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/lib.rs +58 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/state.rs +522 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/table.rs +104 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/Cargo.toml +48 -0
- data/ext/cargo-vendor/mach2-0.4.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/mach2-0.4.2/Cargo.toml +49 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-BSD +23 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/mach2-0.4.2/README.md +116 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/exc.rs +73 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/kern_return.rs +59 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/lib.rs +59 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/mach_port.rs +50 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/message.rs +345 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/ndr.rs +19 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/port.rs +67 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/semaphore.rs +22 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/structs.rs +66 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/sync_policy.rs +9 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/task.rs +46 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/task_info.rs +49 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_act.rs +36 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_policy.rs +121 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_status.rs +53 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/traps.rs +37 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm.rs +248 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_attributes.rs +18 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_page_size.rs +40 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_prot.rs +13 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_purgable.rs +42 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_region.rs +238 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_statistics.rs +58 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_sync.rs +11 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_types.rs +19 -0
- data/ext/cargo-vendor/object-0.33.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/object-0.33.0/CHANGELOG.md +797 -0
- data/ext/cargo-vendor/object-0.33.0/Cargo.toml +179 -0
- data/ext/cargo-vendor/object-0.33.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/object-0.33.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/object-0.33.0/README.md +56 -0
- data/ext/cargo-vendor/object-0.33.0/src/archive.rs +91 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/bytes.rs +141 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/elf.rs +3033 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/error.rs +41 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/mod.rs +18 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/table.rs +128 -0
- data/ext/cargo-vendor/object-0.33.0/src/common.rs +568 -0
- data/ext/cargo-vendor/object-0.33.0/src/elf.rs +6291 -0
- data/ext/cargo-vendor/object-0.33.0/src/endian.rs +831 -0
- data/ext/cargo-vendor/object-0.33.0/src/lib.rs +107 -0
- data/ext/cargo-vendor/object-0.33.0/src/macho.rs +3309 -0
- data/ext/cargo-vendor/object-0.33.0/src/pe.rs +3056 -0
- data/ext/cargo-vendor/object-0.33.0/src/pod.rs +239 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/any.rs +1328 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/archive.rs +759 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/comdat.rs +211 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/file.rs +383 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/import.rs +223 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/mod.rs +66 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/relocation.rs +108 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/section.rs +585 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/symbol.rs +635 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/attributes.rs +306 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/comdat.rs +162 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/compression.rs +56 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/dynamic.rs +117 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/file.rs +918 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/hash.rs +224 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/mod.rs +78 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/note.rs +271 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/relocation.rs +629 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/section.rs +1150 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/segment.rs +356 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/symbol.rs +595 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/version.rs +424 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/dyld_cache.rs +345 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/fat.rs +140 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/file.rs +783 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/load_command.rs +386 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/mod.rs +72 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/relocation.rs +149 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/section.rs +389 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/segment.rs +303 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/symbol.rs +492 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/mod.rs +880 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/data_directory.rs +214 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/export.rs +334 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/file.rs +1053 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/import.rs +339 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/mod.rs +68 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/relocation.rs +92 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/resource.rs +210 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/rich.rs +92 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/section.rs +440 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/read_cache.rs +213 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/read_ref.rs +149 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/traits.rs +551 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/util.rs +425 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/wasm.rs +966 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/comdat.rs +134 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/file.rs +697 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/mod.rs +63 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/relocation.rs +134 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/section.rs +433 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/segment.rs +117 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/symbol.rs +784 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/mod.rs +10 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/object.rs +678 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/writer.rs +518 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/mod.rs +9 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/object.rs +885 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/writer.rs +2309 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/macho.rs +1107 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/mod.rs +990 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/pe.rs +847 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/string.rs +186 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/util.rs +261 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/xcoff.rs +589 -0
- data/ext/cargo-vendor/object-0.33.0/src/xcoff.rs +905 -0
- data/ext/cargo-vendor/object-0.33.0/tests/integration.rs +2 -0
- data/ext/cargo-vendor/object-0.33.0/tests/parse_self.rs +25 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/coff.rs +23 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/elf.rs +47 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/mod.rs +4 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/bss.rs +255 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/coff.rs +58 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/comdat.rs +225 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/common.rs +245 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/elf.rs +289 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/macho.rs +64 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/mod.rs +704 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/section_flags.rs +90 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/tls.rs +316 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/Cargo.toml +220 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/ctx.rs +128 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/lib.rs +193 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/snapshots/preview_1.rs +1497 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/async_.rs +293 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/sync.rs +279 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/component/types.rs +792 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/builder.rs +455 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/exports.rs +124 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/imports.rs +175 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/types.rs +792 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/code.rs +3595 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/custom.rs +73 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/data.rs +186 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/elements.rs +221 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/exports.rs +98 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/globals.rs +112 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/imports.rs +157 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/memories.rs +128 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/names.rs +298 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/producers.rs +181 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tables.rs +134 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tags.rs +104 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/types.rs +678 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/lib.rs +215 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.lock +744 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.toml +66 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/types.rs +549 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/operators.rs +4076 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/types.rs +4449 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/Cargo.toml +45 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/lib.rs +3202 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/operator.rs +1131 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/tests/all.rs +279 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/Cargo.toml +268 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/code_builder.rs +201 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/runtime.rs +175 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile.rs +897 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/config.rs +2695 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/engine/serialization.rs +849 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/engine.rs +741 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/lib.rs +303 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/code_memory.rs +335 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/component.rs +661 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/host.rs +439 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/options.rs +554 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/typed.rs +2484 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func.rs +747 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/instance.rs +804 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/linker.rs +786 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/matching.rs +217 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/mod.rs +756 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/resources.rs +1133 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/types.rs +892 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/values.rs +978 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/coredump.rs +336 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/global.rs +300 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/table.rs +480 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func/typed.rs +898 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func.rs +2633 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/anyref.rs +46 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/externref.rs +50 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/i31.rs +14 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/rooting.rs +222 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled.rs +17 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/anyref.rs +472 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/externref.rs +644 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/i31.rs +345 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/rooting.rs +1543 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled.rs +12 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc.rs +87 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instance.rs +992 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instantiate.rs +345 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/linker.rs +1521 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/memory.rs +999 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module/registry.rs +354 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/profiling.rs +224 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store/data.rs +289 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store.rs +2796 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/func.rs +138 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/global.rs +68 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/memory.rs +286 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/table.rs +34 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trap.rs +641 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/type_registry.rs +632 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types/matching.rs +367 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types.rs +1378 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/v128.rs +131 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/values.rs +945 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime.rs +112 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-20.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/src/component.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen/dead-code.wit +27 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen.rs +342 -0
- data/ext/cargo-vendor/wasmtime-component-util-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-20.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/Cargo.toml +114 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/builder.rs +127 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiled_function.rs +225 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler/component.rs +962 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler.rs +1369 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/address_transform.rs +783 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/expression.rs +1252 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/func_environ.rs +2672 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/disabled.rs +116 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/enabled.rs +649 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc.rs +198 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/lib.rs +505 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/obj.rs +545 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.lock +782 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.toml +144 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/address_map.rs +125 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/builtin.rs +184 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/address_map.rs +72 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/mod.rs +389 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/module_artifacts.rs +300 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/trap_encoding.rs +69 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/artifacts.rs +72 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/compiler.rs +19 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/info.rs +672 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/adapt.rs +459 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/inline.rs +1332 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/types.rs +1972 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component.rs +103 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/trampoline.rs +3233 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/transcode.rs +89 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact.rs +711 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/gc.rs +60 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/lib.rs +70 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module.rs +780 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_artifacts.rs +145 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_environ.rs +1288 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/obj.rs +173 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/trap_encoding.rs +188 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/tunables.rs +158 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/vmoffsets.rs +952 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/src/unix.rs +265 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/Cargo.toml +47 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/Cargo.toml +147 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/build.rs +24 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/aarch64.rs +76 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/riscv64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.S +70 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.rs +34 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/x86_64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/async_yield.rs +35 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component/libcalls.rs +571 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component.rs +860 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/export.rs +108 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/disabled.rs +23 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/drc.rs +963 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/externref.rs +115 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/free_list.rs +767 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled.rs +18 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_ref.rs +486 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_runtime.rs +503 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/host_data.rs +81 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/i31.rs +86 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc.rs +244 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/on_demand.rs +217 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/gc_heap_pool.rs +92 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/table_pool.rs +231 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling.rs +699 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator.rs +780 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance.rs +1566 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/lib.rs +289 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/libcalls.rs +777 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/memory.rs +751 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/send_sync_ptr.rs +106 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/mmap.rs +111 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/traphandlers.rs +55 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/miri/mmap.rs +94 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/machports.rs +416 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/mmap.rs +151 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/signals.rs +401 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/windows/traphandlers.rs +104 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/table.rs +851 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/mod.rs +12 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory.rs +230 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory_disabled.rs +100 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_disabled.rs +16 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_enabled.rs +40 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers.rs +785 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/vmcontext.rs +1293 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/Cargo.toml +21 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/src/lib.rs +493 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/src/lib.rs +832 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/Cargo.toml +194 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/bindings.rs +283 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ctx.rs +659 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/filesystem.rs +433 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem/sync.rs +518 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem.rs +1079 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/io.rs +367 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/network.rs +539 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/tcp.rs +306 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ip_name_lookup.rs +126 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/lib.rs +404 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/network.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/pipe.rs +826 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/poll.rs +233 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview0.rs +879 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview1.rs +2601 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/runtime.rs +175 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio/worker_thread_stdin.rs +177 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio.rs +507 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/tcp.rs +847 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/udp.rs +125 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/write_stream.rs +203 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/api.rs +194 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/async_.rs +397 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/main.rs +91 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/preview1.rs +251 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/sync.rs +333 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/wit/deps/io/poll.wit +41 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/builder.rs +85 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/compiler.rs +257 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/lib.rs +2213 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/rust.rs +421 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/types.rs +202 -0
- data/ext/cargo-vendor/wast-208.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wast-208.0.1/Cargo.toml +60 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/binary.rs +1000 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/resolve.rs +1007 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/types.rs +999 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/wast.rs +160 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/binary.rs +1396 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/expr.rs +2016 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/func.rs +136 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/memory.rs +284 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/deinline_import_export.rs +235 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/names.rs +751 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/types.rs +267 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/table.rs +302 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/types.rs +901 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/wast.rs +256 -0
- data/ext/cargo-vendor/wast-208.0.1/src/lib.rs +551 -0
- data/ext/cargo-vendor/wast-208.0.1/src/names.rs +67 -0
- data/ext/cargo-vendor/wast-208.0.1/src/parser.rs +1377 -0
- data/ext/cargo-vendor/wast-208.0.1/src/token.rs +737 -0
- data/ext/cargo-vendor/wast-208.0.1/src/wast.rs +459 -0
- data/ext/cargo-vendor/wast-208.0.1/src/wat.rs +71 -0
- data/ext/cargo-vendor/wast-208.0.1/tests/annotations.rs +200 -0
- data/ext/cargo-vendor/wast-208.0.1/tests/parse-fail.rs +80 -0
- data/ext/cargo-vendor/wat-1.208.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wat-1.208.1/Cargo.toml +34 -0
- data/ext/cargo-vendor/wiggle-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-20.0.0/Cargo.toml +122 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/borrow.rs +113 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/guest_type.rs +237 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/lib.rs +1184 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/wasmtime.rs +97 -0
- data/ext/cargo-vendor/wiggle-generate-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-20.0.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/Cargo.toml +55 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/LICENSE +220 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/abi/mod.rs +671 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/bounds.rs +220 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/builtin.rs +263 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/call.rs +413 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/env.rs +435 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/mod.rs +756 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/abi.rs +291 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/asm.rs +252 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/masm.rs +573 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/mod.rs +154 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/regs.rs +149 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/mod.rs +223 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/abi.rs +517 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/asm.rs +1423 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/masm.rs +1256 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/mod.rs +169 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/lib.rs +19 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/masm.rs +947 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/visitor.rs +2149 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/Cargo.toml +101 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/abi.rs +309 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/lex.rs +747 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/resolve.rs +1443 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast.rs +1348 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/decoding.rs +1764 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/lib.rs +765 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/resolve.rs +2240 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/serde_.rs +108 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/sizealign.rs +179 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/all.rs +153 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit.json +166 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit +20 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit.json +281 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit +60 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit.json +774 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit +12 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit.json +72 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/wasi.wit +178 -0
- data/ext/src/ruby_api/convert.rs +15 -7
- data/ext/src/ruby_api/func.rs +2 -2
- data/ext/src/ruby_api/global.rs +2 -2
- data/ext/src/ruby_api/params.rs +5 -5
- data/ext/src/ruby_api/table.rs +3 -3
- data/lib/wasmtime/version.rb +1 -1
- metadata +1737 -1630
- data/ext/cargo-vendor/anyhow-1.0.79/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/anyhow-1.0.79/Cargo.toml +0 -67
- data/ext/cargo-vendor/anyhow-1.0.79/README.md +0 -179
- data/ext/cargo-vendor/anyhow-1.0.79/build.rs +0 -167
- data/ext/cargo-vendor/anyhow-1.0.79/src/backtrace.rs +0 -405
- data/ext/cargo-vendor/anyhow-1.0.79/src/chain.rs +0 -102
- data/ext/cargo-vendor/anyhow-1.0.79/src/fmt.rs +0 -156
- data/ext/cargo-vendor/anyhow-1.0.79/src/kind.rs +0 -119
- data/ext/cargo-vendor/anyhow-1.0.79/src/lib.rs +0 -698
- data/ext/cargo-vendor/anyhow-1.0.79/src/macros.rs +0 -231
- data/ext/cargo-vendor/anyhow-1.0.79/src/wrapper.rs +0 -81
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_ensure.rs +0 -722
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_macros.rs +0 -80
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_repr.rs +0 -31
- data/ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr +0 -31
- data/ext/cargo-vendor/cranelift-bforest-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.106.2/Cargo.toml +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/Cargo.toml +0 -175
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/build.rs +0 -395
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/alias_analysis.rs +0 -409
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/binemit/mod.rs +0 -171
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/bitset.rs +0 -165
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/context.rs +0 -384
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph/elaborate.rs +0 -836
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph.rs +0 -702
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/inst_predicates.rs +0 -217
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/constant.rs +0 -462
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/dfg.rs +0 -1734
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/entities.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/function.rs +0 -500
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/instructions.rs +0 -1000
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/memflags.rs +0 -310
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/mod.rs +0 -110
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/table.rs +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/trapcode.rs +0 -144
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/types.rs +0 -629
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/abi.rs +0 -1707
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/emit.rs +0 -3958
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/mod.rs +0 -3082
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst.isle +0 -4197
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower/isle.rs +0 -879
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower.isle +0 -2917
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/mod.rs +0 -241
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/pcc.rs +0 -565
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/call_conv.rs +0 -119
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/abi.rs +0 -1097
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/args.rs +0 -1974
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/emit.rs +0 -3485
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/encode.rs +0 -654
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst.isle +0 -2928
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower/isle.rs +0 -620
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower.isle +0 -2864
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/abi.rs +0 -1041
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/args.rs +0 -355
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/emit.rs +0 -3663
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst.isle +0 -5031
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/lower.isle +0 -3979
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/abi.rs +0 -1303
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/evex.rs +0 -749
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/rex.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/vex.rs +0 -492
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/args.rs +0 -2269
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit.rs +0 -4390
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit_state.rs +0 -72
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/mod.rs +0 -2852
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst.isle +0 -5232
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower/isle.rs +0 -1065
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.isle +0 -4770
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.rs +0 -353
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/mod.rs +0 -233
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/pcc.rs +0 -939
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/mod.rs +0 -356
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/table.rs +0 -114
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/abi.rs +0 -2657
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/buffer.rs +0 -2509
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/inst_common.rs +0 -74
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/isle.rs +0 -914
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/lower.rs +0 -1443
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/mod.rs +0 -558
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/pcc.rs +0 -159
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/vcode.rs +0 -1809
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/nan_canonicalization.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts/cprop.isle +0 -266
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts.rs +0 -284
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/prelude.isle +0 -641
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/result.rs +0 -108
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/settings.rs +0 -602
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/verifier/mod.rs +0 -2033
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/write.rs +0 -647
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/entities.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/formats.rs +0 -213
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/instructions.rs +0 -3810
- data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.106.2/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.106.2/Cargo.toml +0 -50
- data/ext/cargo-vendor/cranelift-frontend-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.106.2/Cargo.toml +0 -68
- data/ext/cargo-vendor/cranelift-isle-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.106.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/cranelift-native-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.106.2/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/Cargo.toml +0 -106
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/code_translator.rs +0 -3680
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/dummy.rs +0 -952
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/mod.rs +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/spec.rs +0 -952
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/func_translator.rs +0 -432
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/lib.rs +0 -62
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/state.rs +0 -542
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/tests/wasm_testsuite.rs +0 -153
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/arith.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/br_table.wat +0 -30
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call-simd.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fannkuch.wat +0 -12180
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fasta.wat +0 -12056
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_ifs.wat +0 -11505
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_primes.wat +0 -11185
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fac-multi-value.wat +0 -19
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fibonacci.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/globals.wat +0 -8
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall-simd.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-0.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-1.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-2.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-3.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-4.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-5.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-6.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params-2.wat +0 -18
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params.wat +0 -41
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/memory.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-0.wat +0 -3
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-1.wat +0 -6
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-10.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-11.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-12.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-13.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-14.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-15.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-16.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-17.wat +0 -26
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-2.wat +0 -6
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-3.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-4.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-5.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-6.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-7.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-8.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-9.wat +0 -15
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/nullref.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/passive-data.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2303.wat +0 -15
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2559.wat +0 -51
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/ref-func-0.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/rust_fannkuch.wat +0 -1723
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/select.wat +0 -19
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd-store.wat +0 -83
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd.wat +0 -29
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/table-copy.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/unreachable_code.wat +0 -77
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/Cargo.toml +0 -49
- data/ext/cargo-vendor/mach-0.3.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/mach-0.3.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/mach-0.3.2/LICENSE.md +0 -23
- data/ext/cargo-vendor/mach-0.3.2/README.md +0 -55
- data/ext/cargo-vendor/mach-0.3.2/ci/build_fail.sh +0 -7
- data/ext/cargo-vendor/mach-0.3.2/ci/deploy_and_run_on_ios_simulator.rs +0 -175
- data/ext/cargo-vendor/mach-0.3.2/ci/run.sh +0 -57
- data/ext/cargo-vendor/mach-0.3.2/examples/dump_process_registers.rs +0 -136
- data/ext/cargo-vendor/mach-0.3.2/src/exc.rs +0 -44
- data/ext/cargo-vendor/mach-0.3.2/src/kern_return.rs +0 -58
- data/ext/cargo-vendor/mach-0.3.2/src/lib.rs +0 -60
- data/ext/cargo-vendor/mach-0.3.2/src/mach_port.rs +0 -29
- data/ext/cargo-vendor/mach-0.3.2/src/message.rs +0 -248
- data/ext/cargo-vendor/mach-0.3.2/src/port.rs +0 -26
- data/ext/cargo-vendor/mach-0.3.2/src/structs.rs +0 -62
- data/ext/cargo-vendor/mach-0.3.2/src/task.rs +0 -41
- data/ext/cargo-vendor/mach-0.3.2/src/task_info.rs +0 -44
- data/ext/cargo-vendor/mach-0.3.2/src/thread_act.rs +0 -23
- data/ext/cargo-vendor/mach-0.3.2/src/thread_status.rs +0 -23
- data/ext/cargo-vendor/mach-0.3.2/src/traps.rs +0 -35
- data/ext/cargo-vendor/mach-0.3.2/src/vm.rs +0 -247
- data/ext/cargo-vendor/mach-0.3.2/src/vm_attributes.rs +0 -18
- data/ext/cargo-vendor/mach-0.3.2/src/vm_page_size.rs +0 -33
- data/ext/cargo-vendor/mach-0.3.2/src/vm_prot.rs +0 -14
- data/ext/cargo-vendor/mach-0.3.2/src/vm_purgable.rs +0 -42
- data/ext/cargo-vendor/mach-0.3.2/src/vm_region.rs +0 -238
- data/ext/cargo-vendor/mach-0.3.2/src/vm_statistics.rs +0 -78
- data/ext/cargo-vendor/mach-0.3.2/src/vm_sync.rs +0 -11
- data/ext/cargo-vendor/mach-0.3.2/src/vm_types.rs +0 -19
- data/ext/cargo-vendor/wasi-common-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-19.0.2/Cargo.toml +0 -221
- data/ext/cargo-vendor/wasi-common-19.0.2/src/ctx.rs +0 -128
- data/ext/cargo-vendor/wasi-common-19.0.2/src/lib.rs +0 -189
- data/ext/cargo-vendor/wasi-common-19.0.2/src/snapshots/preview_1.rs +0 -1491
- data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/async_.rs +0 -289
- data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/sync.rs +0 -275
- data/ext/cargo-vendor/wasm-encoder-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.201.0/Cargo.toml +0 -43
- data/ext/cargo-vendor/wasm-encoder-0.201.0/src/component/types.rs +0 -792
- data/ext/cargo-vendor/wasmparser-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.lock +0 -744
- data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.toml +0 -66
- data/ext/cargo-vendor/wasmparser-0.201.0/src/readers/component/types.rs +0 -549
- data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/operators.rs +0 -4074
- data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/types.rs +0 -4449
- data/ext/cargo-vendor/wasmprinter-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.201.0/Cargo.toml +0 -45
- data/ext/cargo-vendor/wasmprinter-0.201.0/src/lib.rs +0 -3143
- data/ext/cargo-vendor/wasmprinter-0.201.0/src/operator.rs +0 -1110
- data/ext/cargo-vendor/wasmprinter-0.201.0/tests/all.rs +0 -279
- data/ext/cargo-vendor/wasmtime-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-19.0.2/Cargo.toml +0 -261
- data/ext/cargo-vendor/wasmtime-19.0.2/src/compile.rs +0 -835
- data/ext/cargo-vendor/wasmtime-19.0.2/src/config.rs +0 -2649
- data/ext/cargo-vendor/wasmtime-19.0.2/src/engine/serialization.rs +0 -809
- data/ext/cargo-vendor/wasmtime-19.0.2/src/engine.rs +0 -735
- data/ext/cargo-vendor/wasmtime-19.0.2/src/lib.rs +0 -293
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/code_memory.rs +0 -335
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/component.rs +0 -586
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/host.rs +0 -456
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/options.rs +0 -541
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/typed.rs +0 -2484
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func.rs +0 -752
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/instance.rs +0 -818
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/linker.rs +0 -788
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/matching.rs +0 -212
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/mod.rs +0 -678
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/resources.rs +0 -1169
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/types.rs +0 -961
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/values.rs +0 -1388
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/coredump.rs +0 -321
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/global.rs +0 -249
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/table.rs +0 -416
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func/typed.rs +0 -985
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func.rs +0 -2585
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instance.rs +0 -981
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instantiate.rs +0 -423
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/linker.rs +0 -1518
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/memory.rs +0 -997
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module/registry.rs +0 -360
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module.rs +0 -1367
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/profiling.rs +0 -222
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/gc_ref.rs +0 -110
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/no_gc_ref.rs +0 -60
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref.rs +0 -9
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store/data.rs +0 -289
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store.rs +0 -2445
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/func.rs +0 -144
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/global.rs +0 -70
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/memory.rs +0 -268
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/table.rs +0 -20
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trap.rs +0 -641
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/type_registry.rs +0 -640
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types/matching.rs +0 -334
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types.rs +0 -1236
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/v128.rs +0 -131
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/values.rs +0 -771
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime.rs +0 -112
- data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-19.0.2/Cargo.toml +0 -81
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/src/component.rs +0 -1295
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/tests/codegen.rs +0 -191
- data/ext/cargo-vendor/wasmtime-component-util-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-19.0.2/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/Cargo.toml +0 -114
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/builder.rs +0 -127
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler/component.rs +0 -960
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler.rs +0 -1316
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/address_transform.rs +0 -784
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/expression.rs +0 -1252
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/func_environ.rs +0 -2846
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/lib.rs +0 -186
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/Cargo.toml +0 -71
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/compiled_function.rs +0 -231
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/lib.rs +0 -130
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/obj.rs +0 -564
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.lock +0 -782
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.toml +0 -141
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/address_map.rs +0 -191
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/builtin.rs +0 -155
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/compilation.rs +0 -402
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/artifacts.rs +0 -45
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/compiler.rs +0 -47
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/info.rs +0 -594
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/adapt.rs +0 -457
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/inline.rs +0 -1332
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/types.rs +0 -1933
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component.rs +0 -97
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/trampoline.rs +0 -3229
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/transcode.rs +0 -168
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact.rs +0 -713
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/lib.rs +0 -66
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module.rs +0 -1117
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_artifacts.rs +0 -377
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_environ.rs +0 -903
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/obj.rs +0 -172
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/trap_encoding.rs +0 -245
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/tunables.rs +0 -154
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/vmoffsets.rs +0 -918
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/Cargo.toml +0 -63
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/src/unix.rs +0 -265
- data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/Cargo.toml +0 -140
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/build.rs +0 -28
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/aarch64.rs +0 -120
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/riscv64.rs +0 -88
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.S +0 -70
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.rs +0 -61
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/x86_64.rs +0 -104
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component/libcalls.rs +0 -572
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component.rs +0 -864
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/export.rs +0 -105
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/gc.rs +0 -1058
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/no_gc.rs +0 -125
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref.rs +0 -24
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/on_demand.rs +0 -196
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling/table_pool.rs +0 -227
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling.rs +0 -658
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator.rs +0 -730
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance.rs +0 -1527
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/lib.rs +0 -264
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/libcalls.rs +0 -776
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/memory.rs +0 -972
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/send_sync_ptr.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/mmap.rs +0 -111
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/traphandlers.rs +0 -51
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/miri/mmap.rs +0 -94
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/machports.rs +0 -488
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/mmap.rs +0 -151
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/signals.rs +0 -402
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/windows/traphandlers.rs +0 -105
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/table.rs +0 -643
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers/coredump.rs +0 -38
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers.rs +0 -736
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/vmcontext.rs +0 -1215
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/Cargo.toml +0 -21
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/src/lib.rs +0 -450
- data/ext/cargo-vendor/wasmtime-types-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-19.0.2/Cargo.toml +0 -36
- data/ext/cargo-vendor/wasmtime-types-19.0.2/src/lib.rs +0 -640
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/Cargo.toml +0 -194
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/command.rs +0 -122
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ctx.rs +0 -353
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/filesystem.rs +0 -373
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem/sync.rs +0 -517
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem.rs +0 -1081
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/io.rs +0 -366
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/network.rs +0 -519
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/tcp.rs +0 -677
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ip_name_lookup.rs +0 -123
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/lib.rs +0 -323
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/network.rs +0 -108
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/p1ctx.rs +0 -37
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/pipe.rs +0 -826
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/poll.rs +0 -179
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview0.rs +0 -872
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview1.rs +0 -2361
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio/worker_thread_stdin.rs +0 -173
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio.rs +0 -443
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/tcp.rs +0 -350
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/udp.rs +0 -125
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/write_stream.rs +0 -203
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/api.rs +0 -210
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/async_.rs +0 -380
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/main.rs +0 -106
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/preview1.rs +0 -243
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/sync.rs +0 -315
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/wit/deps/io/poll.wit +0 -42
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/Cargo.toml +0 -77
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/builder.rs +0 -65
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/compiler.rs +0 -283
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/Cargo.toml +0 -41
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/lib.rs +0 -2104
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/rust.rs +0 -421
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/types.rs +0 -194
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/Cargo.toml +0 -29
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/src/lib.rs +0 -404
- data/ext/cargo-vendor/wast-201.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wast-201.0.0/Cargo.toml +0 -59
- data/ext/cargo-vendor/wast-201.0.0/src/component/binary.rs +0 -1004
- data/ext/cargo-vendor/wast-201.0.0/src/component/resolve.rs +0 -1006
- data/ext/cargo-vendor/wast-201.0.0/src/component/types.rs +0 -991
- data/ext/cargo-vendor/wast-201.0.0/src/component/wast.rs +0 -160
- data/ext/cargo-vendor/wast-201.0.0/src/core/binary.rs +0 -1365
- data/ext/cargo-vendor/wast-201.0.0/src/core/expr.rs +0 -1993
- data/ext/cargo-vendor/wast-201.0.0/src/core/func.rs +0 -136
- data/ext/cargo-vendor/wast-201.0.0/src/core/memory.rs +0 -281
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/deinline_import_export.rs +0 -233
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/names.rs +0 -763
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/types.rs +0 -271
- data/ext/cargo-vendor/wast-201.0.0/src/core/table.rs +0 -289
- data/ext/cargo-vendor/wast-201.0.0/src/core/types.rs +0 -861
- data/ext/cargo-vendor/wast-201.0.0/src/core/wast.rs +0 -256
- data/ext/cargo-vendor/wast-201.0.0/src/lib.rs +0 -542
- data/ext/cargo-vendor/wast-201.0.0/src/names.rs +0 -89
- data/ext/cargo-vendor/wast-201.0.0/src/parser.rs +0 -1374
- data/ext/cargo-vendor/wast-201.0.0/src/token.rs +0 -718
- data/ext/cargo-vendor/wast-201.0.0/src/wast.rs +0 -420
- data/ext/cargo-vendor/wast-201.0.0/src/wat.rs +0 -63
- data/ext/cargo-vendor/wast-201.0.0/tests/annotations.rs +0 -200
- data/ext/cargo-vendor/wast-201.0.0/tests/parse-fail.rs +0 -98
- data/ext/cargo-vendor/wat-1.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wat-1.201.0/Cargo.toml +0 -33
- data/ext/cargo-vendor/wiggle-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-19.0.2/Cargo.toml +0 -122
- data/ext/cargo-vendor/wiggle-19.0.2/src/borrow.rs +0 -259
- data/ext/cargo-vendor/wiggle-19.0.2/src/guest_type.rs +0 -237
- data/ext/cargo-vendor/wiggle-19.0.2/src/lib.rs +0 -1199
- data/ext/cargo-vendor/wiggle-19.0.2/src/wasmtime.rs +0 -101
- data/ext/cargo-vendor/wiggle-generate-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-19.0.2/Cargo.toml +0 -65
- data/ext/cargo-vendor/wiggle-macro-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-19.0.2/Cargo.toml +0 -55
- data/ext/cargo-vendor/winch-codegen-0.17.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.17.2/Cargo.toml +0 -77
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/abi/mod.rs +0 -737
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/bounds.rs +0 -220
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/builtin.rs +0 -272
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/call.rs +0 -413
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/env.rs +0 -399
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/mod.rs +0 -672
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/abi.rs +0 -309
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/asm.rs +0 -247
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/masm.rs +0 -557
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/mod.rs +0 -152
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/regs.rs +0 -183
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/mod.rs +0 -232
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/abi.rs +0 -543
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/asm.rs +0 -1418
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/masm.rs +0 -1300
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/mod.rs +0 -192
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/lib.rs +0 -21
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/masm.rs +0 -955
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/trampoline.rs +0 -626
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/visitor.rs +0 -2101
- data/ext/cargo-vendor/wit-parser-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.201.0/Cargo.toml +0 -101
- data/ext/cargo-vendor/wit-parser-0.201.0/src/abi.rs +0 -295
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/lex.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/resolve.rs +0 -1427
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast.rs +0 -1348
- data/ext/cargo-vendor/wit-parser-0.201.0/src/decoding.rs +0 -1764
- data/ext/cargo-vendor/wit-parser-0.201.0/src/lib.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.201.0/src/resolve.rs +0 -2239
- data/ext/cargo-vendor/wit-parser-0.201.0/src/serde_.rs +0 -108
- data/ext/cargo-vendor/wit-parser-0.201.0/src/sizealign.rs +0 -144
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/all.rs +0 -185
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit +0 -14
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit.json +0 -166
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit +0 -20
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit.json +0 -281
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit +0 -60
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit.json +0 -774
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit +0 -12
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit.json +0 -72
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/wasi.wit +0 -178
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/build/probe.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/rust-toolchain.toml +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ensure.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ptr.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/compiletest.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/drop/mod.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_autotrait.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_backtrace.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_boxed.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_chain.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_context.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_convert.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_downcast.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_ffi.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_fmt.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_source.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/no-impl.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.stderr +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/vector.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isle_prelude.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/reg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/sections_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/translation_utils.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/README.md +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/noop_scheduler.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/random.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/scheduler.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/boolean.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/bootstrap.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_priv.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_reply.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/dyld_kernel.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/exception_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_init.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_time.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/memory_object_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_behavior.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_inherit.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasm-encoder-0.208.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmparser-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/binary_reader.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/branch_hinting.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types/matches.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core/canonical.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmprinter-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmprinter-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/resource_table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/stack.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-19.0.2 → wasmtime-asm-macros-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cache-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/bindgen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-19.0.2 → wasmtime-component-util-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-cranelift-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/simulate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-19.0.2 → wasmtime-cranelift-20.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-environ-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/translate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/types/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-fiber-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-runtime-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/cow.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/memory_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/stack_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/pkru.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/capi.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2/src → wasmtime-runtime-20.0.0/src/threads}/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-types-20.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-types-20.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-19.0.2 → wasmtime-versioned-export-macros-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wasmtime-wasi-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/tests/process_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/command-extended.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/command.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/imports.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/proxy.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/test.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-19.0.2 → wasmtime-wit-bindgen-20.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wast-208.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/alias.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/expand.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/item_ref.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/global.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/resolve/mod.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/tag.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/encode.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/gensym.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/comments.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/recursive.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wat-1.208.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-generate-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-macro-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/context.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/control.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regalloc.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/stack.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/docs.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/live.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -0,0 +1,3033 @@
|
|
1
|
+
//! This module provides a [`Builder`] for reading, modifying, and then writing ELF files.
|
2
|
+
use alloc::vec::Vec;
|
3
|
+
use core::convert::TryInto;
|
4
|
+
use core::fmt;
|
5
|
+
use core::marker::PhantomData;
|
6
|
+
use hashbrown::HashMap;
|
7
|
+
|
8
|
+
use crate::build::{ByteString, Bytes, Error, Id, IdPrivate, Item, Result, Table};
|
9
|
+
use crate::elf;
|
10
|
+
use crate::read::elf::{Dyn, FileHeader, ProgramHeader, Rela, SectionHeader, Sym};
|
11
|
+
use crate::read::{self, FileKind, ReadRef};
|
12
|
+
use crate::write;
|
13
|
+
use crate::Endianness;
|
14
|
+
|
15
|
+
/// A builder for reading, modifying, and then writing ELF files.
|
16
|
+
///
|
17
|
+
/// Public fields are available for modifying the values that will be written.
|
18
|
+
/// Methods are available to add elements to tables, and elements can be deleted
|
19
|
+
/// from tables by setting the `delete` field in the element.
|
20
|
+
#[derive(Debug)]
|
21
|
+
pub struct Builder<'data> {
|
22
|
+
/// The endianness.
|
23
|
+
///
|
24
|
+
/// Used to set the data encoding when writing the ELF file.
|
25
|
+
pub endian: Endianness,
|
26
|
+
/// Whether file is 64-bit.
|
27
|
+
///
|
28
|
+
/// Use to set the file class when writing the ELF file.
|
29
|
+
pub is_64: bool,
|
30
|
+
/// The alignment of [`elf::PT_LOAD`] segments.
|
31
|
+
pub load_align: u64,
|
32
|
+
/// The file header.
|
33
|
+
pub header: Header,
|
34
|
+
/// The segment table.
|
35
|
+
pub segments: Segments<'data>,
|
36
|
+
/// The section table.
|
37
|
+
pub sections: Sections<'data>,
|
38
|
+
/// The symbol table.
|
39
|
+
pub symbols: Symbols<'data>,
|
40
|
+
/// The dynamic symbol table.
|
41
|
+
pub dynamic_symbols: DynamicSymbols<'data>,
|
42
|
+
/// The base version for the GNU version definitions.
|
43
|
+
///
|
44
|
+
/// This will be written as a version definition with index 1.
|
45
|
+
pub version_base: Option<ByteString<'data>>,
|
46
|
+
/// The GNU version definitions and dependencies.
|
47
|
+
pub versions: Versions<'data>,
|
48
|
+
/// The filenames used in the GNU version definitions.
|
49
|
+
pub version_files: VersionFiles<'data>,
|
50
|
+
/// The bucket count parameter for the hash table.
|
51
|
+
pub hash_bucket_count: u32,
|
52
|
+
/// The bloom shift parameter for the GNU hash table.
|
53
|
+
pub gnu_hash_bloom_shift: u32,
|
54
|
+
/// The bloom count parameter for the GNU hash table.
|
55
|
+
pub gnu_hash_bloom_count: u32,
|
56
|
+
/// The bucket count parameter for the GNU hash table.
|
57
|
+
pub gnu_hash_bucket_count: u32,
|
58
|
+
marker: PhantomData<()>,
|
59
|
+
}
|
60
|
+
|
61
|
+
impl<'data> Builder<'data> {
|
62
|
+
/// Create a new ELF builder.
|
63
|
+
pub fn new(endian: Endianness, is_64: bool) -> Self {
|
64
|
+
Self {
|
65
|
+
endian,
|
66
|
+
is_64,
|
67
|
+
load_align: 0,
|
68
|
+
header: Header::default(),
|
69
|
+
segments: Segments::new(),
|
70
|
+
sections: Sections::new(),
|
71
|
+
symbols: Symbols::new(),
|
72
|
+
dynamic_symbols: Symbols::new(),
|
73
|
+
version_base: None,
|
74
|
+
versions: Versions::new(),
|
75
|
+
version_files: VersionFiles::new(),
|
76
|
+
hash_bucket_count: 0,
|
77
|
+
gnu_hash_bloom_shift: 0,
|
78
|
+
gnu_hash_bloom_count: 0,
|
79
|
+
gnu_hash_bucket_count: 0,
|
80
|
+
marker: PhantomData,
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
/// Read the ELF file from file data.
|
85
|
+
pub fn read<R: ReadRef<'data>>(data: R) -> Result<Self> {
|
86
|
+
match FileKind::parse(data)? {
|
87
|
+
FileKind::Elf32 => Self::read32(data),
|
88
|
+
FileKind::Elf64 => Self::read64(data),
|
89
|
+
#[allow(unreachable_patterns)]
|
90
|
+
_ => Err(Error::new("Not an ELF file")),
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
/// Read a 32-bit ELF file from file data.
|
95
|
+
pub fn read32<R: ReadRef<'data>>(data: R) -> Result<Self> {
|
96
|
+
Self::read_file::<elf::FileHeader32<Endianness>, R>(data)
|
97
|
+
}
|
98
|
+
|
99
|
+
/// Read a 64-bit ELF file from file data.
|
100
|
+
pub fn read64<R: ReadRef<'data>>(data: R) -> Result<Self> {
|
101
|
+
Self::read_file::<elf::FileHeader64<Endianness>, R>(data)
|
102
|
+
}
|
103
|
+
|
104
|
+
fn read_file<Elf, R>(data: R) -> Result<Self>
|
105
|
+
where
|
106
|
+
Elf: FileHeader<Endian = Endianness>,
|
107
|
+
R: ReadRef<'data>,
|
108
|
+
{
|
109
|
+
let header = Elf::parse(data)?;
|
110
|
+
let endian = header.endian()?;
|
111
|
+
let is_mips64el = header.is_mips64el(endian);
|
112
|
+
let shstrndx = header.shstrndx(endian, data)? as usize;
|
113
|
+
let segments = header.program_headers(endian, data)?;
|
114
|
+
let sections = header.sections(endian, data)?;
|
115
|
+
let symbols = sections.symbols(endian, data, elf::SHT_SYMTAB)?;
|
116
|
+
let dynamic_symbols = sections.symbols(endian, data, elf::SHT_DYNSYM)?;
|
117
|
+
|
118
|
+
let mut builder = Builder {
|
119
|
+
endian,
|
120
|
+
is_64: header.is_type_64(),
|
121
|
+
load_align: 0,
|
122
|
+
header: Header {
|
123
|
+
os_abi: header.e_ident().os_abi,
|
124
|
+
abi_version: header.e_ident().abi_version,
|
125
|
+
e_type: header.e_type(endian),
|
126
|
+
e_machine: header.e_machine(endian),
|
127
|
+
e_entry: header.e_entry(endian).into(),
|
128
|
+
e_flags: header.e_flags(endian),
|
129
|
+
e_phoff: header.e_phoff(endian).into(),
|
130
|
+
},
|
131
|
+
segments: Segments::new(),
|
132
|
+
sections: Sections::new(),
|
133
|
+
symbols: Symbols::new(),
|
134
|
+
dynamic_symbols: Symbols::new(),
|
135
|
+
version_base: None,
|
136
|
+
versions: Versions::new(),
|
137
|
+
version_files: VersionFiles::new(),
|
138
|
+
hash_bucket_count: 0,
|
139
|
+
gnu_hash_bloom_shift: 0,
|
140
|
+
gnu_hash_bloom_count: 0,
|
141
|
+
gnu_hash_bucket_count: 0,
|
142
|
+
marker: PhantomData,
|
143
|
+
};
|
144
|
+
|
145
|
+
for segment in segments {
|
146
|
+
if segment.p_type(endian) == elf::PT_LOAD {
|
147
|
+
let p_align = segment.p_align(endian).into();
|
148
|
+
if builder.load_align != 0 && builder.load_align != p_align {
|
149
|
+
return Err(Error::new("Unsupported alignments for PT_LOAD segments"));
|
150
|
+
}
|
151
|
+
builder.load_align = p_align;
|
152
|
+
}
|
153
|
+
|
154
|
+
let id = builder.segments.next_id();
|
155
|
+
builder.segments.push(Segment {
|
156
|
+
id,
|
157
|
+
delete: false,
|
158
|
+
p_type: segment.p_type(endian),
|
159
|
+
p_flags: segment.p_flags(endian),
|
160
|
+
p_offset: segment.p_offset(endian).into(),
|
161
|
+
p_vaddr: segment.p_vaddr(endian).into(),
|
162
|
+
p_paddr: segment.p_paddr(endian).into(),
|
163
|
+
p_filesz: segment.p_filesz(endian).into(),
|
164
|
+
p_memsz: segment.p_memsz(endian).into(),
|
165
|
+
p_align: segment.p_align(endian).into(),
|
166
|
+
sections: Vec::new(),
|
167
|
+
marker: PhantomData,
|
168
|
+
});
|
169
|
+
}
|
170
|
+
if !builder.segments.is_empty() && builder.load_align == 0 {
|
171
|
+
// There should be at least one PT_LOAD segment.
|
172
|
+
return Err(Error::new("Unsupported segments without a PT_LOAD segment"));
|
173
|
+
}
|
174
|
+
|
175
|
+
for (index, section) in sections.iter().enumerate().skip(1) {
|
176
|
+
let id = SectionId(index - 1);
|
177
|
+
let relocations = if let Some((rels, link)) = section.rel(endian, data)? {
|
178
|
+
Self::read_relocations(
|
179
|
+
index,
|
180
|
+
endian,
|
181
|
+
is_mips64el,
|
182
|
+
rels,
|
183
|
+
link,
|
184
|
+
&symbols,
|
185
|
+
&dynamic_symbols,
|
186
|
+
)?
|
187
|
+
} else if let Some((rels, link)) = section.rela(endian, data)? {
|
188
|
+
Self::read_relocations(
|
189
|
+
index,
|
190
|
+
endian,
|
191
|
+
is_mips64el,
|
192
|
+
rels,
|
193
|
+
link,
|
194
|
+
&symbols,
|
195
|
+
&dynamic_symbols,
|
196
|
+
)?
|
197
|
+
} else {
|
198
|
+
SectionData::Data(Bytes::default())
|
199
|
+
};
|
200
|
+
if let Some(hash) = section.hash_header(endian, data)? {
|
201
|
+
builder.hash_bucket_count = hash.bucket_count.get(endian);
|
202
|
+
}
|
203
|
+
if let Some(hash) = section.gnu_hash_header(endian, data)? {
|
204
|
+
builder.gnu_hash_bloom_shift = hash.bloom_shift.get(endian);
|
205
|
+
builder.gnu_hash_bloom_count = hash.bloom_count.get(endian);
|
206
|
+
builder.gnu_hash_bucket_count = hash.bucket_count.get(endian);
|
207
|
+
}
|
208
|
+
let data = match section.sh_type(endian) {
|
209
|
+
elf::SHT_NOBITS => SectionData::UninitializedData(section.sh_size(endian).into()),
|
210
|
+
elf::SHT_PROGBITS | elf::SHT_INIT_ARRAY | elf::SHT_FINI_ARRAY => {
|
211
|
+
SectionData::Data(section.data(endian, data)?.into())
|
212
|
+
}
|
213
|
+
elf::SHT_REL | elf::SHT_RELA => relocations,
|
214
|
+
elf::SHT_SYMTAB => {
|
215
|
+
if index == symbols.section().0 {
|
216
|
+
SectionData::Symbol
|
217
|
+
} else {
|
218
|
+
return Err(Error(format!(
|
219
|
+
"Unsupported SHT_SYMTAB section at index {}",
|
220
|
+
index
|
221
|
+
)));
|
222
|
+
}
|
223
|
+
}
|
224
|
+
elf::SHT_SYMTAB_SHNDX => {
|
225
|
+
if index == symbols.shndx_section().0 {
|
226
|
+
SectionData::SymbolSectionIndex
|
227
|
+
} else {
|
228
|
+
return Err(Error(format!(
|
229
|
+
"Unsupported SHT_SYMTAB_SHNDX section at index {}",
|
230
|
+
index
|
231
|
+
)));
|
232
|
+
}
|
233
|
+
}
|
234
|
+
elf::SHT_DYNSYM => {
|
235
|
+
if index == dynamic_symbols.section().0 {
|
236
|
+
SectionData::DynamicSymbol
|
237
|
+
} else {
|
238
|
+
return Err(Error(format!(
|
239
|
+
"Unsupported SHT_DYNSYM section at index {}",
|
240
|
+
index
|
241
|
+
)));
|
242
|
+
}
|
243
|
+
}
|
244
|
+
elf::SHT_STRTAB => {
|
245
|
+
if index == symbols.string_section().0 {
|
246
|
+
SectionData::String
|
247
|
+
} else if index == dynamic_symbols.string_section().0 {
|
248
|
+
SectionData::DynamicString
|
249
|
+
} else if index == shstrndx {
|
250
|
+
SectionData::SectionString
|
251
|
+
} else {
|
252
|
+
return Err(Error(format!(
|
253
|
+
"Unsupported SHT_STRTAB section at index {}",
|
254
|
+
index
|
255
|
+
)));
|
256
|
+
}
|
257
|
+
}
|
258
|
+
elf::SHT_NOTE => SectionData::Note(section.data(endian, data)?.into()),
|
259
|
+
elf::SHT_DYNAMIC => {
|
260
|
+
let (dyns, link) = section.dynamic(endian, data)?.unwrap();
|
261
|
+
let dynamic_strings = sections.strings(endian, data, link)?;
|
262
|
+
Self::read_dynamics::<Elf, _>(endian, dyns, dynamic_strings)?
|
263
|
+
}
|
264
|
+
elf::SHT_GNU_ATTRIBUTES => {
|
265
|
+
let attributes = section.attributes(endian, data)?;
|
266
|
+
Self::read_attributes(index, attributes, sections.len(), symbols.len())?
|
267
|
+
}
|
268
|
+
elf::SHT_HASH => SectionData::Hash,
|
269
|
+
elf::SHT_GNU_HASH => SectionData::GnuHash,
|
270
|
+
elf::SHT_GNU_VERSYM => SectionData::GnuVersym,
|
271
|
+
elf::SHT_GNU_VERDEF => SectionData::GnuVerdef,
|
272
|
+
elf::SHT_GNU_VERNEED => SectionData::GnuVerneed,
|
273
|
+
other => match (builder.header.e_machine, other) {
|
274
|
+
(elf::EM_ARM, elf::SHT_ARM_ATTRIBUTES)
|
275
|
+
| (elf::EM_AARCH64, elf::SHT_AARCH64_ATTRIBUTES) => {
|
276
|
+
let attributes = section.attributes(endian, data)?;
|
277
|
+
Self::read_attributes(index, attributes, sections.len(), symbols.len())?
|
278
|
+
}
|
279
|
+
// Some section types that we can't parse but that are safe to copy.
|
280
|
+
// Lots of types missing, add as needed. We can't default to copying
|
281
|
+
// everything because some types are not safe to copy.
|
282
|
+
(elf::EM_ARM, elf::SHT_ARM_EXIDX)
|
283
|
+
| (elf::EM_IA_64, elf::SHT_IA_64_UNWIND)
|
284
|
+
| (elf::EM_MIPS, elf::SHT_MIPS_REGINFO)
|
285
|
+
| (elf::EM_MIPS, elf::SHT_MIPS_DWARF) => {
|
286
|
+
SectionData::Data(section.data(endian, data)?.into())
|
287
|
+
}
|
288
|
+
_ => return Err(Error(format!("Unsupported section type {:x}", other))),
|
289
|
+
},
|
290
|
+
};
|
291
|
+
let sh_flags = section.sh_flags(endian).into();
|
292
|
+
let sh_link = section.sh_link(endian);
|
293
|
+
let sh_link_section = if sh_link == 0 {
|
294
|
+
None
|
295
|
+
} else {
|
296
|
+
if sh_link as usize >= sections.len() {
|
297
|
+
return Err(Error(format!(
|
298
|
+
"Invalid sh_link {} in section at index {}",
|
299
|
+
sh_link, index
|
300
|
+
)));
|
301
|
+
}
|
302
|
+
Some(SectionId(sh_link as usize - 1))
|
303
|
+
};
|
304
|
+
let sh_info = section.sh_info(endian);
|
305
|
+
let sh_info_section = if sh_info == 0 || sh_flags & u64::from(elf::SHF_INFO_LINK) == 0 {
|
306
|
+
None
|
307
|
+
} else {
|
308
|
+
if sh_info as usize >= sections.len() {
|
309
|
+
return Err(Error(format!(
|
310
|
+
"Invalid sh_info link {} in section at index {}",
|
311
|
+
sh_info, index
|
312
|
+
)));
|
313
|
+
}
|
314
|
+
Some(SectionId(sh_info as usize - 1))
|
315
|
+
};
|
316
|
+
let sh_flags = section.sh_flags(endian).into();
|
317
|
+
let sh_addr = section.sh_addr(endian).into();
|
318
|
+
if sh_flags & u64::from(elf::SHF_ALLOC) != 0 {
|
319
|
+
for segment in &mut builder.segments {
|
320
|
+
if segment.contains_address(sh_addr) {
|
321
|
+
segment.sections.push(id);
|
322
|
+
}
|
323
|
+
}
|
324
|
+
}
|
325
|
+
builder.sections.push(Section {
|
326
|
+
id,
|
327
|
+
delete: false,
|
328
|
+
name: sections.section_name(endian, section)?.into(),
|
329
|
+
sh_type: section.sh_type(endian),
|
330
|
+
sh_flags,
|
331
|
+
sh_addr,
|
332
|
+
sh_offset: section.sh_offset(endian).into(),
|
333
|
+
sh_size: section.sh_size(endian).into(),
|
334
|
+
sh_link_section,
|
335
|
+
sh_info,
|
336
|
+
sh_info_section,
|
337
|
+
sh_addralign: section.sh_addralign(endian).into(),
|
338
|
+
sh_entsize: section.sh_entsize(endian).into(),
|
339
|
+
data,
|
340
|
+
});
|
341
|
+
}
|
342
|
+
|
343
|
+
Self::read_symbols(
|
344
|
+
endian,
|
345
|
+
&symbols,
|
346
|
+
&mut builder.symbols,
|
347
|
+
builder.sections.len(),
|
348
|
+
)?;
|
349
|
+
Self::read_symbols(
|
350
|
+
endian,
|
351
|
+
&dynamic_symbols,
|
352
|
+
&mut builder.dynamic_symbols,
|
353
|
+
builder.sections.len(),
|
354
|
+
)?;
|
355
|
+
builder.read_gnu_versions(endian, data, §ions, &dynamic_symbols)?;
|
356
|
+
|
357
|
+
Ok(builder)
|
358
|
+
}
|
359
|
+
|
360
|
+
#[allow(clippy::too_many_arguments)]
|
361
|
+
fn read_relocations<Elf, Rel, R>(
|
362
|
+
index: usize,
|
363
|
+
endian: Elf::Endian,
|
364
|
+
is_mips64el: bool,
|
365
|
+
rels: &'data [Rel],
|
366
|
+
link: read::SectionIndex,
|
367
|
+
symbols: &read::elf::SymbolTable<'data, Elf, R>,
|
368
|
+
dynamic_symbols: &read::elf::SymbolTable<'data, Elf, R>,
|
369
|
+
) -> Result<SectionData<'data>>
|
370
|
+
where
|
371
|
+
Elf: FileHeader<Endian = Endianness>,
|
372
|
+
Rel: Copy + Into<Elf::Rela>,
|
373
|
+
R: ReadRef<'data>,
|
374
|
+
{
|
375
|
+
if link.0 == 0 {
|
376
|
+
Self::read_relocations_impl::<Elf, Rel, true>(index, endian, is_mips64el, rels, 0)
|
377
|
+
.map(SectionData::DynamicRelocation)
|
378
|
+
} else if link == symbols.section() {
|
379
|
+
Self::read_relocations_impl::<Elf, Rel, false>(
|
380
|
+
index,
|
381
|
+
endian,
|
382
|
+
is_mips64el,
|
383
|
+
rels,
|
384
|
+
symbols.len(),
|
385
|
+
)
|
386
|
+
.map(SectionData::Relocation)
|
387
|
+
} else if link == dynamic_symbols.section() {
|
388
|
+
Self::read_relocations_impl::<Elf, Rel, true>(
|
389
|
+
index,
|
390
|
+
endian,
|
391
|
+
is_mips64el,
|
392
|
+
rels,
|
393
|
+
dynamic_symbols.len(),
|
394
|
+
)
|
395
|
+
.map(SectionData::DynamicRelocation)
|
396
|
+
} else {
|
397
|
+
return Err(Error(format!(
|
398
|
+
"Invalid sh_link {} in relocation section at index {}",
|
399
|
+
link.0, index,
|
400
|
+
)));
|
401
|
+
}
|
402
|
+
}
|
403
|
+
|
404
|
+
fn read_relocations_impl<Elf, Rel, const DYNAMIC: bool>(
|
405
|
+
index: usize,
|
406
|
+
endian: Elf::Endian,
|
407
|
+
is_mips64el: bool,
|
408
|
+
rels: &'data [Rel],
|
409
|
+
symbols_len: usize,
|
410
|
+
) -> Result<Vec<Relocation<DYNAMIC>>>
|
411
|
+
where
|
412
|
+
Elf: FileHeader<Endian = Endianness>,
|
413
|
+
Rel: Copy + Into<Elf::Rela>,
|
414
|
+
{
|
415
|
+
let mut relocations = Vec::new();
|
416
|
+
for rel in rels {
|
417
|
+
let rel = (*rel).into();
|
418
|
+
let r_sym = rel.r_sym(endian, is_mips64el);
|
419
|
+
let symbol = if r_sym == 0 {
|
420
|
+
None
|
421
|
+
} else {
|
422
|
+
if r_sym as usize >= symbols_len {
|
423
|
+
return Err(Error(format!(
|
424
|
+
"Invalid symbol index {} in relocation section at index {}",
|
425
|
+
r_sym, index,
|
426
|
+
)));
|
427
|
+
}
|
428
|
+
Some(SymbolId(r_sym as usize - 1))
|
429
|
+
};
|
430
|
+
relocations.push(Relocation {
|
431
|
+
r_offset: rel.r_offset(endian).into(),
|
432
|
+
symbol,
|
433
|
+
r_type: rel.r_type(endian, is_mips64el),
|
434
|
+
r_addend: rel.r_addend(endian).into(),
|
435
|
+
});
|
436
|
+
}
|
437
|
+
Ok(relocations)
|
438
|
+
}
|
439
|
+
|
440
|
+
fn read_dynamics<Elf, R>(
|
441
|
+
endian: Elf::Endian,
|
442
|
+
dyns: &'data [Elf::Dyn],
|
443
|
+
strings: read::StringTable<'data, R>,
|
444
|
+
) -> Result<SectionData<'data>>
|
445
|
+
where
|
446
|
+
Elf: FileHeader<Endian = Endianness>,
|
447
|
+
R: ReadRef<'data>,
|
448
|
+
{
|
449
|
+
let mut dynamics = Vec::with_capacity(dyns.len());
|
450
|
+
for d in dyns {
|
451
|
+
let tag = d.d_tag(endian).into().try_into().map_err(|_| {
|
452
|
+
Error(format!(
|
453
|
+
"Unsupported dynamic tag 0x{:x}",
|
454
|
+
d.d_tag(endian).into()
|
455
|
+
))
|
456
|
+
})?;
|
457
|
+
if tag == elf::DT_NULL {
|
458
|
+
break;
|
459
|
+
}
|
460
|
+
let val = d.d_val(endian).into();
|
461
|
+
dynamics.push(if d.is_string(endian) {
|
462
|
+
let val =
|
463
|
+
strings
|
464
|
+
.get(val.try_into().map_err(|_| {
|
465
|
+
Error(format!("Unsupported dynamic string 0x{:x}", val))
|
466
|
+
})?)
|
467
|
+
.map_err(|_| Error(format!("Invalid dynamic string 0x{:x}", val)))?;
|
468
|
+
Dynamic::String {
|
469
|
+
tag,
|
470
|
+
val: val.into(),
|
471
|
+
}
|
472
|
+
} else {
|
473
|
+
match tag {
|
474
|
+
elf::DT_SYMTAB
|
475
|
+
| elf::DT_STRTAB
|
476
|
+
| elf::DT_STRSZ
|
477
|
+
| elf::DT_HASH
|
478
|
+
| elf::DT_GNU_HASH
|
479
|
+
| elf::DT_VERSYM
|
480
|
+
| elf::DT_VERDEF
|
481
|
+
| elf::DT_VERDEFNUM
|
482
|
+
| elf::DT_VERNEED
|
483
|
+
| elf::DT_VERNEEDNUM => Dynamic::Auto { tag },
|
484
|
+
_ => Dynamic::Integer { tag, val },
|
485
|
+
}
|
486
|
+
});
|
487
|
+
}
|
488
|
+
Ok(SectionData::Dynamic(dynamics))
|
489
|
+
}
|
490
|
+
|
491
|
+
fn read_symbols<Elf, R, const DYNAMIC: bool>(
|
492
|
+
endian: Elf::Endian,
|
493
|
+
symbols: &read::elf::SymbolTable<'data, Elf, R>,
|
494
|
+
builder_symbols: &mut Symbols<'data, DYNAMIC>,
|
495
|
+
sections_len: usize,
|
496
|
+
) -> Result<()>
|
497
|
+
where
|
498
|
+
Elf: FileHeader<Endian = Endianness>,
|
499
|
+
R: ReadRef<'data>,
|
500
|
+
{
|
501
|
+
for (index, symbol) in symbols.iter().enumerate().skip(1) {
|
502
|
+
let id = SymbolId(index - 1);
|
503
|
+
let section =
|
504
|
+
if let Some(section_index) = symbols.symbol_section(endian, symbol, index)? {
|
505
|
+
let section_id = section_index.0.wrapping_sub(1);
|
506
|
+
if section_id >= sections_len {
|
507
|
+
return Err(Error::new("Invalid symbol section index"));
|
508
|
+
}
|
509
|
+
Some(SectionId(section_id))
|
510
|
+
} else {
|
511
|
+
None
|
512
|
+
};
|
513
|
+
builder_symbols.push(Symbol {
|
514
|
+
id,
|
515
|
+
delete: false,
|
516
|
+
name: symbols.symbol_name(endian, symbol)?.into(),
|
517
|
+
section,
|
518
|
+
st_info: symbol.st_info(),
|
519
|
+
st_other: symbol.st_other(),
|
520
|
+
st_shndx: symbol.st_shndx(endian),
|
521
|
+
st_value: symbol.st_value(endian).into(),
|
522
|
+
st_size: symbol.st_size(endian).into(),
|
523
|
+
version: VersionId::local(),
|
524
|
+
version_hidden: false,
|
525
|
+
});
|
526
|
+
}
|
527
|
+
Ok(())
|
528
|
+
}
|
529
|
+
|
530
|
+
fn read_attributes<Elf>(
|
531
|
+
index: usize,
|
532
|
+
attributes: read::elf::AttributesSection<'data, Elf>,
|
533
|
+
sections_len: usize,
|
534
|
+
symbols_len: usize,
|
535
|
+
) -> Result<SectionData<'data>>
|
536
|
+
where
|
537
|
+
Elf: FileHeader<Endian = Endianness>,
|
538
|
+
{
|
539
|
+
let mut builder_attributes = AttributesSection::new();
|
540
|
+
let mut subsections = attributes.subsections()?;
|
541
|
+
while let Some(subsection) = subsections.next()? {
|
542
|
+
let mut builder_subsection = AttributesSubsection::new(subsection.vendor().into());
|
543
|
+
let mut subsubsections = subsection.subsubsections();
|
544
|
+
while let Some(subsubsection) = subsubsections.next()? {
|
545
|
+
let tag = match subsubsection.tag() {
|
546
|
+
elf::Tag_File => AttributeTag::File,
|
547
|
+
elf::Tag_Section => {
|
548
|
+
let mut tag_sections = Vec::new();
|
549
|
+
let mut indices = subsubsection.indices();
|
550
|
+
while let Some(index) = indices.next()? {
|
551
|
+
let index = index as usize;
|
552
|
+
if index >= sections_len {
|
553
|
+
return Err(Error(format!(
|
554
|
+
"Invalid section index {} in attribute",
|
555
|
+
index
|
556
|
+
)));
|
557
|
+
}
|
558
|
+
tag_sections.push(SectionId(index - 1));
|
559
|
+
}
|
560
|
+
AttributeTag::Section(tag_sections)
|
561
|
+
}
|
562
|
+
elf::Tag_Symbol => {
|
563
|
+
let mut tag_symbols = Vec::new();
|
564
|
+
let mut indices = subsubsection.indices();
|
565
|
+
while let Some(index) = indices.next()? {
|
566
|
+
let index = index as usize;
|
567
|
+
if index >= symbols_len {
|
568
|
+
return Err(Error(format!(
|
569
|
+
"Invalid symbol index {} in attribute",
|
570
|
+
index
|
571
|
+
)));
|
572
|
+
}
|
573
|
+
tag_symbols.push(SymbolId(index - 1));
|
574
|
+
}
|
575
|
+
AttributeTag::Symbol(tag_symbols)
|
576
|
+
}
|
577
|
+
tag => {
|
578
|
+
return Err(Error(format!(
|
579
|
+
"Unsupported attribute tag 0x{:x} in section at index {}",
|
580
|
+
tag, index,
|
581
|
+
)))
|
582
|
+
}
|
583
|
+
};
|
584
|
+
let data = subsubsection.attributes_data().into();
|
585
|
+
builder_subsection
|
586
|
+
.subsubsections
|
587
|
+
.push(AttributesSubsubsection { tag, data });
|
588
|
+
}
|
589
|
+
builder_attributes.subsections.push(builder_subsection);
|
590
|
+
}
|
591
|
+
Ok(SectionData::Attributes(builder_attributes))
|
592
|
+
}
|
593
|
+
|
594
|
+
fn read_gnu_versions<Elf, R>(
|
595
|
+
&mut self,
|
596
|
+
endian: Elf::Endian,
|
597
|
+
data: R,
|
598
|
+
sections: &read::elf::SectionTable<'data, Elf, R>,
|
599
|
+
dynamic_symbols: &read::elf::SymbolTable<'data, Elf, R>,
|
600
|
+
) -> Result<()>
|
601
|
+
where
|
602
|
+
Elf: FileHeader<Endian = Endianness>,
|
603
|
+
R: ReadRef<'data>,
|
604
|
+
{
|
605
|
+
let strings = dynamic_symbols.strings();
|
606
|
+
let mut ids = HashMap::new();
|
607
|
+
ids.insert(0, VersionId::local());
|
608
|
+
ids.insert(1, VersionId::global());
|
609
|
+
|
610
|
+
if let Some((mut verdefs, link)) = sections.gnu_verdef(endian, data)? {
|
611
|
+
if link != dynamic_symbols.string_section() {
|
612
|
+
return Err(Error::new("Invalid SHT_GNU_VERDEF section"));
|
613
|
+
}
|
614
|
+
while let Some((verdef, mut verdauxs)) = verdefs.next()? {
|
615
|
+
let flags = verdef.vd_flags.get(endian);
|
616
|
+
if flags & elf::VER_FLG_BASE != 0 {
|
617
|
+
if flags != elf::VER_FLG_BASE
|
618
|
+
|| verdef.vd_ndx.get(endian) != 1
|
619
|
+
|| verdef.vd_cnt.get(endian) != 1
|
620
|
+
{
|
621
|
+
return Err(Error::new("Unsupported VER_FLG_BASE in SHT_GNU_VERDEF"));
|
622
|
+
}
|
623
|
+
if self.version_base.is_some() {
|
624
|
+
return Err(Error::new("Duplicate VER_FLG_BASE in SHT_GNU_VERDEF"));
|
625
|
+
}
|
626
|
+
let verdaux = verdauxs.next()?.ok_or_else(|| {
|
627
|
+
Error::new("Missing name for VER_FLG_BASE in SHT_GNU_VERDEF")
|
628
|
+
})?;
|
629
|
+
self.version_base = Some(verdaux.name(endian, strings)?.into());
|
630
|
+
continue;
|
631
|
+
}
|
632
|
+
|
633
|
+
let index = verdef.vd_ndx.get(endian) & elf::VERSYM_VERSION;
|
634
|
+
let id = self.versions.next_id();
|
635
|
+
if ids.insert(index, id).is_some() {
|
636
|
+
return Err(Error(format!("Duplicate SHT_GNU_VERDEF index {}", index)));
|
637
|
+
}
|
638
|
+
|
639
|
+
let mut names = Vec::new();
|
640
|
+
while let Some(verdaux) = verdauxs.next()? {
|
641
|
+
names.push(verdaux.name(endian, strings)?.into());
|
642
|
+
}
|
643
|
+
|
644
|
+
let data = VersionData::Def(VersionDef { flags, names });
|
645
|
+
self.versions.push(Version {
|
646
|
+
id,
|
647
|
+
delete: false,
|
648
|
+
data,
|
649
|
+
});
|
650
|
+
}
|
651
|
+
}
|
652
|
+
|
653
|
+
if let Some((mut verneeds, link)) = sections.gnu_verneed(endian, data)? {
|
654
|
+
if link != dynamic_symbols.string_section() {
|
655
|
+
return Err(Error::new("Invalid SHT_GNU_VERNEED section"));
|
656
|
+
}
|
657
|
+
while let Some((verneed, mut vernauxs)) = verneeds.next()? {
|
658
|
+
let file = VersionFileId(self.version_files.len());
|
659
|
+
self.version_files.push(VersionFile {
|
660
|
+
id: file,
|
661
|
+
delete: false,
|
662
|
+
name: verneed.file(endian, strings)?.into(),
|
663
|
+
});
|
664
|
+
while let Some(vernaux) = vernauxs.next()? {
|
665
|
+
let index = vernaux.vna_other.get(endian) & elf::VERSYM_VERSION;
|
666
|
+
let id = self.versions.next_id();
|
667
|
+
if ids.insert(index, id).is_some() {
|
668
|
+
return Err(Error(format!("Duplicate SHT_GNU_VERNEED index {}", index)));
|
669
|
+
}
|
670
|
+
|
671
|
+
let data = VersionData::Need(VersionNeed {
|
672
|
+
flags: vernaux.vna_flags.get(endian),
|
673
|
+
name: vernaux.name(endian, strings)?.into(),
|
674
|
+
file,
|
675
|
+
});
|
676
|
+
self.versions.push(Version {
|
677
|
+
id,
|
678
|
+
delete: false,
|
679
|
+
data,
|
680
|
+
});
|
681
|
+
}
|
682
|
+
}
|
683
|
+
}
|
684
|
+
|
685
|
+
if let Some((versyms, link)) = sections.gnu_versym(endian, data)? {
|
686
|
+
if versyms.len() != dynamic_symbols.len() || link != dynamic_symbols.section() {
|
687
|
+
return Err(Error::new("Invalid SHT_GNU_VERSYM section"));
|
688
|
+
}
|
689
|
+
for (id, versym) in versyms.iter().skip(1).enumerate() {
|
690
|
+
let index = versym.0.get(endian);
|
691
|
+
let symbol = self.dynamic_symbols.get_mut(SymbolId(id));
|
692
|
+
symbol.version = *ids
|
693
|
+
.get(&(index & elf::VERSYM_VERSION))
|
694
|
+
.ok_or_else(|| Error(format!("Invalid SHT_GNU_VERSYM index {:x}", index)))?;
|
695
|
+
symbol.version_hidden = index & elf::VERSYM_HIDDEN != 0;
|
696
|
+
}
|
697
|
+
}
|
698
|
+
Ok(())
|
699
|
+
}
|
700
|
+
|
701
|
+
/// Write the ELF file to the buffer.
|
702
|
+
pub fn write(mut self, buffer: &mut dyn write::WritableBuffer) -> Result<()> {
|
703
|
+
struct SectionOut {
|
704
|
+
id: SectionId,
|
705
|
+
name: Option<write::StringId>,
|
706
|
+
offset: usize,
|
707
|
+
attributes: Vec<u8>,
|
708
|
+
}
|
709
|
+
|
710
|
+
struct SymbolOut {
|
711
|
+
id: SymbolId,
|
712
|
+
name: Option<write::StringId>,
|
713
|
+
}
|
714
|
+
|
715
|
+
struct DynamicSymbolOut {
|
716
|
+
id: DynamicSymbolId,
|
717
|
+
name: Option<write::StringId>,
|
718
|
+
hash: Option<u32>,
|
719
|
+
gnu_hash: Option<u32>,
|
720
|
+
}
|
721
|
+
|
722
|
+
#[derive(Default, Clone)]
|
723
|
+
struct VersionFileOut {
|
724
|
+
versions: Vec<VersionId>,
|
725
|
+
}
|
726
|
+
|
727
|
+
// TODO: require the caller to do this?
|
728
|
+
self.delete_orphans();
|
729
|
+
self.delete_unused_versions();
|
730
|
+
|
731
|
+
let mut writer = write::elf::Writer::new(self.endian, self.is_64, buffer);
|
732
|
+
|
733
|
+
// Find metadata sections, and assign section indices.
|
734
|
+
let mut shstrtab_id = None;
|
735
|
+
let mut symtab_id = None;
|
736
|
+
let mut symtab_shndx_id = None;
|
737
|
+
let mut strtab_id = None;
|
738
|
+
let mut dynsym_id = None;
|
739
|
+
let mut dynstr_id = None;
|
740
|
+
let mut hash_id = None;
|
741
|
+
let mut gnu_hash_id = None;
|
742
|
+
let mut gnu_versym_id = None;
|
743
|
+
let mut gnu_verdef_id = None;
|
744
|
+
let mut gnu_verneed_id = None;
|
745
|
+
let mut out_sections = Vec::with_capacity(self.sections.len());
|
746
|
+
let mut out_sections_index = vec![None; self.sections.len()];
|
747
|
+
if !self.sections.is_empty() {
|
748
|
+
writer.reserve_null_section_index();
|
749
|
+
}
|
750
|
+
for section in &self.sections {
|
751
|
+
let index = match §ion.data {
|
752
|
+
SectionData::Data(_)
|
753
|
+
| SectionData::UninitializedData(_)
|
754
|
+
| SectionData::Relocation(_)
|
755
|
+
| SectionData::DynamicRelocation(_)
|
756
|
+
| SectionData::Note(_)
|
757
|
+
| SectionData::Dynamic(_)
|
758
|
+
| SectionData::Attributes(_) => writer.reserve_section_index(),
|
759
|
+
SectionData::SectionString => {
|
760
|
+
if shstrtab_id.is_some() {
|
761
|
+
return Err(Error::new("Multiple .shstrtab sections"));
|
762
|
+
}
|
763
|
+
shstrtab_id = Some(section.id);
|
764
|
+
writer.reserve_shstrtab_section_index_with_name(§ion.name)
|
765
|
+
}
|
766
|
+
SectionData::Symbol => {
|
767
|
+
if symtab_id.is_some() {
|
768
|
+
return Err(Error::new("Multiple .symtab sections"));
|
769
|
+
}
|
770
|
+
symtab_id = Some(section.id);
|
771
|
+
writer.reserve_symtab_section_index_with_name(§ion.name)
|
772
|
+
}
|
773
|
+
SectionData::SymbolSectionIndex => {
|
774
|
+
if symtab_shndx_id.is_some() {
|
775
|
+
return Err(Error::new("Multiple .symtab_shndx sections"));
|
776
|
+
}
|
777
|
+
symtab_shndx_id = Some(section.id);
|
778
|
+
writer.reserve_symtab_shndx_section_index_with_name(§ion.name)
|
779
|
+
}
|
780
|
+
SectionData::String => {
|
781
|
+
if strtab_id.is_some() {
|
782
|
+
return Err(Error::new("Multiple .strtab sections"));
|
783
|
+
}
|
784
|
+
strtab_id = Some(section.id);
|
785
|
+
writer.reserve_strtab_section_index_with_name(§ion.name)
|
786
|
+
}
|
787
|
+
SectionData::DynamicSymbol => {
|
788
|
+
if dynsym_id.is_some() {
|
789
|
+
return Err(Error::new("Multiple .dynsym sections"));
|
790
|
+
}
|
791
|
+
dynsym_id = Some(section.id);
|
792
|
+
writer.reserve_dynsym_section_index_with_name(§ion.name)
|
793
|
+
}
|
794
|
+
SectionData::DynamicString => {
|
795
|
+
if dynstr_id.is_some() {
|
796
|
+
return Err(Error::new("Multiple .dynstr sections"));
|
797
|
+
}
|
798
|
+
dynstr_id = Some(section.id);
|
799
|
+
writer.reserve_dynstr_section_index_with_name(§ion.name)
|
800
|
+
}
|
801
|
+
SectionData::Hash => {
|
802
|
+
if hash_id.is_some() {
|
803
|
+
return Err(Error::new("Multiple .hash sections"));
|
804
|
+
}
|
805
|
+
hash_id = Some(section.id);
|
806
|
+
writer.reserve_hash_section_index_with_name(§ion.name)
|
807
|
+
}
|
808
|
+
SectionData::GnuHash => {
|
809
|
+
if gnu_hash_id.is_some() {
|
810
|
+
return Err(Error::new("Multiple .gnu.hash sections"));
|
811
|
+
}
|
812
|
+
gnu_hash_id = Some(section.id);
|
813
|
+
writer.reserve_gnu_hash_section_index_with_name(§ion.name)
|
814
|
+
}
|
815
|
+
SectionData::GnuVersym => {
|
816
|
+
if gnu_versym_id.is_some() {
|
817
|
+
return Err(Error::new("Multiple .gnu.version sections"));
|
818
|
+
}
|
819
|
+
gnu_versym_id = Some(section.id);
|
820
|
+
writer.reserve_gnu_versym_section_index_with_name(§ion.name)
|
821
|
+
}
|
822
|
+
SectionData::GnuVerdef => {
|
823
|
+
if gnu_verdef_id.is_some() {
|
824
|
+
return Err(Error::new("Multiple .gnu.version_d sections"));
|
825
|
+
}
|
826
|
+
gnu_verdef_id = Some(section.id);
|
827
|
+
writer.reserve_gnu_verdef_section_index_with_name(§ion.name)
|
828
|
+
}
|
829
|
+
SectionData::GnuVerneed => {
|
830
|
+
if gnu_verneed_id.is_some() {
|
831
|
+
return Err(Error::new("Multiple .gnu.version_r sections"));
|
832
|
+
}
|
833
|
+
gnu_verneed_id = Some(section.id);
|
834
|
+
writer.reserve_gnu_verneed_section_index_with_name(§ion.name)
|
835
|
+
}
|
836
|
+
};
|
837
|
+
out_sections_index[section.id.0] = Some(index);
|
838
|
+
|
839
|
+
let name = if section.name.is_empty() {
|
840
|
+
None
|
841
|
+
} else {
|
842
|
+
Some(writer.add_section_name(§ion.name))
|
843
|
+
};
|
844
|
+
out_sections.push(SectionOut {
|
845
|
+
id: section.id,
|
846
|
+
name,
|
847
|
+
offset: 0,
|
848
|
+
attributes: Vec::new(),
|
849
|
+
});
|
850
|
+
}
|
851
|
+
|
852
|
+
// Assign dynamic strings.
|
853
|
+
for section in &self.sections {
|
854
|
+
if let SectionData::Dynamic(dynamics) = §ion.data {
|
855
|
+
for dynamic in dynamics {
|
856
|
+
if let Dynamic::String { val, .. } = dynamic {
|
857
|
+
writer.add_dynamic_string(val);
|
858
|
+
}
|
859
|
+
}
|
860
|
+
}
|
861
|
+
}
|
862
|
+
|
863
|
+
// Assign dynamic symbol indices.
|
864
|
+
let mut out_dynsyms = Vec::with_capacity(self.dynamic_symbols.len());
|
865
|
+
let mut gnu_hash_symbol_count = 0;
|
866
|
+
for symbol in &self.dynamic_symbols {
|
867
|
+
let mut name = None;
|
868
|
+
let mut hash = None;
|
869
|
+
let mut gnu_hash = None;
|
870
|
+
if !symbol.name.is_empty() {
|
871
|
+
name = Some(writer.add_dynamic_string(&symbol.name));
|
872
|
+
if hash_id.is_some() {
|
873
|
+
hash = Some(elf::hash(&symbol.name));
|
874
|
+
}
|
875
|
+
if gnu_hash_id.is_some() && symbol.st_shndx != elf::SHN_UNDEF {
|
876
|
+
gnu_hash = Some(elf::gnu_hash(&symbol.name));
|
877
|
+
gnu_hash_symbol_count += 1;
|
878
|
+
}
|
879
|
+
}
|
880
|
+
out_dynsyms.push(DynamicSymbolOut {
|
881
|
+
id: symbol.id,
|
882
|
+
name,
|
883
|
+
hash,
|
884
|
+
gnu_hash,
|
885
|
+
});
|
886
|
+
}
|
887
|
+
// We must sort for GNU hash before allocating symbol indices.
|
888
|
+
if gnu_hash_id.is_some() {
|
889
|
+
if self.gnu_hash_bucket_count == 0 {
|
890
|
+
return Err(Error::new(".gnu.hash bucket count is zero"));
|
891
|
+
}
|
892
|
+
// TODO: recalculate bucket_count?
|
893
|
+
out_dynsyms.sort_by_key(|sym| match sym.gnu_hash {
|
894
|
+
None => (0, 0),
|
895
|
+
Some(hash) => (1, hash % self.gnu_hash_bucket_count),
|
896
|
+
});
|
897
|
+
}
|
898
|
+
let mut out_dynsyms_index = vec![None; self.dynamic_symbols.len()];
|
899
|
+
if dynsym_id.is_some() {
|
900
|
+
writer.reserve_null_dynamic_symbol_index();
|
901
|
+
}
|
902
|
+
for out_dynsym in &mut out_dynsyms {
|
903
|
+
out_dynsyms_index[out_dynsym.id.0] = Some(writer.reserve_dynamic_symbol_index());
|
904
|
+
}
|
905
|
+
|
906
|
+
// Hash parameters.
|
907
|
+
let hash_index_base = 1; // Null symbol.
|
908
|
+
let hash_chain_count = hash_index_base + out_dynsyms.len() as u32;
|
909
|
+
|
910
|
+
// GNU hash parameters.
|
911
|
+
let gnu_hash_index_base = if gnu_hash_symbol_count == 0 {
|
912
|
+
0
|
913
|
+
} else {
|
914
|
+
out_dynsyms.len() as u32 - gnu_hash_symbol_count
|
915
|
+
};
|
916
|
+
let gnu_hash_symbol_base = gnu_hash_index_base + 1; // Null symbol.
|
917
|
+
|
918
|
+
// Assign symbol indices.
|
919
|
+
let mut out_syms = Vec::with_capacity(self.symbols.len());
|
920
|
+
// Local symbols must come before global.
|
921
|
+
let local_symbols = self
|
922
|
+
.symbols
|
923
|
+
.into_iter()
|
924
|
+
.filter(|symbol| symbol.st_bind() == elf::STB_LOCAL);
|
925
|
+
let global_symbols = self
|
926
|
+
.symbols
|
927
|
+
.into_iter()
|
928
|
+
.filter(|symbol| symbol.st_bind() != elf::STB_LOCAL);
|
929
|
+
for symbol in local_symbols.chain(global_symbols) {
|
930
|
+
let name = if symbol.name.is_empty() {
|
931
|
+
None
|
932
|
+
} else {
|
933
|
+
Some(writer.add_string(&symbol.name))
|
934
|
+
};
|
935
|
+
|
936
|
+
out_syms.push(SymbolOut {
|
937
|
+
id: symbol.id,
|
938
|
+
name,
|
939
|
+
});
|
940
|
+
}
|
941
|
+
let num_local = 1 + out_syms
|
942
|
+
.iter()
|
943
|
+
.take_while(|sym| self.symbols.get(sym.id).st_bind() == elf::STB_LOCAL)
|
944
|
+
.count() as u32;
|
945
|
+
let mut out_syms_index = vec![None; self.symbols.len()];
|
946
|
+
if symtab_id.is_some() {
|
947
|
+
writer.reserve_null_symbol_index();
|
948
|
+
}
|
949
|
+
for out_sym in out_syms.iter_mut() {
|
950
|
+
out_syms_index[out_sym.id.0] = Some(writer.reserve_symbol_index(None));
|
951
|
+
}
|
952
|
+
|
953
|
+
// Count the versions and add version strings.
|
954
|
+
let mut verdef_count = 0;
|
955
|
+
let mut verdaux_count = 0;
|
956
|
+
let mut verneed_count = 0;
|
957
|
+
let mut vernaux_count = 0;
|
958
|
+
let mut out_version_files = vec![VersionFileOut::default(); self.version_files.len()];
|
959
|
+
if let Some(version_base) = &self.version_base {
|
960
|
+
verdef_count += 1;
|
961
|
+
verdaux_count += 1;
|
962
|
+
writer.add_dynamic_string(version_base);
|
963
|
+
}
|
964
|
+
for version in &self.versions {
|
965
|
+
match &version.data {
|
966
|
+
VersionData::Def(def) => {
|
967
|
+
verdef_count += 1;
|
968
|
+
verdaux_count += def.names.len();
|
969
|
+
for name in &def.names {
|
970
|
+
writer.add_dynamic_string(name);
|
971
|
+
}
|
972
|
+
}
|
973
|
+
VersionData::Need(need) => {
|
974
|
+
vernaux_count += 1;
|
975
|
+
writer.add_dynamic_string(&need.name);
|
976
|
+
out_version_files[need.file.0].versions.push(version.id);
|
977
|
+
}
|
978
|
+
}
|
979
|
+
}
|
980
|
+
for file in &self.version_files {
|
981
|
+
verneed_count += 1;
|
982
|
+
writer.add_dynamic_string(&file.name);
|
983
|
+
}
|
984
|
+
|
985
|
+
// Build the attributes sections.
|
986
|
+
for out_section in &mut out_sections {
|
987
|
+
let SectionData::Attributes(attributes) = &self.sections.get(out_section.id).data
|
988
|
+
else {
|
989
|
+
continue;
|
990
|
+
};
|
991
|
+
if attributes.subsections.is_empty() {
|
992
|
+
continue;
|
993
|
+
}
|
994
|
+
let mut writer = writer.attributes_writer();
|
995
|
+
for subsection in &attributes.subsections {
|
996
|
+
writer.start_subsection(&subsection.vendor);
|
997
|
+
for subsubsection in &subsection.subsubsections {
|
998
|
+
writer.start_subsubsection(subsubsection.tag.tag());
|
999
|
+
match &subsubsection.tag {
|
1000
|
+
AttributeTag::File => {}
|
1001
|
+
AttributeTag::Section(sections) => {
|
1002
|
+
for id in sections {
|
1003
|
+
if let Some(index) = out_sections_index[id.0] {
|
1004
|
+
writer.write_subsubsection_index(index.0);
|
1005
|
+
}
|
1006
|
+
}
|
1007
|
+
writer.write_subsubsection_index(0);
|
1008
|
+
}
|
1009
|
+
AttributeTag::Symbol(symbols) => {
|
1010
|
+
for id in symbols {
|
1011
|
+
if let Some(index) = out_syms_index[id.0] {
|
1012
|
+
writer.write_subsubsection_index(index.0);
|
1013
|
+
}
|
1014
|
+
}
|
1015
|
+
writer.write_subsubsection_index(0);
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
writer.write_subsubsection_attributes(&subsubsection.data);
|
1019
|
+
writer.end_subsubsection();
|
1020
|
+
}
|
1021
|
+
writer.end_subsection();
|
1022
|
+
}
|
1023
|
+
out_section.attributes = writer.data();
|
1024
|
+
}
|
1025
|
+
|
1026
|
+
// TODO: support section headers in strtab
|
1027
|
+
if shstrtab_id.is_none() && !out_sections.is_empty() {
|
1028
|
+
return Err(Error::new(".shstrtab section is needed but not present"));
|
1029
|
+
}
|
1030
|
+
if symtab_id.is_none() && !out_syms.is_empty() {
|
1031
|
+
return Err(Error::new(".symtab section is needed but not present"));
|
1032
|
+
}
|
1033
|
+
if symtab_shndx_id.is_none() && writer.symtab_shndx_needed() {
|
1034
|
+
return Err(Error::new(
|
1035
|
+
".symtab.shndx section is needed but not present",
|
1036
|
+
));
|
1037
|
+
}
|
1038
|
+
if strtab_id.is_none() && writer.strtab_needed() {
|
1039
|
+
return Err(Error::new(".strtab section is needed but not present"));
|
1040
|
+
}
|
1041
|
+
if dynsym_id.is_none() && !out_dynsyms.is_empty() {
|
1042
|
+
return Err(Error::new(".dynsym section is needed but not present"));
|
1043
|
+
}
|
1044
|
+
if dynstr_id.is_none() && writer.dynstr_needed() {
|
1045
|
+
return Err(Error::new(".dynstr section is needed but not present"));
|
1046
|
+
}
|
1047
|
+
if gnu_verdef_id.is_none() && verdef_count > 0 {
|
1048
|
+
return Err(Error::new(
|
1049
|
+
".gnu.version_d section is needed but not present",
|
1050
|
+
));
|
1051
|
+
}
|
1052
|
+
if gnu_verneed_id.is_none() && verneed_count > 0 {
|
1053
|
+
return Err(Error::new(
|
1054
|
+
".gnu.version_r section is needed but not present",
|
1055
|
+
));
|
1056
|
+
}
|
1057
|
+
|
1058
|
+
// Start reserving file ranges.
|
1059
|
+
writer.reserve_file_header();
|
1060
|
+
|
1061
|
+
let mut dynsym_addr = None;
|
1062
|
+
let mut dynstr_addr = None;
|
1063
|
+
let mut hash_addr = None;
|
1064
|
+
let mut gnu_hash_addr = None;
|
1065
|
+
let mut versym_addr = None;
|
1066
|
+
let mut verdef_addr = None;
|
1067
|
+
let mut verneed_addr = None;
|
1068
|
+
|
1069
|
+
if !self.segments.is_empty() {
|
1070
|
+
// TODO: support program headers in other locations.
|
1071
|
+
if self.header.e_phoff != writer.reserved_len() as u64 {
|
1072
|
+
return Err(Error(format!(
|
1073
|
+
"Unsupported e_phoff value 0x{:x}",
|
1074
|
+
self.header.e_phoff
|
1075
|
+
)));
|
1076
|
+
}
|
1077
|
+
writer.reserve_program_headers(self.segments.count() as u32);
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
let mut alloc_sections = Vec::new();
|
1081
|
+
if !self.segments.is_empty() {
|
1082
|
+
// Reserve alloc sections at original offsets.
|
1083
|
+
alloc_sections = out_sections
|
1084
|
+
.iter()
|
1085
|
+
.enumerate()
|
1086
|
+
.filter_map(|(index, out_section)| {
|
1087
|
+
let section = self.sections.get(out_section.id);
|
1088
|
+
if section.is_alloc() {
|
1089
|
+
Some(index)
|
1090
|
+
} else {
|
1091
|
+
None
|
1092
|
+
}
|
1093
|
+
})
|
1094
|
+
.collect();
|
1095
|
+
// The data for alloc sections may need to be written in a different order
|
1096
|
+
// from their section headers.
|
1097
|
+
alloc_sections.sort_by_key(|index| {
|
1098
|
+
let section = &self.sections.get(out_sections[*index].id);
|
1099
|
+
// SHT_NOBITS sections need to come before other sections at the same offset.
|
1100
|
+
let file_size = if section.sh_type == elf::SHT_NOBITS {
|
1101
|
+
0
|
1102
|
+
} else {
|
1103
|
+
section.sh_size
|
1104
|
+
};
|
1105
|
+
(section.sh_offset, file_size)
|
1106
|
+
});
|
1107
|
+
for index in &alloc_sections {
|
1108
|
+
let out_section = &mut out_sections[*index];
|
1109
|
+
let section = &self.sections.get(out_section.id);
|
1110
|
+
|
1111
|
+
if section.sh_offset < writer.reserved_len() as u64 {
|
1112
|
+
return Err(Error(format!(
|
1113
|
+
"Unsupported sh_offset value 0x{:x} for section '{}', expected at least 0x{:x}",
|
1114
|
+
section.sh_offset,
|
1115
|
+
section.name,
|
1116
|
+
writer.reserved_len(),
|
1117
|
+
)));
|
1118
|
+
}
|
1119
|
+
// The input sh_offset needs to be preserved so that offsets in program
|
1120
|
+
// headers are correct.
|
1121
|
+
writer.reserve_until(section.sh_offset as usize);
|
1122
|
+
out_section.offset = match §ion.data {
|
1123
|
+
SectionData::Data(data) => {
|
1124
|
+
writer.reserve(data.len(), section.sh_addralign as usize)
|
1125
|
+
}
|
1126
|
+
SectionData::UninitializedData(_) => {
|
1127
|
+
// Note: unaligned input sh_offset was observed in practice.
|
1128
|
+
writer.reserve(0, 1)
|
1129
|
+
}
|
1130
|
+
SectionData::DynamicRelocation(relocations) => writer
|
1131
|
+
.reserve_relocations(relocations.len(), section.sh_type == elf::SHT_RELA),
|
1132
|
+
SectionData::Note(data) => {
|
1133
|
+
writer.reserve(data.len(), section.sh_addralign as usize)
|
1134
|
+
}
|
1135
|
+
SectionData::Dynamic(dynamics) => writer.reserve_dynamics(1 + dynamics.len()),
|
1136
|
+
SectionData::DynamicSymbol => {
|
1137
|
+
dynsym_addr = Some(section.sh_addr);
|
1138
|
+
writer.reserve_dynsym()
|
1139
|
+
}
|
1140
|
+
SectionData::DynamicString => {
|
1141
|
+
dynstr_addr = Some(section.sh_addr);
|
1142
|
+
writer.reserve_dynstr()
|
1143
|
+
}
|
1144
|
+
SectionData::Hash => {
|
1145
|
+
hash_addr = Some(section.sh_addr);
|
1146
|
+
writer.reserve_hash(self.hash_bucket_count, hash_chain_count)
|
1147
|
+
}
|
1148
|
+
SectionData::GnuHash => {
|
1149
|
+
gnu_hash_addr = Some(section.sh_addr);
|
1150
|
+
writer.reserve_gnu_hash(
|
1151
|
+
self.gnu_hash_bloom_count,
|
1152
|
+
self.gnu_hash_bucket_count,
|
1153
|
+
gnu_hash_symbol_count,
|
1154
|
+
)
|
1155
|
+
}
|
1156
|
+
SectionData::GnuVersym => {
|
1157
|
+
versym_addr = Some(section.sh_addr);
|
1158
|
+
writer.reserve_gnu_versym()
|
1159
|
+
}
|
1160
|
+
SectionData::GnuVerdef => {
|
1161
|
+
verdef_addr = Some(section.sh_addr);
|
1162
|
+
writer.reserve_gnu_verdef(verdef_count, verdaux_count)
|
1163
|
+
}
|
1164
|
+
SectionData::GnuVerneed => {
|
1165
|
+
verneed_addr = Some(section.sh_addr);
|
1166
|
+
writer.reserve_gnu_verneed(verneed_count, vernaux_count)
|
1167
|
+
}
|
1168
|
+
_ => {
|
1169
|
+
return Err(Error(format!(
|
1170
|
+
"Unsupported alloc section type {:x} for section '{}'",
|
1171
|
+
section.sh_type, section.name,
|
1172
|
+
)));
|
1173
|
+
}
|
1174
|
+
};
|
1175
|
+
if out_section.offset as u64 != section.sh_offset {
|
1176
|
+
return Err(Error(format!(
|
1177
|
+
"Unaligned sh_offset value 0x{:x} for section '{}', expected 0x{:x}",
|
1178
|
+
section.sh_offset, section.name, out_section.offset,
|
1179
|
+
)));
|
1180
|
+
}
|
1181
|
+
}
|
1182
|
+
}
|
1183
|
+
|
1184
|
+
// Reserve non-alloc sections at any offset.
|
1185
|
+
for out_section in &mut out_sections {
|
1186
|
+
let section = self.sections.get(out_section.id);
|
1187
|
+
if !self.segments.is_empty() && section.is_alloc() {
|
1188
|
+
continue;
|
1189
|
+
}
|
1190
|
+
out_section.offset = match §ion.data {
|
1191
|
+
SectionData::Data(data) => {
|
1192
|
+
writer.reserve(data.len(), section.sh_addralign as usize)
|
1193
|
+
}
|
1194
|
+
SectionData::UninitializedData(_) => {
|
1195
|
+
writer.reserve(0, section.sh_addralign as usize)
|
1196
|
+
}
|
1197
|
+
SectionData::Note(data) => {
|
1198
|
+
writer.reserve(data.len(), section.sh_addralign as usize)
|
1199
|
+
}
|
1200
|
+
SectionData::Attributes(_) => {
|
1201
|
+
writer.reserve(out_section.attributes.len(), section.sh_addralign as usize)
|
1202
|
+
}
|
1203
|
+
// These are handled elsewhere.
|
1204
|
+
SectionData::Relocation(_)
|
1205
|
+
| SectionData::SectionString
|
1206
|
+
| SectionData::Symbol
|
1207
|
+
| SectionData::SymbolSectionIndex
|
1208
|
+
| SectionData::String => {
|
1209
|
+
continue;
|
1210
|
+
}
|
1211
|
+
_ => {
|
1212
|
+
return Err(Error(format!(
|
1213
|
+
"Unsupported non-alloc section type {:x}",
|
1214
|
+
section.sh_type
|
1215
|
+
)));
|
1216
|
+
}
|
1217
|
+
};
|
1218
|
+
}
|
1219
|
+
|
1220
|
+
writer.reserve_symtab();
|
1221
|
+
writer.reserve_symtab_shndx();
|
1222
|
+
writer.reserve_strtab();
|
1223
|
+
|
1224
|
+
// Reserve non-alloc relocations.
|
1225
|
+
for out_section in &mut out_sections {
|
1226
|
+
let section = self.sections.get(out_section.id);
|
1227
|
+
if !self.segments.is_empty() && section.is_alloc() {
|
1228
|
+
continue;
|
1229
|
+
}
|
1230
|
+
let SectionData::Relocation(relocations) = §ion.data else {
|
1231
|
+
continue;
|
1232
|
+
};
|
1233
|
+
out_section.offset =
|
1234
|
+
writer.reserve_relocations(relocations.len(), section.sh_type == elf::SHT_RELA);
|
1235
|
+
}
|
1236
|
+
|
1237
|
+
writer.reserve_shstrtab();
|
1238
|
+
writer.reserve_section_headers();
|
1239
|
+
|
1240
|
+
// Start writing.
|
1241
|
+
writer.write_file_header(&write::elf::FileHeader {
|
1242
|
+
os_abi: self.header.os_abi,
|
1243
|
+
abi_version: self.header.abi_version,
|
1244
|
+
e_type: self.header.e_type,
|
1245
|
+
e_machine: self.header.e_machine,
|
1246
|
+
e_entry: self.header.e_entry,
|
1247
|
+
e_flags: self.header.e_flags,
|
1248
|
+
})?;
|
1249
|
+
|
1250
|
+
if !self.segments.is_empty() {
|
1251
|
+
writer.write_align_program_headers();
|
1252
|
+
for segment in &self.segments {
|
1253
|
+
writer.write_program_header(&write::elf::ProgramHeader {
|
1254
|
+
p_type: segment.p_type,
|
1255
|
+
p_flags: segment.p_flags,
|
1256
|
+
p_offset: segment.p_offset,
|
1257
|
+
p_vaddr: segment.p_vaddr,
|
1258
|
+
p_paddr: segment.p_paddr,
|
1259
|
+
p_filesz: segment.p_filesz,
|
1260
|
+
p_memsz: segment.p_memsz,
|
1261
|
+
p_align: segment.p_align,
|
1262
|
+
});
|
1263
|
+
}
|
1264
|
+
}
|
1265
|
+
|
1266
|
+
// Write alloc sections.
|
1267
|
+
if !self.segments.is_empty() {
|
1268
|
+
for index in &alloc_sections {
|
1269
|
+
let out_section = &mut out_sections[*index];
|
1270
|
+
let section = self.sections.get(out_section.id);
|
1271
|
+
writer.pad_until(out_section.offset);
|
1272
|
+
match §ion.data {
|
1273
|
+
SectionData::Data(data) => {
|
1274
|
+
writer.write(data);
|
1275
|
+
}
|
1276
|
+
SectionData::UninitializedData(_) => {}
|
1277
|
+
SectionData::DynamicRelocation(relocations) => {
|
1278
|
+
for rel in relocations {
|
1279
|
+
let r_sym = if let Some(symbol) = rel.symbol {
|
1280
|
+
out_dynsyms_index[symbol.0].unwrap().0
|
1281
|
+
} else {
|
1282
|
+
0
|
1283
|
+
};
|
1284
|
+
writer.write_relocation(
|
1285
|
+
section.sh_type == elf::SHT_RELA,
|
1286
|
+
&write::elf::Rel {
|
1287
|
+
r_offset: rel.r_offset,
|
1288
|
+
r_sym,
|
1289
|
+
r_type: rel.r_type,
|
1290
|
+
r_addend: rel.r_addend,
|
1291
|
+
},
|
1292
|
+
);
|
1293
|
+
}
|
1294
|
+
}
|
1295
|
+
SectionData::Note(data) => {
|
1296
|
+
writer.write(data);
|
1297
|
+
}
|
1298
|
+
SectionData::Dynamic(dynamics) => {
|
1299
|
+
for d in dynamics {
|
1300
|
+
match *d {
|
1301
|
+
Dynamic::Auto { tag } => {
|
1302
|
+
// TODO: support more values
|
1303
|
+
let val = match tag {
|
1304
|
+
elf::DT_SYMTAB => dynsym_addr.ok_or(Error::new(
|
1305
|
+
"Missing .dynsym section for DT_SYMTAB",
|
1306
|
+
))?,
|
1307
|
+
elf::DT_STRTAB => dynstr_addr.ok_or(Error::new(
|
1308
|
+
"Missing .dynstr section for DT_STRTAB",
|
1309
|
+
))?,
|
1310
|
+
elf::DT_STRSZ => writer.dynstr_len() as u64,
|
1311
|
+
elf::DT_HASH => hash_addr.ok_or(Error::new(
|
1312
|
+
"Missing .hash section for DT_HASH",
|
1313
|
+
))?,
|
1314
|
+
elf::DT_GNU_HASH => gnu_hash_addr.ok_or(Error::new(
|
1315
|
+
"Missing .gnu.hash section for DT_GNU_HASH",
|
1316
|
+
))?,
|
1317
|
+
elf::DT_VERSYM => versym_addr.ok_or(Error::new(
|
1318
|
+
"Missing .gnu.version section for DT_VERSYM",
|
1319
|
+
))?,
|
1320
|
+
elf::DT_VERDEF => verdef_addr.ok_or(Error::new(
|
1321
|
+
"Missing .gnu.version_d section for DT_VERDEF",
|
1322
|
+
))?,
|
1323
|
+
elf::DT_VERDEFNUM => verdef_count as u64,
|
1324
|
+
elf::DT_VERNEED => verneed_addr.ok_or(Error::new(
|
1325
|
+
"Missing .gnu.version_r section for DT_VERNEED",
|
1326
|
+
))?,
|
1327
|
+
elf::DT_VERNEEDNUM => verneed_count as u64,
|
1328
|
+
_ => {
|
1329
|
+
return Err(Error(format!(
|
1330
|
+
"Cannot generate value for dynamic tag 0x{:x}",
|
1331
|
+
tag
|
1332
|
+
)))
|
1333
|
+
}
|
1334
|
+
};
|
1335
|
+
writer.write_dynamic(tag, val);
|
1336
|
+
}
|
1337
|
+
Dynamic::Integer { tag, val } => {
|
1338
|
+
writer.write_dynamic(tag, val);
|
1339
|
+
}
|
1340
|
+
Dynamic::String { tag, ref val } => {
|
1341
|
+
let val = writer.get_dynamic_string(val);
|
1342
|
+
writer.write_dynamic_string(tag, val);
|
1343
|
+
}
|
1344
|
+
}
|
1345
|
+
}
|
1346
|
+
writer.write_dynamic(elf::DT_NULL, 0);
|
1347
|
+
}
|
1348
|
+
SectionData::DynamicSymbol => {
|
1349
|
+
writer.write_null_dynamic_symbol();
|
1350
|
+
for out_dynsym in &out_dynsyms {
|
1351
|
+
let symbol = self.dynamic_symbols.get(out_dynsym.id);
|
1352
|
+
let section =
|
1353
|
+
symbol.section.map(|id| out_sections_index[id.0].unwrap());
|
1354
|
+
writer.write_dynamic_symbol(&write::elf::Sym {
|
1355
|
+
name: out_dynsym.name,
|
1356
|
+
section,
|
1357
|
+
st_info: symbol.st_info,
|
1358
|
+
st_other: symbol.st_other,
|
1359
|
+
st_shndx: symbol.st_shndx,
|
1360
|
+
st_value: symbol.st_value,
|
1361
|
+
st_size: symbol.st_size,
|
1362
|
+
});
|
1363
|
+
}
|
1364
|
+
}
|
1365
|
+
SectionData::DynamicString => {
|
1366
|
+
writer.write_dynstr();
|
1367
|
+
}
|
1368
|
+
SectionData::Hash => {
|
1369
|
+
if self.hash_bucket_count == 0 {
|
1370
|
+
return Err(Error::new(".hash bucket count is zero"));
|
1371
|
+
}
|
1372
|
+
writer.write_hash(self.hash_bucket_count, hash_chain_count, |index| {
|
1373
|
+
out_dynsyms
|
1374
|
+
.get(index.checked_sub(hash_index_base)? as usize)?
|
1375
|
+
.hash
|
1376
|
+
});
|
1377
|
+
}
|
1378
|
+
SectionData::GnuHash => {
|
1379
|
+
if self.gnu_hash_bucket_count == 0 {
|
1380
|
+
return Err(Error::new(".gnu.hash bucket count is zero"));
|
1381
|
+
}
|
1382
|
+
writer.write_gnu_hash(
|
1383
|
+
gnu_hash_symbol_base,
|
1384
|
+
self.gnu_hash_bloom_shift,
|
1385
|
+
self.gnu_hash_bloom_count,
|
1386
|
+
self.gnu_hash_bucket_count,
|
1387
|
+
gnu_hash_symbol_count,
|
1388
|
+
|index| {
|
1389
|
+
out_dynsyms[(gnu_hash_index_base + index) as usize]
|
1390
|
+
.gnu_hash
|
1391
|
+
.unwrap()
|
1392
|
+
},
|
1393
|
+
);
|
1394
|
+
}
|
1395
|
+
SectionData::GnuVersym => {
|
1396
|
+
writer.write_null_gnu_versym();
|
1397
|
+
for out_dynsym in &out_dynsyms {
|
1398
|
+
let symbol = self.dynamic_symbols.get(out_dynsym.id);
|
1399
|
+
let mut index = symbol.version.0 as u16;
|
1400
|
+
if symbol.version_hidden {
|
1401
|
+
index |= elf::VERSYM_HIDDEN;
|
1402
|
+
}
|
1403
|
+
writer.write_gnu_versym(index);
|
1404
|
+
}
|
1405
|
+
}
|
1406
|
+
SectionData::GnuVerdef => {
|
1407
|
+
writer.write_align_gnu_verdef();
|
1408
|
+
if let Some(version_base) = &self.version_base {
|
1409
|
+
writer.write_gnu_verdef(&write::elf::Verdef {
|
1410
|
+
version: elf::VER_DEF_CURRENT,
|
1411
|
+
flags: elf::VER_FLG_BASE,
|
1412
|
+
index: 1,
|
1413
|
+
aux_count: 1,
|
1414
|
+
name: writer.get_dynamic_string(version_base),
|
1415
|
+
});
|
1416
|
+
}
|
1417
|
+
for version in &self.versions {
|
1418
|
+
if let VersionData::Def(def) = &version.data {
|
1419
|
+
let mut names = def.names.iter();
|
1420
|
+
let name = names.next().ok_or_else(|| {
|
1421
|
+
Error(format!("Missing SHT_GNU_VERDEF name {}", version.id.0))
|
1422
|
+
})?;
|
1423
|
+
writer.write_gnu_verdef(&write::elf::Verdef {
|
1424
|
+
version: elf::VER_DEF_CURRENT,
|
1425
|
+
flags: def.flags,
|
1426
|
+
index: version.id.0 as u16,
|
1427
|
+
aux_count: def.names.len() as u16,
|
1428
|
+
name: writer.get_dynamic_string(name),
|
1429
|
+
});
|
1430
|
+
for name in names {
|
1431
|
+
writer.write_gnu_verdaux(writer.get_dynamic_string(name));
|
1432
|
+
}
|
1433
|
+
}
|
1434
|
+
}
|
1435
|
+
}
|
1436
|
+
SectionData::GnuVerneed => {
|
1437
|
+
writer.write_align_gnu_verneed();
|
1438
|
+
for file in &self.version_files {
|
1439
|
+
let out_file = &out_version_files[file.id.0];
|
1440
|
+
if out_file.versions.is_empty() {
|
1441
|
+
continue;
|
1442
|
+
}
|
1443
|
+
writer.write_gnu_verneed(&write::elf::Verneed {
|
1444
|
+
version: elf::VER_NEED_CURRENT,
|
1445
|
+
aux_count: out_file.versions.len() as u16,
|
1446
|
+
file: writer.get_dynamic_string(&file.name),
|
1447
|
+
});
|
1448
|
+
for id in &out_file.versions {
|
1449
|
+
let version = self.versions.get(*id);
|
1450
|
+
// This will always match.
|
1451
|
+
if let VersionData::Need(need) = &version.data {
|
1452
|
+
debug_assert_eq!(*id, version.id);
|
1453
|
+
writer.write_gnu_vernaux(&write::elf::Vernaux {
|
1454
|
+
flags: need.flags,
|
1455
|
+
index: version.id.0 as u16,
|
1456
|
+
name: writer.get_dynamic_string(&need.name),
|
1457
|
+
});
|
1458
|
+
}
|
1459
|
+
}
|
1460
|
+
}
|
1461
|
+
}
|
1462
|
+
_ => {
|
1463
|
+
return Err(Error(format!(
|
1464
|
+
"Unsupported alloc section type {:x}",
|
1465
|
+
section.sh_type
|
1466
|
+
)));
|
1467
|
+
}
|
1468
|
+
}
|
1469
|
+
}
|
1470
|
+
}
|
1471
|
+
|
1472
|
+
// Write non-alloc sections.
|
1473
|
+
for out_section in &mut out_sections {
|
1474
|
+
let section = self.sections.get(out_section.id);
|
1475
|
+
if !self.segments.is_empty() && section.is_alloc() {
|
1476
|
+
continue;
|
1477
|
+
}
|
1478
|
+
match §ion.data {
|
1479
|
+
SectionData::Data(data) => {
|
1480
|
+
writer.write_align(section.sh_addralign as usize);
|
1481
|
+
debug_assert_eq!(out_section.offset, writer.len());
|
1482
|
+
writer.write(data);
|
1483
|
+
}
|
1484
|
+
SectionData::UninitializedData(_) => {
|
1485
|
+
// Nothing to do.
|
1486
|
+
}
|
1487
|
+
SectionData::Note(data) => {
|
1488
|
+
writer.write_align(section.sh_addralign as usize);
|
1489
|
+
debug_assert_eq!(out_section.offset, writer.len());
|
1490
|
+
writer.write(data);
|
1491
|
+
}
|
1492
|
+
SectionData::Attributes(_) => {
|
1493
|
+
writer.write_align(section.sh_addralign as usize);
|
1494
|
+
debug_assert_eq!(out_section.offset, writer.len());
|
1495
|
+
writer.write(&out_section.attributes);
|
1496
|
+
}
|
1497
|
+
// These are handled elsewhere.
|
1498
|
+
SectionData::Relocation(_)
|
1499
|
+
| SectionData::SectionString
|
1500
|
+
| SectionData::Symbol
|
1501
|
+
| SectionData::SymbolSectionIndex
|
1502
|
+
| SectionData::String => {}
|
1503
|
+
_ => {
|
1504
|
+
return Err(Error(format!(
|
1505
|
+
"Unsupported non-alloc section type {:x}",
|
1506
|
+
section.sh_type
|
1507
|
+
)));
|
1508
|
+
}
|
1509
|
+
}
|
1510
|
+
}
|
1511
|
+
|
1512
|
+
writer.write_null_symbol();
|
1513
|
+
for out_sym in &out_syms {
|
1514
|
+
let symbol = self.symbols.get(out_sym.id);
|
1515
|
+
let section = symbol.section.map(|id| out_sections_index[id.0].unwrap());
|
1516
|
+
writer.write_symbol(&write::elf::Sym {
|
1517
|
+
name: out_sym.name,
|
1518
|
+
section,
|
1519
|
+
st_info: symbol.st_info,
|
1520
|
+
st_other: symbol.st_other,
|
1521
|
+
st_shndx: symbol.st_shndx,
|
1522
|
+
st_value: symbol.st_value,
|
1523
|
+
st_size: symbol.st_size,
|
1524
|
+
});
|
1525
|
+
}
|
1526
|
+
writer.write_symtab_shndx();
|
1527
|
+
writer.write_strtab();
|
1528
|
+
|
1529
|
+
// Write non-alloc relocations.
|
1530
|
+
for section in &self.sections {
|
1531
|
+
if !self.segments.is_empty() && section.is_alloc() {
|
1532
|
+
continue;
|
1533
|
+
}
|
1534
|
+
let SectionData::Relocation(relocations) = §ion.data else {
|
1535
|
+
continue;
|
1536
|
+
};
|
1537
|
+
writer.write_align_relocation();
|
1538
|
+
for rel in relocations {
|
1539
|
+
let r_sym = if let Some(id) = rel.symbol {
|
1540
|
+
out_syms_index[id.0].unwrap().0
|
1541
|
+
} else {
|
1542
|
+
0
|
1543
|
+
};
|
1544
|
+
writer.write_relocation(
|
1545
|
+
section.sh_type == elf::SHT_RELA,
|
1546
|
+
&write::elf::Rel {
|
1547
|
+
r_offset: rel.r_offset,
|
1548
|
+
r_sym,
|
1549
|
+
r_type: rel.r_type,
|
1550
|
+
r_addend: rel.r_addend,
|
1551
|
+
},
|
1552
|
+
);
|
1553
|
+
}
|
1554
|
+
}
|
1555
|
+
|
1556
|
+
writer.write_shstrtab();
|
1557
|
+
|
1558
|
+
writer.write_null_section_header();
|
1559
|
+
for out_section in &out_sections {
|
1560
|
+
let section = self.sections.get(out_section.id);
|
1561
|
+
match §ion.data {
|
1562
|
+
SectionData::Data(_)
|
1563
|
+
| SectionData::UninitializedData(_)
|
1564
|
+
| SectionData::Relocation(_)
|
1565
|
+
| SectionData::DynamicRelocation(_)
|
1566
|
+
| SectionData::Note(_)
|
1567
|
+
| SectionData::Dynamic(_)
|
1568
|
+
| SectionData::Attributes(_) => {
|
1569
|
+
let sh_size = match §ion.data {
|
1570
|
+
SectionData::Data(data) => data.len() as u64,
|
1571
|
+
SectionData::UninitializedData(len) => *len,
|
1572
|
+
SectionData::Relocation(relocations) => {
|
1573
|
+
(relocations.len()
|
1574
|
+
* self.class().rel_size(section.sh_type == elf::SHT_RELA))
|
1575
|
+
as u64
|
1576
|
+
}
|
1577
|
+
SectionData::DynamicRelocation(relocations) => {
|
1578
|
+
(relocations.len()
|
1579
|
+
* self.class().rel_size(section.sh_type == elf::SHT_RELA))
|
1580
|
+
as u64
|
1581
|
+
}
|
1582
|
+
SectionData::Note(data) => data.len() as u64,
|
1583
|
+
SectionData::Dynamic(dynamics) => {
|
1584
|
+
((1 + dynamics.len()) * self.class().dyn_size()) as u64
|
1585
|
+
}
|
1586
|
+
_ => 0,
|
1587
|
+
};
|
1588
|
+
let sh_link = if let Some(id) = section.sh_link_section {
|
1589
|
+
if let Some(index) = out_sections_index[id.0] {
|
1590
|
+
index.0
|
1591
|
+
} else {
|
1592
|
+
return Err(Error(format!(
|
1593
|
+
"Invalid sh_link from section '{}' to deleted section '{}'",
|
1594
|
+
section.name,
|
1595
|
+
self.sections.get(id).name,
|
1596
|
+
)));
|
1597
|
+
}
|
1598
|
+
} else {
|
1599
|
+
0
|
1600
|
+
};
|
1601
|
+
let sh_info = if let Some(id) = section.sh_info_section {
|
1602
|
+
if let Some(index) = out_sections_index[id.0] {
|
1603
|
+
index.0
|
1604
|
+
} else {
|
1605
|
+
return Err(Error(format!(
|
1606
|
+
"Invalid sh_info link from section '{}' to deleted section '{}'",
|
1607
|
+
section.name,
|
1608
|
+
self.sections.get(id).name,
|
1609
|
+
)));
|
1610
|
+
}
|
1611
|
+
} else {
|
1612
|
+
section.sh_info
|
1613
|
+
};
|
1614
|
+
writer.write_section_header(&write::elf::SectionHeader {
|
1615
|
+
name: out_section.name,
|
1616
|
+
sh_type: section.sh_type,
|
1617
|
+
sh_flags: section.sh_flags,
|
1618
|
+
sh_addr: section.sh_addr,
|
1619
|
+
sh_offset: out_section.offset as u64,
|
1620
|
+
sh_size,
|
1621
|
+
sh_link,
|
1622
|
+
sh_info,
|
1623
|
+
sh_addralign: section.sh_addralign,
|
1624
|
+
sh_entsize: section.sh_entsize,
|
1625
|
+
});
|
1626
|
+
}
|
1627
|
+
SectionData::SectionString => {
|
1628
|
+
writer.write_shstrtab_section_header();
|
1629
|
+
}
|
1630
|
+
SectionData::Symbol => {
|
1631
|
+
writer.write_symtab_section_header(num_local);
|
1632
|
+
}
|
1633
|
+
SectionData::SymbolSectionIndex => {
|
1634
|
+
writer.write_symtab_shndx_section_header();
|
1635
|
+
}
|
1636
|
+
SectionData::String => {
|
1637
|
+
writer.write_strtab_section_header();
|
1638
|
+
}
|
1639
|
+
SectionData::DynamicString => {
|
1640
|
+
writer.write_dynstr_section_header(section.sh_addr);
|
1641
|
+
}
|
1642
|
+
SectionData::DynamicSymbol => {
|
1643
|
+
writer.write_dynsym_section_header(section.sh_addr, 1);
|
1644
|
+
}
|
1645
|
+
SectionData::Hash => {
|
1646
|
+
writer.write_hash_section_header(section.sh_addr);
|
1647
|
+
}
|
1648
|
+
SectionData::GnuHash => {
|
1649
|
+
writer.write_gnu_hash_section_header(section.sh_addr);
|
1650
|
+
}
|
1651
|
+
SectionData::GnuVersym => {
|
1652
|
+
writer.write_gnu_versym_section_header(section.sh_addr);
|
1653
|
+
}
|
1654
|
+
SectionData::GnuVerdef => {
|
1655
|
+
writer.write_gnu_verdef_section_header(section.sh_addr);
|
1656
|
+
}
|
1657
|
+
SectionData::GnuVerneed => {
|
1658
|
+
writer.write_gnu_verneed_section_header(section.sh_addr);
|
1659
|
+
}
|
1660
|
+
}
|
1661
|
+
}
|
1662
|
+
debug_assert_eq!(writer.reserved_len(), writer.len());
|
1663
|
+
Ok(())
|
1664
|
+
}
|
1665
|
+
|
1666
|
+
/// Delete segments, symbols, relocations, and dynamics that refer
|
1667
|
+
/// to deleted items.
|
1668
|
+
///
|
1669
|
+
/// This calls `delete_orphan_segments`, `delete_orphan_symbols`,
|
1670
|
+
/// `delete_orphan_relocations`, and `delete_orphan_dynamics`.
|
1671
|
+
pub fn delete_orphans(&mut self) {
|
1672
|
+
self.delete_orphan_segments();
|
1673
|
+
self.delete_orphan_symbols();
|
1674
|
+
self.delete_orphan_relocations();
|
1675
|
+
self.delete_orphan_dynamics();
|
1676
|
+
}
|
1677
|
+
|
1678
|
+
/// Set the delete flag for segments that only refer to deleted sections.
|
1679
|
+
pub fn delete_orphan_segments(&mut self) {
|
1680
|
+
let sections = &self.sections;
|
1681
|
+
for segment in &mut self.segments {
|
1682
|
+
// We only delete segments that have become empty due to section deletions.
|
1683
|
+
if segment.sections.is_empty() {
|
1684
|
+
continue;
|
1685
|
+
}
|
1686
|
+
segment.sections.retain(|id| !sections.get(*id).delete);
|
1687
|
+
segment.delete = segment.sections.is_empty();
|
1688
|
+
}
|
1689
|
+
}
|
1690
|
+
|
1691
|
+
/// Set the delete flag for symbols that refer to deleted sections.
|
1692
|
+
pub fn delete_orphan_symbols(&mut self) {
|
1693
|
+
for symbol in &mut self.symbols {
|
1694
|
+
if let Some(section) = symbol.section {
|
1695
|
+
if self.sections.get_mut(section).delete {
|
1696
|
+
symbol.delete = true;
|
1697
|
+
}
|
1698
|
+
}
|
1699
|
+
}
|
1700
|
+
for symbol in &mut self.dynamic_symbols {
|
1701
|
+
if let Some(section) = symbol.section {
|
1702
|
+
if self.sections.get_mut(section).delete {
|
1703
|
+
symbol.delete = true;
|
1704
|
+
}
|
1705
|
+
}
|
1706
|
+
}
|
1707
|
+
}
|
1708
|
+
|
1709
|
+
/// Delete relocations that refer to deleted symbols.
|
1710
|
+
pub fn delete_orphan_relocations(&mut self) {
|
1711
|
+
let symbols = &self.symbols;
|
1712
|
+
let dynamic_symbols = &self.dynamic_symbols;
|
1713
|
+
for section in &mut self.sections {
|
1714
|
+
match &mut section.data {
|
1715
|
+
SectionData::Relocation(relocations) => {
|
1716
|
+
relocations.retain(|relocation| match relocation.symbol {
|
1717
|
+
None => true,
|
1718
|
+
Some(id) => !symbols.get(id).delete,
|
1719
|
+
});
|
1720
|
+
}
|
1721
|
+
SectionData::DynamicRelocation(relocations) => {
|
1722
|
+
relocations.retain(|relocation| match relocation.symbol {
|
1723
|
+
None => true,
|
1724
|
+
Some(id) => !dynamic_symbols.get(id).delete,
|
1725
|
+
});
|
1726
|
+
}
|
1727
|
+
_ => {}
|
1728
|
+
}
|
1729
|
+
}
|
1730
|
+
}
|
1731
|
+
|
1732
|
+
/// Delete dynamic entries that refer to deleted sections.
|
1733
|
+
pub fn delete_orphan_dynamics(&mut self) {
|
1734
|
+
let mut have_dynsym = false;
|
1735
|
+
let mut have_dynstr = false;
|
1736
|
+
let mut have_hash = false;
|
1737
|
+
let mut have_gnu_hash = false;
|
1738
|
+
let mut have_versym = false;
|
1739
|
+
let mut have_verdef = false;
|
1740
|
+
let mut have_verneed = false;
|
1741
|
+
for section in &self.sections {
|
1742
|
+
match §ion.data {
|
1743
|
+
SectionData::DynamicSymbol => have_dynsym = true,
|
1744
|
+
SectionData::DynamicString => have_dynstr = true,
|
1745
|
+
SectionData::Hash => have_hash = true,
|
1746
|
+
SectionData::GnuHash => have_gnu_hash = true,
|
1747
|
+
SectionData::GnuVersym => have_versym = true,
|
1748
|
+
SectionData::GnuVerdef => have_verdef = true,
|
1749
|
+
SectionData::GnuVerneed => have_verneed = true,
|
1750
|
+
_ => {}
|
1751
|
+
}
|
1752
|
+
}
|
1753
|
+
for section in &mut self.sections {
|
1754
|
+
if let SectionData::Dynamic(dynamics) = &mut section.data {
|
1755
|
+
dynamics.retain(|dynamic| match dynamic {
|
1756
|
+
Dynamic::Auto {
|
1757
|
+
tag: elf::DT_SYMTAB,
|
1758
|
+
} => have_dynsym,
|
1759
|
+
Dynamic::Auto {
|
1760
|
+
tag: elf::DT_STRTAB,
|
1761
|
+
}
|
1762
|
+
| Dynamic::Auto { tag: elf::DT_STRSZ } => have_dynstr,
|
1763
|
+
Dynamic::Auto { tag: elf::DT_HASH } => have_hash,
|
1764
|
+
Dynamic::Auto {
|
1765
|
+
tag: elf::DT_GNU_HASH,
|
1766
|
+
} => have_gnu_hash,
|
1767
|
+
Dynamic::Auto {
|
1768
|
+
tag: elf::DT_VERSYM,
|
1769
|
+
} => have_versym,
|
1770
|
+
Dynamic::Auto {
|
1771
|
+
tag: elf::DT_VERNEED,
|
1772
|
+
}
|
1773
|
+
| Dynamic::Auto {
|
1774
|
+
tag: elf::DT_VERNEEDNUM,
|
1775
|
+
} => have_verneed,
|
1776
|
+
Dynamic::Auto {
|
1777
|
+
tag: elf::DT_VERDEF,
|
1778
|
+
}
|
1779
|
+
| Dynamic::Auto {
|
1780
|
+
tag: elf::DT_VERDEFNUM,
|
1781
|
+
} => have_verdef,
|
1782
|
+
_ => true,
|
1783
|
+
});
|
1784
|
+
}
|
1785
|
+
}
|
1786
|
+
}
|
1787
|
+
|
1788
|
+
/// Delete unused GNU version entries.
|
1789
|
+
pub fn delete_unused_versions(&mut self) {
|
1790
|
+
let mut version_used = vec![false; self.versions.len() + VERSION_ID_BASE];
|
1791
|
+
for symbol in &self.dynamic_symbols {
|
1792
|
+
version_used[symbol.version.0] = true;
|
1793
|
+
}
|
1794
|
+
let mut version_file_used = vec![false; self.version_files.len()];
|
1795
|
+
for version in &mut self.versions {
|
1796
|
+
if !version_used[version.id.0] {
|
1797
|
+
version.delete = true;
|
1798
|
+
continue;
|
1799
|
+
}
|
1800
|
+
if let VersionData::Need(need) = &version.data {
|
1801
|
+
version_file_used[need.file.0] = true;
|
1802
|
+
}
|
1803
|
+
}
|
1804
|
+
for file in &mut self.version_files {
|
1805
|
+
if !version_file_used[file.id.0] {
|
1806
|
+
file.delete = true;
|
1807
|
+
}
|
1808
|
+
}
|
1809
|
+
}
|
1810
|
+
|
1811
|
+
/// Return the ELF file class that will be written.
|
1812
|
+
///
|
1813
|
+
/// This can be useful for calculating sizes.
|
1814
|
+
pub fn class(&self) -> write::elf::Class {
|
1815
|
+
write::elf::Class { is_64: self.is_64 }
|
1816
|
+
}
|
1817
|
+
|
1818
|
+
/// Calculate the size of the file header.
|
1819
|
+
pub fn file_header_size(&self) -> usize {
|
1820
|
+
self.class().file_header_size()
|
1821
|
+
}
|
1822
|
+
|
1823
|
+
/// Calculate the size of the program headers.
|
1824
|
+
pub fn program_headers_size(&self) -> usize {
|
1825
|
+
self.segments.count() * self.class().program_header_size()
|
1826
|
+
}
|
1827
|
+
|
1828
|
+
/// Calculate the size of the dynamic symbol table.
|
1829
|
+
///
|
1830
|
+
/// To get an accurate result, you may need to first call
|
1831
|
+
/// [`Self::delete_orphan_symbols`].
|
1832
|
+
pub fn dynamic_symbol_size(&self) -> usize {
|
1833
|
+
(1 + self.dynamic_symbols.count()) * self.class().sym_size()
|
1834
|
+
}
|
1835
|
+
|
1836
|
+
/// Calculate the size of the dynamic string table.
|
1837
|
+
///
|
1838
|
+
/// This adds all of the currently used dynamic strings to a string table,
|
1839
|
+
/// calculates the size of the string table, and discards the string table.
|
1840
|
+
///
|
1841
|
+
/// To get an accurate result, you may need to first call
|
1842
|
+
/// [`Self::delete_orphan_symbols`] and [`Self::delete_unused_versions`].
|
1843
|
+
pub fn dynamic_string_size(&self) -> usize {
|
1844
|
+
let mut dynstr = write::string::StringTable::default();
|
1845
|
+
for section in &self.sections {
|
1846
|
+
if let SectionData::Dynamic(dynamics) = §ion.data {
|
1847
|
+
for dynamic in dynamics {
|
1848
|
+
if let Dynamic::String { val, .. } = dynamic {
|
1849
|
+
dynstr.add(val);
|
1850
|
+
}
|
1851
|
+
}
|
1852
|
+
}
|
1853
|
+
}
|
1854
|
+
for symbol in &self.dynamic_symbols {
|
1855
|
+
dynstr.add(&symbol.name);
|
1856
|
+
}
|
1857
|
+
if let Some(version_base) = &self.version_base {
|
1858
|
+
dynstr.add(version_base);
|
1859
|
+
}
|
1860
|
+
for version in &self.versions {
|
1861
|
+
match &version.data {
|
1862
|
+
VersionData::Def(def) => {
|
1863
|
+
for name in &def.names {
|
1864
|
+
dynstr.add(name);
|
1865
|
+
}
|
1866
|
+
}
|
1867
|
+
VersionData::Need(need) => {
|
1868
|
+
dynstr.add(&need.name);
|
1869
|
+
}
|
1870
|
+
}
|
1871
|
+
}
|
1872
|
+
for file in &self.version_files {
|
1873
|
+
dynstr.add(&file.name);
|
1874
|
+
}
|
1875
|
+
dynstr.size(1)
|
1876
|
+
}
|
1877
|
+
|
1878
|
+
/// Calculate the size of the hash table.
|
1879
|
+
///
|
1880
|
+
/// To get an accurate result, you may need to first call
|
1881
|
+
/// [`Self::delete_orphan_symbols`].
|
1882
|
+
pub fn hash_size(&self) -> usize {
|
1883
|
+
let chain_count = 1 + self.dynamic_symbols.count();
|
1884
|
+
self.class()
|
1885
|
+
.hash_size(self.hash_bucket_count, chain_count as u32)
|
1886
|
+
}
|
1887
|
+
|
1888
|
+
/// Calculate the size of the GNU hash table.
|
1889
|
+
///
|
1890
|
+
/// To get an accurate result, you may need to first call
|
1891
|
+
/// [`Self::delete_orphan_symbols`].
|
1892
|
+
pub fn gnu_hash_size(&self) -> usize {
|
1893
|
+
let symbol_count = self.dynamic_symbols.count_defined();
|
1894
|
+
self.class().gnu_hash_size(
|
1895
|
+
self.gnu_hash_bloom_count,
|
1896
|
+
self.gnu_hash_bucket_count,
|
1897
|
+
symbol_count as u32,
|
1898
|
+
)
|
1899
|
+
}
|
1900
|
+
|
1901
|
+
/// Calculate the size of the GNU symbol version section.
|
1902
|
+
///
|
1903
|
+
/// To get an accurate result, you may need to first call
|
1904
|
+
/// [`Self::delete_orphan_symbols`] and [`Self::delete_unused_versions`].
|
1905
|
+
pub fn gnu_versym_size(&self) -> usize {
|
1906
|
+
let symbol_count = 1 + self.dynamic_symbols.count();
|
1907
|
+
self.class().gnu_versym_size(symbol_count)
|
1908
|
+
}
|
1909
|
+
|
1910
|
+
/// Calculate the size of the GNU version definition section.
|
1911
|
+
///
|
1912
|
+
/// To get an accurate result, you may need to first call
|
1913
|
+
/// [`Self::delete_orphan_symbols`] and [`Self::delete_unused_versions`].
|
1914
|
+
pub fn gnu_verdef_size(&self) -> usize {
|
1915
|
+
let mut verdef_count = 0;
|
1916
|
+
let mut verdaux_count = 0;
|
1917
|
+
if self.version_base.is_some() {
|
1918
|
+
verdef_count += 1;
|
1919
|
+
verdaux_count += 1;
|
1920
|
+
}
|
1921
|
+
for version in &self.versions {
|
1922
|
+
if let VersionData::Def(def) = &version.data {
|
1923
|
+
verdef_count += 1;
|
1924
|
+
verdaux_count += def.names.len();
|
1925
|
+
}
|
1926
|
+
}
|
1927
|
+
self.class().gnu_verdef_size(verdef_count, verdaux_count)
|
1928
|
+
}
|
1929
|
+
|
1930
|
+
/// Calculate the size of the GNU version dependency section.
|
1931
|
+
///
|
1932
|
+
/// To get an accurate result, you may need to first call
|
1933
|
+
/// [`Self::delete_orphan_symbols`] and [`Self::delete_unused_versions`].
|
1934
|
+
pub fn gnu_verneed_size(&self) -> usize {
|
1935
|
+
let verneed_count = self.version_files.count();
|
1936
|
+
let mut vernaux_count = 0;
|
1937
|
+
for version in &self.versions {
|
1938
|
+
if let VersionData::Need(_) = &version.data {
|
1939
|
+
vernaux_count += 1;
|
1940
|
+
}
|
1941
|
+
}
|
1942
|
+
self.class().gnu_verneed_size(verneed_count, vernaux_count)
|
1943
|
+
}
|
1944
|
+
|
1945
|
+
/// Calculate the memory size of a section.
|
1946
|
+
///
|
1947
|
+
/// Returns 0 for sections that are deleted or aren't allocated.
|
1948
|
+
///
|
1949
|
+
/// To get an accurate result, you may need to first call
|
1950
|
+
/// [`Self::delete_orphan_symbols`] and [`Self::delete_unused_versions`].
|
1951
|
+
pub fn section_size(&self, section: &Section<'_>) -> usize {
|
1952
|
+
if section.delete || !section.is_alloc() {
|
1953
|
+
return 0;
|
1954
|
+
}
|
1955
|
+
match §ion.data {
|
1956
|
+
SectionData::Data(data) => data.len(),
|
1957
|
+
SectionData::UninitializedData(len) => *len as usize,
|
1958
|
+
SectionData::Relocation(relocations) => {
|
1959
|
+
relocations.len() * self.class().rel_size(section.sh_type == elf::SHT_RELA)
|
1960
|
+
}
|
1961
|
+
SectionData::DynamicRelocation(relocations) => {
|
1962
|
+
relocations.len() * self.class().rel_size(section.sh_type == elf::SHT_RELA)
|
1963
|
+
}
|
1964
|
+
SectionData::Note(data) => data.len(),
|
1965
|
+
SectionData::Dynamic(dynamics) => (1 + dynamics.len()) * self.class().dyn_size(),
|
1966
|
+
SectionData::DynamicString => self.dynamic_string_size(),
|
1967
|
+
SectionData::DynamicSymbol => self.dynamic_symbol_size(),
|
1968
|
+
SectionData::Hash => self.hash_size(),
|
1969
|
+
SectionData::GnuHash => self.gnu_hash_size(),
|
1970
|
+
SectionData::GnuVersym => self.gnu_versym_size(),
|
1971
|
+
SectionData::GnuVerdef => self.gnu_verdef_size(),
|
1972
|
+
SectionData::GnuVerneed => self.gnu_verneed_size(),
|
1973
|
+
// None of these should be allocated.
|
1974
|
+
SectionData::SectionString
|
1975
|
+
| SectionData::Symbol
|
1976
|
+
| SectionData::SymbolSectionIndex
|
1977
|
+
| SectionData::String
|
1978
|
+
| SectionData::Attributes(_) => 0,
|
1979
|
+
}
|
1980
|
+
}
|
1981
|
+
|
1982
|
+
/// Set the `sh_size` field for every allocated section.
|
1983
|
+
///
|
1984
|
+
/// This is useful to call prior to doing memory layout.
|
1985
|
+
///
|
1986
|
+
/// To get an accurate result, you may need to first call
|
1987
|
+
/// [`Self::delete_orphan_symbols`] and [`Self::delete_unused_versions`].
|
1988
|
+
pub fn set_section_sizes(&mut self) {
|
1989
|
+
for id in (0..self.sections.len()).map(SectionId) {
|
1990
|
+
let section = self.sections.get(id);
|
1991
|
+
if section.delete || !section.is_alloc() {
|
1992
|
+
continue;
|
1993
|
+
}
|
1994
|
+
self.sections.get_mut(id).sh_size = self.section_size(section) as u64;
|
1995
|
+
}
|
1996
|
+
}
|
1997
|
+
|
1998
|
+
/// Find the section containing the dynamic table.
|
1999
|
+
///
|
2000
|
+
/// This uses the `PT_DYNAMIC` program header to find the dynamic section.
|
2001
|
+
pub fn dynamic_section(&self) -> Option<SectionId> {
|
2002
|
+
let segment = self
|
2003
|
+
.segments
|
2004
|
+
.iter()
|
2005
|
+
.find(|segment| segment.p_type == elf::PT_DYNAMIC)?;
|
2006
|
+
// TODO: handle multiple sections in the segment?
|
2007
|
+
segment.sections.iter().copied().next()
|
2008
|
+
}
|
2009
|
+
|
2010
|
+
/// Find the dynamic table entries.
|
2011
|
+
///
|
2012
|
+
/// This uses the `PT_DYNAMIC` program header to find the dynamic section,
|
2013
|
+
pub fn dynamic_data(&self) -> Option<&[Dynamic<'data>]> {
|
2014
|
+
let section = self.dynamic_section()?;
|
2015
|
+
match &self.sections.get(section).data {
|
2016
|
+
SectionData::Dynamic(dynamics) => Some(dynamics),
|
2017
|
+
_ => None,
|
2018
|
+
}
|
2019
|
+
}
|
2020
|
+
|
2021
|
+
/// Find the dynamic table entries.
|
2022
|
+
///
|
2023
|
+
/// This uses the `PT_DYNAMIC` program header to find the dynamic section,
|
2024
|
+
pub fn dynamic_data_mut(&mut self) -> Option<&mut Vec<Dynamic<'data>>> {
|
2025
|
+
let section = self.dynamic_section()?;
|
2026
|
+
match &mut self.sections.get_mut(section).data {
|
2027
|
+
SectionData::Dynamic(dynamics) => Some(dynamics),
|
2028
|
+
_ => None,
|
2029
|
+
}
|
2030
|
+
}
|
2031
|
+
|
2032
|
+
/// Find the section containing the interpreter path.
|
2033
|
+
///
|
2034
|
+
/// This uses the `PT_INTERP` program header to find the interp section.
|
2035
|
+
pub fn interp_section(&self) -> Option<SectionId> {
|
2036
|
+
let segment = self
|
2037
|
+
.segments
|
2038
|
+
.iter()
|
2039
|
+
.find(|segment| segment.p_type == elf::PT_INTERP)?;
|
2040
|
+
// TODO: handle multiple sections in the segment?
|
2041
|
+
segment.sections.iter().copied().next()
|
2042
|
+
}
|
2043
|
+
|
2044
|
+
/// Find the interpreter path.
|
2045
|
+
///
|
2046
|
+
/// This uses the `PT_INTERP` program header to find the interp section.
|
2047
|
+
pub fn interp_data(&self) -> Option<&[u8]> {
|
2048
|
+
let section = self.interp_section()?;
|
2049
|
+
match &self.sections.get(section).data {
|
2050
|
+
SectionData::Data(data) => Some(data),
|
2051
|
+
_ => None,
|
2052
|
+
}
|
2053
|
+
}
|
2054
|
+
|
2055
|
+
/// Find the interpreter path.
|
2056
|
+
///
|
2057
|
+
/// This uses the `PT_INTERP` program header to find the interp section.
|
2058
|
+
pub fn interp_data_mut(&mut self) -> Option<&mut Bytes<'data>> {
|
2059
|
+
let section = self.interp_section()?;
|
2060
|
+
match &mut self.sections.get_mut(section).data {
|
2061
|
+
SectionData::Data(data) => Some(data),
|
2062
|
+
_ => None,
|
2063
|
+
}
|
2064
|
+
}
|
2065
|
+
}
|
2066
|
+
|
2067
|
+
/// ELF file header.
|
2068
|
+
///
|
2069
|
+
/// This corresponds to fields in [`elf::FileHeader32`] or [`elf::FileHeader64`].
|
2070
|
+
/// This only contains the ELF file header fields that can be modified.
|
2071
|
+
/// The other fields are automatically calculated.
|
2072
|
+
#[derive(Debug, Default)]
|
2073
|
+
pub struct Header {
|
2074
|
+
/// The OS ABI field in the file header.
|
2075
|
+
///
|
2076
|
+
/// One of the `ELFOSABI*` constants.
|
2077
|
+
pub os_abi: u8,
|
2078
|
+
/// The ABI version field in the file header.
|
2079
|
+
///
|
2080
|
+
/// The meaning of this field depends on the `os_abi` value.
|
2081
|
+
pub abi_version: u8,
|
2082
|
+
/// The object file type in the file header.
|
2083
|
+
///
|
2084
|
+
/// One of the `ET_*` constants.
|
2085
|
+
pub e_type: u16,
|
2086
|
+
/// The architecture in the file header.
|
2087
|
+
///
|
2088
|
+
/// One of the `EM_*` constants.
|
2089
|
+
pub e_machine: u16,
|
2090
|
+
/// Entry point virtual address in the file header.
|
2091
|
+
pub e_entry: u64,
|
2092
|
+
/// The processor-specific flags in the file header.
|
2093
|
+
///
|
2094
|
+
/// A combination of the `EF_*` constants.
|
2095
|
+
pub e_flags: u32,
|
2096
|
+
/// The file offset of the program header table.
|
2097
|
+
///
|
2098
|
+
/// Writing will fail if the program header table cannot be placed at this offset.
|
2099
|
+
pub e_phoff: u64,
|
2100
|
+
}
|
2101
|
+
|
2102
|
+
/// An ID for referring to a segment in [`Segments`].
|
2103
|
+
#[derive(Clone, Copy, PartialEq, Eq)]
|
2104
|
+
pub struct SegmentId(usize);
|
2105
|
+
|
2106
|
+
impl fmt::Debug for SegmentId {
|
2107
|
+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
2108
|
+
write!(f, "SegmentId({})", self.0)
|
2109
|
+
}
|
2110
|
+
}
|
2111
|
+
|
2112
|
+
impl Id for SegmentId {
|
2113
|
+
fn index(&self) -> usize {
|
2114
|
+
self.0
|
2115
|
+
}
|
2116
|
+
}
|
2117
|
+
|
2118
|
+
impl IdPrivate for SegmentId {
|
2119
|
+
fn new(id: usize) -> Self {
|
2120
|
+
SegmentId(id)
|
2121
|
+
}
|
2122
|
+
}
|
2123
|
+
|
2124
|
+
/// A segment in [`Segments`].
|
2125
|
+
///
|
2126
|
+
/// This corresponds to [`elf::ProgramHeader32`] or [`elf::ProgramHeader64`].
|
2127
|
+
#[derive(Debug)]
|
2128
|
+
pub struct Segment<'data> {
|
2129
|
+
id: SegmentId,
|
2130
|
+
/// Ignore this segment when writing the ELF file.
|
2131
|
+
pub delete: bool,
|
2132
|
+
/// The `p_type` field in the ELF program header.
|
2133
|
+
///
|
2134
|
+
/// One of the `PT_*` constants.
|
2135
|
+
pub p_type: u32,
|
2136
|
+
/// The `p_flags` field in the ELF program header.
|
2137
|
+
///
|
2138
|
+
/// A combination of the `PF_*` constants.
|
2139
|
+
pub p_flags: u32,
|
2140
|
+
/// The `p_offset` field in the ELF program header.
|
2141
|
+
///
|
2142
|
+
/// This is the file offset of the data in the segment. This should
|
2143
|
+
/// correspond to the file offset of the sections that are placed in
|
2144
|
+
/// this segment. Currently there is no support for section data
|
2145
|
+
/// that is not contained in sections.
|
2146
|
+
pub p_offset: u64,
|
2147
|
+
/// The `p_vaddr` field in the ELF program header.
|
2148
|
+
pub p_vaddr: u64,
|
2149
|
+
/// The `p_paddr` field in the ELF program header.
|
2150
|
+
pub p_paddr: u64,
|
2151
|
+
/// The `p_filesz` field in the ELF program header.
|
2152
|
+
pub p_filesz: u64,
|
2153
|
+
/// The `p_memsz` field in the ELF program header.
|
2154
|
+
pub p_memsz: u64,
|
2155
|
+
/// The `p_align` field in the ELF program header.
|
2156
|
+
pub p_align: u64,
|
2157
|
+
/// The sections contained in this segment.
|
2158
|
+
pub sections: Vec<SectionId>,
|
2159
|
+
// Might need to add reference to data if no sections.
|
2160
|
+
marker: PhantomData<&'data ()>,
|
2161
|
+
}
|
2162
|
+
|
2163
|
+
impl<'data> Item for Segment<'data> {
|
2164
|
+
type Id = SegmentId;
|
2165
|
+
|
2166
|
+
fn is_deleted(&self) -> bool {
|
2167
|
+
self.delete
|
2168
|
+
}
|
2169
|
+
}
|
2170
|
+
|
2171
|
+
impl<'data> Segment<'data> {
|
2172
|
+
/// The ID used for referring to this segment.
|
2173
|
+
pub fn id(&self) -> SegmentId {
|
2174
|
+
self.id
|
2175
|
+
}
|
2176
|
+
|
2177
|
+
/// Returns true if the segment type is `PT_LOAD`.
|
2178
|
+
pub fn is_load(&self) -> bool {
|
2179
|
+
self.p_type == elf::PT_LOAD
|
2180
|
+
}
|
2181
|
+
|
2182
|
+
/// Returns true if the segment contains the given file offset.
|
2183
|
+
pub fn contains_offset(&self, offset: u64) -> bool {
|
2184
|
+
offset >= self.p_offset && offset - self.p_offset < self.p_filesz
|
2185
|
+
}
|
2186
|
+
|
2187
|
+
/// Return the address corresponding to the given file offset.
|
2188
|
+
///
|
2189
|
+
/// This will return a meaningless value if `contains_offset` is false.
|
2190
|
+
pub fn address_from_offset(&self, offset: u64) -> u64 {
|
2191
|
+
self.p_vaddr
|
2192
|
+
.wrapping_add(offset.wrapping_sub(self.p_offset))
|
2193
|
+
}
|
2194
|
+
|
2195
|
+
/// Returns true if the segment contains the given address.
|
2196
|
+
pub fn contains_address(&self, address: u64) -> bool {
|
2197
|
+
address >= self.p_vaddr && address - self.p_vaddr < self.p_memsz
|
2198
|
+
}
|
2199
|
+
|
2200
|
+
/// Remove all sections from the segment, and set its size to zero.
|
2201
|
+
pub fn remove_sections(&mut self) {
|
2202
|
+
self.p_filesz = 0;
|
2203
|
+
self.p_memsz = 0;
|
2204
|
+
self.sections.clear();
|
2205
|
+
}
|
2206
|
+
|
2207
|
+
/// Add a section to the segment.
|
2208
|
+
///
|
2209
|
+
/// If this is a [`elf::PT_LOAD`] segment, then the file offset and address of the
|
2210
|
+
/// section is changed to be at the end of the segment.
|
2211
|
+
///
|
2212
|
+
/// The segment's file and address ranges are extended to include the section.
|
2213
|
+
/// This uses the `sh_size` field of the section, not the size of the section data.
|
2214
|
+
///
|
2215
|
+
/// The section's id is added to the segment's list of sections.
|
2216
|
+
pub fn append_section(&mut self, section: &mut Section<'_>) {
|
2217
|
+
debug_assert_eq!(self.p_filesz, self.p_memsz);
|
2218
|
+
if self.p_type == elf::PT_LOAD {
|
2219
|
+
let align = section.sh_addralign;
|
2220
|
+
let offset = (self.p_offset + self.p_filesz + (align - 1)) & !(align - 1);
|
2221
|
+
let addr = (self.p_paddr + self.p_memsz + (align - 1)) & !(align - 1);
|
2222
|
+
section.sh_offset = offset;
|
2223
|
+
section.sh_addr = addr;
|
2224
|
+
}
|
2225
|
+
self.append_section_range(section);
|
2226
|
+
self.sections.push(section.id);
|
2227
|
+
}
|
2228
|
+
|
2229
|
+
/// Extend this segment's file and address ranges to include the given section.
|
2230
|
+
///
|
2231
|
+
/// If the segment's `p_memsz` is zero, then this signifies that the segment
|
2232
|
+
/// has no file or address range yet. In this case, the segment's file and address
|
2233
|
+
/// ranges are set equal to the section. Otherwise, the segment's file and address
|
2234
|
+
/// ranges are extended to include the section.
|
2235
|
+
///
|
2236
|
+
/// This uses the `sh_size` field of the section, not the size of the section data.
|
2237
|
+
pub fn append_section_range(&mut self, section: &Section<'_>) {
|
2238
|
+
let section_filesize = if section.sh_type == elf::SHT_NOBITS {
|
2239
|
+
0
|
2240
|
+
} else {
|
2241
|
+
section.sh_size
|
2242
|
+
};
|
2243
|
+
if self.p_memsz == 0 {
|
2244
|
+
self.p_offset = section.sh_offset;
|
2245
|
+
self.p_filesz = section_filesize;
|
2246
|
+
self.p_vaddr = section.sh_addr;
|
2247
|
+
self.p_paddr = section.sh_addr;
|
2248
|
+
self.p_memsz = section.sh_size;
|
2249
|
+
} else {
|
2250
|
+
if self.p_offset > section.sh_offset {
|
2251
|
+
self.p_offset = section.sh_offset;
|
2252
|
+
}
|
2253
|
+
let filesz = section.sh_offset + section_filesize - self.p_offset;
|
2254
|
+
if self.p_filesz < filesz {
|
2255
|
+
self.p_filesz = filesz;
|
2256
|
+
}
|
2257
|
+
if self.p_vaddr > section.sh_addr {
|
2258
|
+
self.p_vaddr = section.sh_addr;
|
2259
|
+
self.p_paddr = section.sh_addr;
|
2260
|
+
}
|
2261
|
+
let memsz = section.sh_addr + section.sh_size - self.p_vaddr;
|
2262
|
+
if self.p_memsz < memsz {
|
2263
|
+
self.p_memsz = memsz;
|
2264
|
+
}
|
2265
|
+
}
|
2266
|
+
}
|
2267
|
+
|
2268
|
+
/// Recalculate the file and address ranges of the segment.
|
2269
|
+
///
|
2270
|
+
/// Resets the segment's file and address ranges to zero, and then
|
2271
|
+
/// calls `append_section_range` for each section in the segment.
|
2272
|
+
pub fn recalculate_ranges(&mut self, sections: &Sections<'data>) {
|
2273
|
+
self.p_offset = 0;
|
2274
|
+
self.p_filesz = 0;
|
2275
|
+
self.p_vaddr = 0;
|
2276
|
+
self.p_paddr = 0;
|
2277
|
+
self.p_memsz = 0;
|
2278
|
+
let ids = core::mem::take(&mut self.sections);
|
2279
|
+
for id in &ids {
|
2280
|
+
let section = sections.get(*id);
|
2281
|
+
self.append_section_range(section);
|
2282
|
+
}
|
2283
|
+
self.sections = ids;
|
2284
|
+
}
|
2285
|
+
}
|
2286
|
+
|
2287
|
+
/// A segment table.
|
2288
|
+
pub type Segments<'data> = Table<Segment<'data>>;
|
2289
|
+
|
2290
|
+
impl<'data> Segments<'data> {
|
2291
|
+
/// Add a new segment to the table.
|
2292
|
+
pub fn add(&mut self) -> &mut Segment<'data> {
|
2293
|
+
let id = self.next_id();
|
2294
|
+
self.push(Segment {
|
2295
|
+
id,
|
2296
|
+
delete: false,
|
2297
|
+
p_type: 0,
|
2298
|
+
p_flags: 0,
|
2299
|
+
p_offset: 0,
|
2300
|
+
p_vaddr: 0,
|
2301
|
+
p_paddr: 0,
|
2302
|
+
p_filesz: 0,
|
2303
|
+
p_memsz: 0,
|
2304
|
+
p_align: 0,
|
2305
|
+
sections: Vec::new(),
|
2306
|
+
marker: PhantomData,
|
2307
|
+
});
|
2308
|
+
self.get_mut(id)
|
2309
|
+
}
|
2310
|
+
|
2311
|
+
/// Find a `PT_LOAD` segment containing the given offset.
|
2312
|
+
pub fn find_load_segment_from_offset(&self, offset: u64) -> Option<&Segment<'data>> {
|
2313
|
+
self.iter()
|
2314
|
+
.find(|segment| segment.is_load() && segment.contains_offset(offset))
|
2315
|
+
}
|
2316
|
+
|
2317
|
+
/// Add a new `PT_LOAD` segment to the table.
|
2318
|
+
///
|
2319
|
+
/// The file offset and address will be derived from the current maximum for any segment.
|
2320
|
+
pub fn add_load_segment(&mut self, flags: u32, align: u64) -> &mut Segment<'data> {
|
2321
|
+
let mut max_offset = 0;
|
2322
|
+
let mut max_addr = 0;
|
2323
|
+
for segment in &*self {
|
2324
|
+
let offset = segment.p_offset + segment.p_filesz;
|
2325
|
+
if max_offset < offset {
|
2326
|
+
max_offset = offset;
|
2327
|
+
}
|
2328
|
+
let addr = segment.p_vaddr + segment.p_memsz;
|
2329
|
+
if max_addr < addr {
|
2330
|
+
max_addr = addr;
|
2331
|
+
}
|
2332
|
+
}
|
2333
|
+
// No alignment is required for the segment file offset because sections
|
2334
|
+
// will add their alignment to the file offset when they are added.
|
2335
|
+
let offset = max_offset;
|
2336
|
+
// The address must be chosen so that addr % align == offset % align.
|
2337
|
+
let addr = ((max_addr + (align - 1)) & !(align - 1)) + (offset & (align - 1));
|
2338
|
+
|
2339
|
+
let segment = self.add();
|
2340
|
+
segment.p_type = elf::PT_LOAD;
|
2341
|
+
segment.p_flags = flags;
|
2342
|
+
segment.p_offset = offset;
|
2343
|
+
segment.p_vaddr = addr;
|
2344
|
+
segment.p_paddr = addr;
|
2345
|
+
segment.p_align = align;
|
2346
|
+
segment
|
2347
|
+
}
|
2348
|
+
|
2349
|
+
/// Add a copy of a segment to the table.
|
2350
|
+
///
|
2351
|
+
/// This will copy the segment type, flags and alignment.
|
2352
|
+
///
|
2353
|
+
/// Additionally, if the segment type is `PT_LOAD`, then the file offset and address
|
2354
|
+
/// will be set as in `add_load_segment`.
|
2355
|
+
pub fn copy(&mut self, id: SegmentId) -> &mut Segment<'data> {
|
2356
|
+
let segment = self.get(id);
|
2357
|
+
let p_type = segment.p_type;
|
2358
|
+
let p_flags = segment.p_flags;
|
2359
|
+
let p_align = segment.p_align;
|
2360
|
+
if p_type == elf::PT_LOAD {
|
2361
|
+
self.add_load_segment(p_flags, p_align)
|
2362
|
+
} else {
|
2363
|
+
let segment = self.add();
|
2364
|
+
segment.p_type = p_type;
|
2365
|
+
segment.p_flags = p_flags;
|
2366
|
+
segment.p_align = p_align;
|
2367
|
+
segment
|
2368
|
+
}
|
2369
|
+
}
|
2370
|
+
}
|
2371
|
+
|
2372
|
+
/// An ID for referring to a section in [`Sections`].
|
2373
|
+
#[derive(Clone, Copy, PartialEq, Eq)]
|
2374
|
+
pub struct SectionId(usize);
|
2375
|
+
|
2376
|
+
impl fmt::Debug for SectionId {
|
2377
|
+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
2378
|
+
write!(f, "SectionId({})", self.0)
|
2379
|
+
}
|
2380
|
+
}
|
2381
|
+
|
2382
|
+
impl Id for SectionId {
|
2383
|
+
fn index(&self) -> usize {
|
2384
|
+
self.0
|
2385
|
+
}
|
2386
|
+
}
|
2387
|
+
|
2388
|
+
impl IdPrivate for SectionId {
|
2389
|
+
fn new(id: usize) -> Self {
|
2390
|
+
SectionId(id)
|
2391
|
+
}
|
2392
|
+
}
|
2393
|
+
|
2394
|
+
/// A section in [`Sections`].
|
2395
|
+
///
|
2396
|
+
/// This corresponds to [`elf::SectionHeader32`] or [`elf::SectionHeader64`].
|
2397
|
+
#[derive(Debug)]
|
2398
|
+
pub struct Section<'data> {
|
2399
|
+
id: SectionId,
|
2400
|
+
/// Ignore this section when writing the ELF file.
|
2401
|
+
pub delete: bool,
|
2402
|
+
/// The name of the section.
|
2403
|
+
///
|
2404
|
+
/// This is automatically added to the section header string table,
|
2405
|
+
/// and the resulting string table offset is used to set the `sh_name`
|
2406
|
+
/// field in the ELF section header.
|
2407
|
+
pub name: ByteString<'data>,
|
2408
|
+
/// The `sh_type` field in the ELF section header.
|
2409
|
+
///
|
2410
|
+
/// One of the `SHT_*` constants.
|
2411
|
+
pub sh_type: u32,
|
2412
|
+
/// The `sh_flags` field in the ELF section header.
|
2413
|
+
///
|
2414
|
+
/// A combination of the `SHF_*` constants.
|
2415
|
+
pub sh_flags: u64,
|
2416
|
+
/// The `sh_addr` field in the ELF section header.
|
2417
|
+
pub sh_addr: u64,
|
2418
|
+
/// The `sh_offset` field in the ELF section header.
|
2419
|
+
///
|
2420
|
+
/// This is the file offset of the data in the section.
|
2421
|
+
/// Writing will fail if the data cannot be placed at this offset.
|
2422
|
+
///
|
2423
|
+
/// This is only used for sections that have `SHF_ALLOC` set.
|
2424
|
+
/// For other sections, the section data is written at the next available
|
2425
|
+
/// offset.
|
2426
|
+
pub sh_offset: u64,
|
2427
|
+
/// The `sh_size` field in the ELF section header.
|
2428
|
+
///
|
2429
|
+
/// This size is not used when writing. The size of the `data` field is
|
2430
|
+
/// used instead.
|
2431
|
+
pub sh_size: u64,
|
2432
|
+
/// The ID of the section linked to by the `sh_link` field in the ELF section header.
|
2433
|
+
pub sh_link_section: Option<SectionId>,
|
2434
|
+
/// The `sh_info` field in the ELF section header.
|
2435
|
+
///
|
2436
|
+
/// Only used if `sh_info_section` is `None`.
|
2437
|
+
pub sh_info: u32,
|
2438
|
+
/// The ID of the section linked to by the `sh_info` field in the ELF section header.
|
2439
|
+
pub sh_info_section: Option<SectionId>,
|
2440
|
+
/// The `sh_addralign` field in the ELF section header.
|
2441
|
+
pub sh_addralign: u64,
|
2442
|
+
/// The `sh_entsize` field in the ELF section header.
|
2443
|
+
pub sh_entsize: u64,
|
2444
|
+
/// The section data.
|
2445
|
+
pub data: SectionData<'data>,
|
2446
|
+
}
|
2447
|
+
|
2448
|
+
impl<'data> Item for Section<'data> {
|
2449
|
+
type Id = SectionId;
|
2450
|
+
|
2451
|
+
fn is_deleted(&self) -> bool {
|
2452
|
+
self.delete
|
2453
|
+
}
|
2454
|
+
}
|
2455
|
+
|
2456
|
+
impl<'data> Section<'data> {
|
2457
|
+
/// The ID used for referring to this section.
|
2458
|
+
pub fn id(&self) -> SectionId {
|
2459
|
+
self.id
|
2460
|
+
}
|
2461
|
+
|
2462
|
+
/// Returns true if the section flags include `SHF_ALLOC`.
|
2463
|
+
pub fn is_alloc(&self) -> bool {
|
2464
|
+
self.sh_flags & u64::from(elf::SHF_ALLOC) != 0
|
2465
|
+
}
|
2466
|
+
|
2467
|
+
/// Return the segment permission flags that are equivalent to the section flags.
|
2468
|
+
pub fn p_flags(&self) -> u32 {
|
2469
|
+
let mut p_flags = elf::PF_R;
|
2470
|
+
if self.sh_flags & u64::from(elf::SHF_WRITE) != 0 {
|
2471
|
+
p_flags |= elf::PF_W;
|
2472
|
+
}
|
2473
|
+
if self.sh_flags & u64::from(elf::SHF_EXECINSTR) != 0 {
|
2474
|
+
p_flags |= elf::PF_X;
|
2475
|
+
}
|
2476
|
+
p_flags
|
2477
|
+
}
|
2478
|
+
}
|
2479
|
+
|
2480
|
+
/// The data for a [`Section`].
|
2481
|
+
#[derive(Debug, Clone)]
|
2482
|
+
pub enum SectionData<'data> {
|
2483
|
+
/// The section contains the given raw data bytes.
|
2484
|
+
Data(Bytes<'data>),
|
2485
|
+
/// The section contains uninitialised data bytes of the given length.
|
2486
|
+
UninitializedData(u64),
|
2487
|
+
/// The section contains relocations.
|
2488
|
+
Relocation(Vec<Relocation>),
|
2489
|
+
/// The section contains dynamic relocations.
|
2490
|
+
DynamicRelocation(Vec<DynamicRelocation>),
|
2491
|
+
/// The section contains notes.
|
2492
|
+
// TODO: parse notes
|
2493
|
+
Note(Bytes<'data>),
|
2494
|
+
/// The section contains dynamic entries.
|
2495
|
+
Dynamic(Vec<Dynamic<'data>>),
|
2496
|
+
/// The section contains attributes.
|
2497
|
+
///
|
2498
|
+
/// This may be GNU attributes or other vendor-specific attributes.
|
2499
|
+
Attributes(AttributesSection<'data>),
|
2500
|
+
/// The section contains the strings for the section headers.
|
2501
|
+
SectionString,
|
2502
|
+
/// The section contains the symbol table.
|
2503
|
+
Symbol,
|
2504
|
+
/// The section contains the extended section index for the symbol table.
|
2505
|
+
SymbolSectionIndex,
|
2506
|
+
/// The section contains the strings for symbol table.
|
2507
|
+
String,
|
2508
|
+
/// The section contains the dynamic symbol table.
|
2509
|
+
DynamicSymbol,
|
2510
|
+
/// The section contains the dynamic string table.
|
2511
|
+
DynamicString,
|
2512
|
+
/// The section contains the hash table.
|
2513
|
+
Hash,
|
2514
|
+
/// The section contains the GNU hash table.
|
2515
|
+
GnuHash,
|
2516
|
+
/// The section contains the GNU symbol versions.
|
2517
|
+
GnuVersym,
|
2518
|
+
/// The section contains the GNU version definitions.
|
2519
|
+
GnuVerdef,
|
2520
|
+
/// The section contains the GNU version dependencies.
|
2521
|
+
GnuVerneed,
|
2522
|
+
}
|
2523
|
+
|
2524
|
+
/// A section table.
|
2525
|
+
pub type Sections<'data> = Table<Section<'data>>;
|
2526
|
+
|
2527
|
+
impl<'data> Sections<'data> {
|
2528
|
+
/// Add a new section to the table.
|
2529
|
+
pub fn add(&mut self) -> &mut Section<'data> {
|
2530
|
+
let id = self.next_id();
|
2531
|
+
self.push(Section {
|
2532
|
+
id,
|
2533
|
+
delete: false,
|
2534
|
+
name: ByteString::default(),
|
2535
|
+
sh_type: 0,
|
2536
|
+
sh_flags: 0,
|
2537
|
+
sh_addr: 0,
|
2538
|
+
sh_offset: 0,
|
2539
|
+
sh_size: 0,
|
2540
|
+
sh_link_section: None,
|
2541
|
+
sh_info: 0,
|
2542
|
+
sh_info_section: None,
|
2543
|
+
sh_addralign: 0,
|
2544
|
+
sh_entsize: 0,
|
2545
|
+
data: SectionData::Data(Bytes::default()),
|
2546
|
+
})
|
2547
|
+
}
|
2548
|
+
|
2549
|
+
/// Add a copy of a section to the table.
|
2550
|
+
///
|
2551
|
+
/// This will set the file offset of the copy to zero.
|
2552
|
+
/// [`Segment::append_section`] can be used to assign a valid file offset and a new address.
|
2553
|
+
pub fn copy(&mut self, id: SectionId) -> &mut Section<'data> {
|
2554
|
+
let section = self.get(id);
|
2555
|
+
let id = self.next_id();
|
2556
|
+
let name = section.name.clone();
|
2557
|
+
let sh_type = section.sh_type;
|
2558
|
+
let sh_flags = section.sh_flags;
|
2559
|
+
let sh_addr = section.sh_addr;
|
2560
|
+
let sh_size = section.sh_size;
|
2561
|
+
let sh_link_section = section.sh_link_section;
|
2562
|
+
let sh_info = section.sh_info;
|
2563
|
+
let sh_info_section = section.sh_info_section;
|
2564
|
+
let sh_addralign = section.sh_addralign;
|
2565
|
+
let sh_entsize = section.sh_entsize;
|
2566
|
+
let data = section.data.clone();
|
2567
|
+
self.push(Section {
|
2568
|
+
id,
|
2569
|
+
delete: false,
|
2570
|
+
name,
|
2571
|
+
sh_type,
|
2572
|
+
sh_flags,
|
2573
|
+
sh_addr,
|
2574
|
+
sh_offset: 0,
|
2575
|
+
sh_size,
|
2576
|
+
sh_link_section,
|
2577
|
+
sh_info,
|
2578
|
+
sh_info_section,
|
2579
|
+
sh_addralign,
|
2580
|
+
sh_entsize,
|
2581
|
+
data,
|
2582
|
+
})
|
2583
|
+
}
|
2584
|
+
}
|
2585
|
+
|
2586
|
+
/// An ID for referring to a symbol in [`Symbols`].
|
2587
|
+
#[derive(Clone, Copy, PartialEq, Eq)]
|
2588
|
+
pub struct SymbolId<const DYNAMIC: bool = false>(usize);
|
2589
|
+
|
2590
|
+
impl<const DYNAMIC: bool> fmt::Debug for SymbolId<DYNAMIC> {
|
2591
|
+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
2592
|
+
self.0.fmt(f)
|
2593
|
+
}
|
2594
|
+
}
|
2595
|
+
|
2596
|
+
impl<const DYNAMIC: bool> Id for SymbolId<DYNAMIC> {
|
2597
|
+
fn index(&self) -> usize {
|
2598
|
+
self.0
|
2599
|
+
}
|
2600
|
+
}
|
2601
|
+
|
2602
|
+
impl<const DYNAMIC: bool> IdPrivate for SymbolId<DYNAMIC> {
|
2603
|
+
fn new(id: usize) -> Self {
|
2604
|
+
SymbolId(id)
|
2605
|
+
}
|
2606
|
+
}
|
2607
|
+
|
2608
|
+
/// A symbol in [`Symbols`].
|
2609
|
+
///
|
2610
|
+
/// This corresponds to [`elf::Sym32`] or [`elf::Sym64`].
|
2611
|
+
#[derive(Debug)]
|
2612
|
+
pub struct Symbol<'data, const DYNAMIC: bool = false> {
|
2613
|
+
id: SymbolId<DYNAMIC>,
|
2614
|
+
/// Ignore this symbol when writing the ELF file.
|
2615
|
+
pub delete: bool,
|
2616
|
+
/// The name of the symbol.
|
2617
|
+
pub name: ByteString<'data>,
|
2618
|
+
/// The section referenced by the symbol.
|
2619
|
+
///
|
2620
|
+
/// Used to set the `st_shndx` field in the ELF symbol.
|
2621
|
+
pub section: Option<SectionId>,
|
2622
|
+
/// The `st_info` field in the ELF symbol.
|
2623
|
+
pub st_info: u8,
|
2624
|
+
/// The `st_other` field in the ELF symbol.
|
2625
|
+
pub st_other: u8,
|
2626
|
+
/// The `st_shndx` field in the ELF symbol.
|
2627
|
+
///
|
2628
|
+
/// Only used if `Self::section` is `None`.
|
2629
|
+
pub st_shndx: u16,
|
2630
|
+
/// The `st_value` field in the ELF symbol.
|
2631
|
+
pub st_value: u64,
|
2632
|
+
/// The `st_size` field in the ELF symbol.
|
2633
|
+
pub st_size: u64,
|
2634
|
+
/// GNU version for dynamic symbols.
|
2635
|
+
pub version: VersionId,
|
2636
|
+
/// Set the [`elf::VERSYM_HIDDEN`] flag for this symbol.
|
2637
|
+
pub version_hidden: bool,
|
2638
|
+
}
|
2639
|
+
|
2640
|
+
impl<'data, const DYNAMIC: bool> Item for Symbol<'data, DYNAMIC> {
|
2641
|
+
type Id = SymbolId<DYNAMIC>;
|
2642
|
+
|
2643
|
+
fn is_deleted(&self) -> bool {
|
2644
|
+
self.delete
|
2645
|
+
}
|
2646
|
+
}
|
2647
|
+
|
2648
|
+
impl<'data, const DYNAMIC: bool> Symbol<'data, DYNAMIC> {
|
2649
|
+
/// The ID used for referring to this symbol.
|
2650
|
+
pub fn id(&self) -> SymbolId<DYNAMIC> {
|
2651
|
+
self.id
|
2652
|
+
}
|
2653
|
+
|
2654
|
+
/// Get the `st_bind` component of the `st_info` field.
|
2655
|
+
#[inline]
|
2656
|
+
pub fn st_bind(&self) -> u8 {
|
2657
|
+
self.st_info >> 4
|
2658
|
+
}
|
2659
|
+
|
2660
|
+
/// Get the `st_type` component of the `st_info` field.
|
2661
|
+
#[inline]
|
2662
|
+
pub fn st_type(&self) -> u8 {
|
2663
|
+
self.st_info & 0xf
|
2664
|
+
}
|
2665
|
+
|
2666
|
+
/// Set the `st_info` field given the `st_bind` and `st_type` components.
|
2667
|
+
#[inline]
|
2668
|
+
pub fn set_st_info(&mut self, st_bind: u8, st_type: u8) {
|
2669
|
+
self.st_info = (st_bind << 4) + (st_type & 0xf);
|
2670
|
+
}
|
2671
|
+
}
|
2672
|
+
|
2673
|
+
/// A symbol table.
|
2674
|
+
pub type Symbols<'data, const DYNAMIC: bool = false> = Table<Symbol<'data, DYNAMIC>>;
|
2675
|
+
|
2676
|
+
impl<'data, const DYNAMIC: bool> Symbols<'data, DYNAMIC> {
|
2677
|
+
/// Number of defined symbols.
|
2678
|
+
pub fn count_defined(&self) -> usize {
|
2679
|
+
self.into_iter()
|
2680
|
+
.filter(|symbol| symbol.st_shndx != elf::SHN_UNDEF)
|
2681
|
+
.count()
|
2682
|
+
}
|
2683
|
+
|
2684
|
+
/// Add a new symbol to the table.
|
2685
|
+
pub fn add(&mut self) -> &mut Symbol<'data, DYNAMIC> {
|
2686
|
+
let id = self.next_id();
|
2687
|
+
self.push(Symbol {
|
2688
|
+
id,
|
2689
|
+
delete: false,
|
2690
|
+
name: ByteString::default(),
|
2691
|
+
section: None,
|
2692
|
+
st_info: 0,
|
2693
|
+
st_other: 0,
|
2694
|
+
st_shndx: 0,
|
2695
|
+
st_value: 0,
|
2696
|
+
st_size: 0,
|
2697
|
+
version: VersionId::local(),
|
2698
|
+
version_hidden: false,
|
2699
|
+
})
|
2700
|
+
}
|
2701
|
+
}
|
2702
|
+
|
2703
|
+
/// A relocation stored in a [`Section`].
|
2704
|
+
///
|
2705
|
+
/// This corresponds to [`elf::Rel32`], [`elf::Rela32`], [`elf::Rel64`] or [`elf::Rela64`].
|
2706
|
+
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
2707
|
+
pub struct Relocation<const DYNAMIC: bool = false> {
|
2708
|
+
/// The `r_offset` field in the ELF relocation.
|
2709
|
+
pub r_offset: u64,
|
2710
|
+
/// The symbol referenced by the ELF relocation.
|
2711
|
+
pub symbol: Option<SymbolId<DYNAMIC>>,
|
2712
|
+
/// The `r_type` field in the ELF relocation.
|
2713
|
+
pub r_type: u32,
|
2714
|
+
/// The `r_addend` field in the ELF relocation.
|
2715
|
+
///
|
2716
|
+
/// Only used if the section type is `SHT_RELA`.
|
2717
|
+
pub r_addend: i64,
|
2718
|
+
}
|
2719
|
+
|
2720
|
+
/// A dynamic symbol ID.
|
2721
|
+
pub type DynamicSymbolId = SymbolId<true>;
|
2722
|
+
|
2723
|
+
/// A dynamic symbol.
|
2724
|
+
pub type DynamicSymbol<'data> = Symbol<'data, true>;
|
2725
|
+
|
2726
|
+
/// A dynamic symbol table.
|
2727
|
+
pub type DynamicSymbols<'data> = Symbols<'data, true>;
|
2728
|
+
|
2729
|
+
/// A dynamic relocation.
|
2730
|
+
pub type DynamicRelocation = Relocation<true>;
|
2731
|
+
|
2732
|
+
/// An entry in the dynamic section.
|
2733
|
+
///
|
2734
|
+
/// This corresponds to [`elf::Dyn32`] or [`elf::Dyn64`].
|
2735
|
+
#[derive(Debug, Clone, PartialEq, Eq)]
|
2736
|
+
pub enum Dynamic<'data> {
|
2737
|
+
/// The value is an automatically generated integer.
|
2738
|
+
///
|
2739
|
+
/// Writing will fail if the value cannot be automatically generated.
|
2740
|
+
Auto {
|
2741
|
+
/// The `d_tag` field in the dynamic entry.
|
2742
|
+
///
|
2743
|
+
/// One of the `DT_*` values.
|
2744
|
+
tag: u32,
|
2745
|
+
},
|
2746
|
+
/// The value is an integer.
|
2747
|
+
Integer {
|
2748
|
+
/// The `d_tag` field in the dynamic entry.
|
2749
|
+
///
|
2750
|
+
/// One of the `DT_*` values.
|
2751
|
+
tag: u32,
|
2752
|
+
/// The `d_val` field in the dynamic entry.
|
2753
|
+
val: u64,
|
2754
|
+
},
|
2755
|
+
/// The value is a string.
|
2756
|
+
String {
|
2757
|
+
/// The `d_tag` field in the dynamic entry.
|
2758
|
+
///
|
2759
|
+
/// One of the `DT_*` values.
|
2760
|
+
tag: u32,
|
2761
|
+
/// The string value.
|
2762
|
+
///
|
2763
|
+
/// This will be stored in the dynamic string section.
|
2764
|
+
val: ByteString<'data>,
|
2765
|
+
},
|
2766
|
+
}
|
2767
|
+
|
2768
|
+
impl<'data> Dynamic<'data> {
|
2769
|
+
/// The `d_tag` field in the dynamic entry.
|
2770
|
+
///
|
2771
|
+
/// One of the `DT_*` values.
|
2772
|
+
pub fn tag(&self) -> u32 {
|
2773
|
+
match self {
|
2774
|
+
Dynamic::Auto { tag } => *tag,
|
2775
|
+
Dynamic::Integer { tag, .. } => *tag,
|
2776
|
+
Dynamic::String { tag, .. } => *tag,
|
2777
|
+
}
|
2778
|
+
}
|
2779
|
+
}
|
2780
|
+
|
2781
|
+
/// An ID for referring to a filename in [`VersionFiles`].
|
2782
|
+
#[derive(Clone, Copy, PartialEq, Eq)]
|
2783
|
+
pub struct VersionFileId(usize);
|
2784
|
+
|
2785
|
+
impl fmt::Debug for VersionFileId {
|
2786
|
+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
2787
|
+
write!(f, "VersionFileId({})", self.0)
|
2788
|
+
}
|
2789
|
+
}
|
2790
|
+
|
2791
|
+
impl Id for VersionFileId {
|
2792
|
+
fn index(&self) -> usize {
|
2793
|
+
self.0
|
2794
|
+
}
|
2795
|
+
}
|
2796
|
+
|
2797
|
+
impl IdPrivate for VersionFileId {
|
2798
|
+
fn new(id: usize) -> Self {
|
2799
|
+
VersionFileId(id)
|
2800
|
+
}
|
2801
|
+
}
|
2802
|
+
|
2803
|
+
/// A filename used for GNU versioning.
|
2804
|
+
///
|
2805
|
+
/// Stored in [`VersionFiles`].
|
2806
|
+
#[derive(Debug)]
|
2807
|
+
pub struct VersionFile<'data> {
|
2808
|
+
id: VersionFileId,
|
2809
|
+
/// Ignore this file when writing the ELF file.
|
2810
|
+
pub delete: bool,
|
2811
|
+
/// The filename.
|
2812
|
+
pub name: ByteString<'data>,
|
2813
|
+
}
|
2814
|
+
|
2815
|
+
impl<'data> Item for VersionFile<'data> {
|
2816
|
+
type Id = VersionFileId;
|
2817
|
+
|
2818
|
+
fn is_deleted(&self) -> bool {
|
2819
|
+
self.delete
|
2820
|
+
}
|
2821
|
+
}
|
2822
|
+
|
2823
|
+
impl<'data> VersionFile<'data> {
|
2824
|
+
/// The ID used for referring to this filename.
|
2825
|
+
pub fn id(&self) -> VersionFileId {
|
2826
|
+
self.id
|
2827
|
+
}
|
2828
|
+
}
|
2829
|
+
|
2830
|
+
/// A table of filenames used for GNU versioning.
|
2831
|
+
pub type VersionFiles<'data> = Table<VersionFile<'data>>;
|
2832
|
+
|
2833
|
+
impl<'data> VersionFiles<'data> {
|
2834
|
+
/// Add a new filename to the table.
|
2835
|
+
pub fn add(&mut self, name: ByteString<'data>) -> VersionFileId {
|
2836
|
+
let id = self.next_id();
|
2837
|
+
self.push(VersionFile {
|
2838
|
+
id,
|
2839
|
+
name,
|
2840
|
+
delete: false,
|
2841
|
+
});
|
2842
|
+
id
|
2843
|
+
}
|
2844
|
+
}
|
2845
|
+
|
2846
|
+
const VERSION_ID_BASE: usize = 2;
|
2847
|
+
|
2848
|
+
/// An ID for referring to a version in [`Versions`].
|
2849
|
+
#[derive(Clone, Copy, PartialEq, Eq)]
|
2850
|
+
pub struct VersionId(usize);
|
2851
|
+
|
2852
|
+
impl fmt::Debug for VersionId {
|
2853
|
+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
2854
|
+
write!(f, "VersionId({})", self.0)
|
2855
|
+
}
|
2856
|
+
}
|
2857
|
+
|
2858
|
+
impl Id for VersionId {
|
2859
|
+
fn index(&self) -> usize {
|
2860
|
+
self.0 - VERSION_ID_BASE
|
2861
|
+
}
|
2862
|
+
}
|
2863
|
+
|
2864
|
+
impl IdPrivate for VersionId {
|
2865
|
+
fn new(id: usize) -> Self {
|
2866
|
+
VersionId(VERSION_ID_BASE + id)
|
2867
|
+
}
|
2868
|
+
}
|
2869
|
+
|
2870
|
+
impl VersionId {
|
2871
|
+
/// Return `True` if this is a special version that does not exist in the version table.
|
2872
|
+
pub fn is_special(&self) -> bool {
|
2873
|
+
self.0 < VERSION_ID_BASE
|
2874
|
+
}
|
2875
|
+
|
2876
|
+
/// Return the ID for a version index of [`elf::VER_NDX_LOCAL`].
|
2877
|
+
pub fn local() -> Self {
|
2878
|
+
VersionId(elf::VER_NDX_LOCAL as usize)
|
2879
|
+
}
|
2880
|
+
|
2881
|
+
/// Return the ID for a version index of [`elf::VER_NDX_GLOBAL`].
|
2882
|
+
pub fn global() -> Self {
|
2883
|
+
VersionId(elf::VER_NDX_GLOBAL as usize)
|
2884
|
+
}
|
2885
|
+
}
|
2886
|
+
|
2887
|
+
/// A version for a symbol.
|
2888
|
+
#[derive(Debug)]
|
2889
|
+
pub struct Version<'data> {
|
2890
|
+
id: VersionId,
|
2891
|
+
/// The data for this version.
|
2892
|
+
pub data: VersionData<'data>,
|
2893
|
+
/// Ignore this version when writing the ELF file.
|
2894
|
+
pub delete: bool,
|
2895
|
+
}
|
2896
|
+
|
2897
|
+
impl<'data> Item for Version<'data> {
|
2898
|
+
type Id = VersionId;
|
2899
|
+
|
2900
|
+
fn is_deleted(&self) -> bool {
|
2901
|
+
self.delete
|
2902
|
+
}
|
2903
|
+
}
|
2904
|
+
|
2905
|
+
impl<'data> Version<'data> {
|
2906
|
+
/// The ID used for referring to this version.
|
2907
|
+
pub fn id(&self) -> VersionId {
|
2908
|
+
self.id
|
2909
|
+
}
|
2910
|
+
}
|
2911
|
+
|
2912
|
+
/// The data for a version for a symbol.
|
2913
|
+
#[derive(Debug)]
|
2914
|
+
pub enum VersionData<'data> {
|
2915
|
+
/// The version for a defined symbol.
|
2916
|
+
Def(VersionDef<'data>),
|
2917
|
+
/// The version for an undefined symbol.
|
2918
|
+
Need(VersionNeed<'data>),
|
2919
|
+
}
|
2920
|
+
|
2921
|
+
/// A GNU version definition.
|
2922
|
+
#[derive(Debug)]
|
2923
|
+
pub struct VersionDef<'data> {
|
2924
|
+
/// The names for the version.
|
2925
|
+
///
|
2926
|
+
/// This usually has two elements. The first element is the name of this
|
2927
|
+
/// version, and the second element is the name of the previous version
|
2928
|
+
/// in the tree of versions.
|
2929
|
+
pub names: Vec<ByteString<'data>>,
|
2930
|
+
/// The version flags.
|
2931
|
+
///
|
2932
|
+
/// A combination of the `VER_FLG_*` constants.
|
2933
|
+
pub flags: u16,
|
2934
|
+
}
|
2935
|
+
|
2936
|
+
/// A GNU version dependency.
|
2937
|
+
#[derive(Debug)]
|
2938
|
+
pub struct VersionNeed<'data> {
|
2939
|
+
/// The filename of the library providing this version.
|
2940
|
+
pub file: VersionFileId,
|
2941
|
+
/// The name of the version.
|
2942
|
+
pub name: ByteString<'data>,
|
2943
|
+
/// The version flags.
|
2944
|
+
///
|
2945
|
+
/// A combination of the `VER_FLG_*` constants.
|
2946
|
+
pub flags: u16,
|
2947
|
+
}
|
2948
|
+
|
2949
|
+
/// A table of versions that are referenced by symbols.
|
2950
|
+
pub type Versions<'data> = Table<Version<'data>>;
|
2951
|
+
|
2952
|
+
impl<'data> Versions<'data> {
|
2953
|
+
/// Add a version.
|
2954
|
+
pub fn add(&mut self, data: VersionData<'data>) -> VersionId {
|
2955
|
+
let id = self.next_id();
|
2956
|
+
self.push(Version {
|
2957
|
+
id,
|
2958
|
+
data,
|
2959
|
+
delete: false,
|
2960
|
+
});
|
2961
|
+
id
|
2962
|
+
}
|
2963
|
+
}
|
2964
|
+
|
2965
|
+
/// The contents of an attributes section.
|
2966
|
+
#[derive(Debug, Default, Clone)]
|
2967
|
+
pub struct AttributesSection<'data> {
|
2968
|
+
/// The subsections.
|
2969
|
+
pub subsections: Vec<AttributesSubsection<'data>>,
|
2970
|
+
}
|
2971
|
+
|
2972
|
+
impl<'data> AttributesSection<'data> {
|
2973
|
+
/// Create a new attributes section.
|
2974
|
+
pub fn new() -> Self {
|
2975
|
+
Self::default()
|
2976
|
+
}
|
2977
|
+
}
|
2978
|
+
|
2979
|
+
/// A subsection of an attributes section.
|
2980
|
+
#[derive(Debug, Clone)]
|
2981
|
+
pub struct AttributesSubsection<'data> {
|
2982
|
+
/// The vendor namespace for these attributes.
|
2983
|
+
pub vendor: ByteString<'data>,
|
2984
|
+
/// The sub-subsections.
|
2985
|
+
pub subsubsections: Vec<AttributesSubsubsection<'data>>,
|
2986
|
+
}
|
2987
|
+
|
2988
|
+
impl<'data> AttributesSubsection<'data> {
|
2989
|
+
/// Create a new subsection.
|
2990
|
+
pub fn new(vendor: ByteString<'data>) -> Self {
|
2991
|
+
AttributesSubsection {
|
2992
|
+
vendor,
|
2993
|
+
subsubsections: Vec::new(),
|
2994
|
+
}
|
2995
|
+
}
|
2996
|
+
}
|
2997
|
+
|
2998
|
+
/// A sub-subsection in an attributes section.
|
2999
|
+
#[derive(Debug, Clone)]
|
3000
|
+
pub struct AttributesSubsubsection<'data> {
|
3001
|
+
/// The sub-subsection tag.
|
3002
|
+
pub tag: AttributeTag,
|
3003
|
+
/// The data containing the attributes.
|
3004
|
+
pub data: Bytes<'data>,
|
3005
|
+
}
|
3006
|
+
|
3007
|
+
/// The tag for a sub-subsection in an attributes section.
|
3008
|
+
#[derive(Debug, Clone)]
|
3009
|
+
pub enum AttributeTag {
|
3010
|
+
/// The attributes apply to the whole file.
|
3011
|
+
///
|
3012
|
+
/// Correspeonds to [`elf::Tag_File`].
|
3013
|
+
File,
|
3014
|
+
/// The attributes apply to the given sections.
|
3015
|
+
///
|
3016
|
+
/// Correspeonds to [`elf::Tag_Section`].
|
3017
|
+
Section(Vec<SectionId>),
|
3018
|
+
/// The attributes apply to the given symbols.
|
3019
|
+
///
|
3020
|
+
/// Correspeonds to [`elf::Tag_Symbol`].
|
3021
|
+
Symbol(Vec<SymbolId>),
|
3022
|
+
}
|
3023
|
+
|
3024
|
+
impl AttributeTag {
|
3025
|
+
/// Return the corresponding `elf::Tag_*` value for this tag.
|
3026
|
+
pub fn tag(&self) -> u8 {
|
3027
|
+
match self {
|
3028
|
+
AttributeTag::File => elf::Tag_File,
|
3029
|
+
AttributeTag::Section(_) => elf::Tag_Section,
|
3030
|
+
AttributeTag::Symbol(_) => elf::Tag_Symbol,
|
3031
|
+
}
|
3032
|
+
}
|
3033
|
+
}
|