From dfd96533317822c61e498ce100e61fb3d516d93e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Oct 2022 08:56:23 +0000 Subject: [PATCH 1/3] build(deps): bump elftools from 1.1.3 to 1.2.0 in /Library/Homebrew Bumps [elftools](https://github.com/david942j/rbelftools) from 1.1.3 to 1.2.0. - [Release notes](https://github.com/david942j/rbelftools/releases) - [Commits](https://github.com/david942j/rbelftools/compare/v1.1.3...v1.2.0) --- updated-dependencies: - dependency-name: elftools dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 8b3b6ab124..55bb782fdd 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -26,7 +26,7 @@ GEM unf (>= 0.0.5, < 1.0.0) ecma-re-validator (0.4.0) regexp_parser (~> 2.2) - elftools (1.1.3) + elftools (1.2.0) bindata (~> 2) hana (1.3.7) highline (2.0.3) From f5663e6e0c0e213f6935bc49a392c0971d7dd5bd Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 14 Oct 2022 09:00:12 +0000 Subject: [PATCH 2/3] brew vendor-gems: commit updates. --- .../Homebrew/vendor/bundle/bundler/setup.rb | 2 +- .../elftools-1.1.3/lib/elftools/constants.rb | 320 -------- .../lib/elftools.rb | 0 .../elftools-1.2.0/lib/elftools/constants.rb | 722 ++++++++++++++++++ .../lib/elftools/dynamic.rb | 0 .../lib/elftools/elf_file.rb | 2 +- .../lib/elftools/exceptions.rb | 0 .../lib/elftools/lazy_array.rb | 10 +- .../lib/elftools/note.rb | 0 .../lib/elftools/sections/dynamic_section.rb | 0 .../lib/elftools/sections/note_section.rb | 0 .../lib/elftools/sections/null_section.rb | 0 .../elftools/sections/relocation_section.rb | 0 .../lib/elftools/sections/section.rb | 0 .../lib/elftools/sections/sections.rb | 0 .../lib/elftools/sections/str_tab_section.rb | 0 .../lib/elftools/sections/sym_tab_section.rb | 0 .../lib/elftools/segments/dynamic_segment.rb | 0 .../lib/elftools/segments/interp_segment.rb | 0 .../lib/elftools/segments/load_segment.rb | 0 .../lib/elftools/segments/note_segment.rb | 0 .../lib/elftools/segments/segment.rb | 0 .../lib/elftools/segments/segments.rb | 0 .../lib/elftools/structs.rb | 48 +- .../lib/elftools/util.rb | 2 +- .../lib/elftools/version.rb | 2 +- 26 files changed, 760 insertions(+), 348 deletions(-) delete mode 100644 Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/constants.rb rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools.rb (100%) create mode 100644 Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/constants.rb rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/dynamic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/elf_file.rb (99%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/exceptions.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/lazy_array.rb (84%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/note.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/sections/dynamic_section.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/sections/note_section.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/sections/null_section.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/sections/relocation_section.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/sections/section.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/sections/sections.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/sections/str_tab_section.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/sections/sym_tab_section.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/segments/dynamic_segment.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/segments/interp_segment.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/segments/load_segment.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/segments/note_segment.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/segments/segment.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/segments/segments.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/structs.rb (82%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/util.rb (97%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{elftools-1.1.3 => elftools-1.2.0}/lib/elftools/version.rb (78%) diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index bc44af599d..c68e058061 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -52,7 +52,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/domain_name-0.5.20190701/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/regexp_parser-2.6.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ecma-re-validator-0.4.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.1.3/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.2.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/universal-darwin-21/#{Gem.extension_api_version}/hpricot-0.8.6") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hpricot-0.8.6/lib") diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/constants.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/constants.rb deleted file mode 100644 index 35ee1939ca..0000000000 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/constants.rb +++ /dev/null @@ -1,320 +0,0 @@ -# frozen_string_literal: true - -module ELFTools - # Define constants from elf.h. - # Mostly refer from https://github.com/torvalds/linux/blob/master/include/uapi/linux/elf.h - # and binutils/elfcpp/elfcpp.h. - module Constants - # ELF magic header - ELFMAG = "\x7FELF" - - # Values of `d_un.d_val' in the DT_FLAGS and DT_FLAGS_1 entry. - module DF - DF_ORIGIN = 0x00000001 # Object may use DF_ORIGIN - DF_SYMBOLIC = 0x00000002 # Symbol resolutions starts here - DF_TEXTREL = 0x00000004 # Object contains text relocations - DF_BIND_NOW = 0x00000008 # No lazy binding for this object - DF_STATIC_TLS = 0x00000010 # Module uses the static TLS model - - DF_1_NOW = 0x00000001 # Set RTLD_NOW for this object. - DF_1_GLOBAL = 0x00000002 # Set RTLD_GLOBAL for this object. - DF_1_GROUP = 0x00000004 # Set RTLD_GROUP for this object. - DF_1_NODELETE = 0x00000008 # Set RTLD_NODELETE for this object. - DF_1_LOADFLTR = 0x00000010 # Trigger filtee loading at runtime. - DF_1_INITFIRST = 0x00000020 # Set RTLD_INITFIRST for this object - DF_1_NOOPEN = 0x00000040 # Set RTLD_NOOPEN for this object. - DF_1_ORIGIN = 0x00000080 # $ORIGIN must be handled. - DF_1_DIRECT = 0x00000100 # Direct binding enabled. - DF_1_TRANS = 0x00000200 # :nodoc: - DF_1_INTERPOSE = 0x00000400 # Object is used to interpose. - DF_1_NODEFLIB = 0x00000800 # Ignore default lib search path. - DF_1_NODUMP = 0x00001000 # Object can't be dldump'ed. - DF_1_CONFALT = 0x00002000 # Configuration alternative created. - DF_1_ENDFILTEE = 0x00004000 # Filtee terminates filters search. - DF_1_DISPRELDNE = 0x00008000 # Disp reloc applied at build time. - DF_1_DISPRELPND = 0x00010000 # Disp reloc applied at run-time. - DF_1_NODIRECT = 0x00020000 # Object has no-direct binding. - DF_1_IGNMULDEF = 0x00040000 # :nodoc: - DF_1_NOKSYMS = 0x00080000 # :nodoc: - DF_1_NOHDR = 0x00100000 # :nodoc: - DF_1_EDITED = 0x00200000 # Object is modified after built. - DF_1_NORELOC = 0x00400000 # :nodoc: - DF_1_SYMINTPOSE = 0x00800000 # Object has individual interposers. - DF_1_GLOBAUDIT = 0x01000000 # Global auditing required. - DF_1_SINGLETON = 0x02000000 # Singleton symbols are used. - end - include DF - - # Dynamic table types, records in +d_tag+. - module DT - DT_NULL = 0 # marks the end of the _DYNAMIC array - DT_NEEDED = 1 # libraries need to be linked by loader - DT_PLTRELSZ = 2 # total size of relocation entries - DT_PLTGOT = 3 # address of procedure linkage table or global offset table - DT_HASH = 4 # address of symbol hash table - DT_STRTAB = 5 # address of string table - DT_SYMTAB = 6 # address of symbol table - DT_RELA = 7 # address of a relocation table - DT_RELASZ = 8 # total size of the {DT_RELA} table - DT_RELAENT = 9 # size of each entry in the {DT_RELA} table - DT_STRSZ = 10 # total size of {DT_STRTAB} - DT_SYMENT = 11 # size of each entry in {DT_SYMTAB} - DT_INIT = 12 # where the initialization function is - DT_FINI = 13 # where the termination function is - DT_SONAME = 14 # the shared object name - DT_RPATH = 15 # has been superseded by {DT_RUNPATH} - DT_SYMBOLIC = 16 # has been superseded by the DF_SYMBOLIC flag - DT_REL = 17 # similar to {DT_RELA} - DT_RELSZ = 18 # total size of the {DT_REL} table - DT_RELENT = 19 # size of each entry in the {DT_REL} table - DT_PLTREL = 20 # type of relocation entry, either {DT_REL} or {DT_RELA} - DT_DEBUG = 21 # for debugging - DT_TEXTREL = 22 # has been superseded by the DF_TEXTREL flag - DT_JMPREL = 23 # address of relocation entries that are associated solely with the procedure linkage table - DT_BIND_NOW = 24 # if the loader needs to do relocate now, superseded by the DF_BIND_NOW flag - DT_INIT_ARRAY = 25 # address init array - DT_FINI_ARRAY = 26 # address of fini array - DT_INIT_ARRAYSZ = 27 # total size of init array - DT_FINI_ARRAYSZ = 28 # total size of fini array - DT_RUNPATH = 29 # path of libraries for searching - DT_FLAGS = 30 # flags - DT_ENCODING = 32 # just a lower bound - # Values between {DT_LOOS} and {DT_HIOS} are reserved for operating system-specific semantics. - DT_LOOS = 0x6000000d - DT_HIOS = 0x6ffff000 # see {DT_LOOS} - # Values between {DT_VALRNGLO} and {DT_VALRNGHI} use the +d_un.d_val+ field of the dynamic structure. - DT_VALRNGLO = 0x6ffffd00 - DT_VALRNGHI = 0x6ffffdff # see {DT_VALRNGLO} - # Values between {DT_ADDRRNGLO} and {DT_ADDRRNGHI} use the +d_un.d_ptr+ field of the dynamic structure. - DT_ADDRRNGLO = 0x6ffffe00 - DT_GNU_HASH = 0x6ffffef5 # the gnu hash - DT_ADDRRNGHI = 0x6ffffeff # see {DT_ADDRRNGLO} - DT_RELACOUNT = 0x6ffffff9 # relative relocation count - DT_RELCOUNT = 0x6ffffffa # relative relocation count - DT_FLAGS_1 = 0x6ffffffb # flags - DT_VERDEF = 0x6ffffffc # address of version definition table - DT_VERDEFNUM = 0x6ffffffd # number of entries in {DT_VERDEF} - DT_VERNEED = 0x6ffffffe # address of version dependency table - DT_VERSYM = 0x6ffffff0 # section address of .gnu.version - DT_VERNEEDNUM = 0x6fffffff # number of entries in {DT_VERNEED} - # Values between {DT_LOPROC} and {DT_HIPROC} are reserved for processor-specific semantics. - DT_LOPROC = 0x70000000 - DT_HIPROC = 0x7fffffff # see {DT_LOPROC} - end - include DT - - # These constants define the various ELF target machines. - module EM - EM_NONE = 0 # none - EM_M32 = 1 # AT&T WE 32100 - EM_SPARC = 2 # SPARC - EM_386 = 3 # Intel 80386 - EM_68K = 4 # Motorola 68000 - EM_88K = 5 # Motorola 88000 - EM_486 = 6 # Intel 80486 - EM_860 = 7 # Intel 80860 - EM_MIPS = 8 # MIPS R3000 (officially, big-endian only) - - # Next two are historical and binaries and - # modules of these types will be rejected by Linux. - EM_MIPS_RS3_LE = 10 # MIPS R3000 little-endian - EM_MIPS_RS4_BE = 10 # MIPS R4000 big-endian - - EM_PARISC = 15 # HPPA - EM_SPARC32PLUS = 18 # Sun's "v8plus" - EM_PPC = 20 # PowerPC - EM_PPC64 = 21 # PowerPC64 - EM_SPU = 23 # Cell BE SPU - EM_ARM = 40 # ARM 32 bit - EM_SH = 42 # SuperH - EM_SPARCV9 = 43 # SPARC v9 64-bit - EM_H8_300 = 46 # Renesas H8/300 - EM_IA_64 = 50 # HP/Intel IA-64 - EM_X86_64 = 62 # AMD x86-64 - EM_S390 = 22 # IBM S/390 - EM_CRIS = 76 # Axis Communications 32-bit embedded processor - EM_M32R = 88 # Renesas M32R - EM_MN10300 = 89 # Panasonic/MEI MN10300, AM33 - EM_OPENRISC = 92 # OpenRISC 32-bit embedded processor - EM_BLACKFIN = 106 # ADI Blackfin Processor - EM_ALTERA_NIOS2 = 113 # Altera Nios II soft-core processor - EM_TI_C6000 = 140 # TI C6X DSPs - EM_AARCH64 = 183 # ARM 64 bit - EM_TILEPRO = 188 # Tilera TILEPro - EM_MICROBLAZE = 189 # Xilinx MicroBlaze - EM_TILEGX = 191 # Tilera TILE-Gx - EM_BPF = 247 # Linux BPF - in-kernel virtual machine - EM_FRV = 0x5441 # Fujitsu FR-V - EM_AVR32 = 0x18ad # Atmel AVR32 - - # This is an interim value that we will use until the committee comes up with a final number. - EM_ALPHA = 0x9026 - - # Bogus old m32r magic number, used by old tools. - EM_CYGNUS_M32R = 0x9041 - # This is the old interim value for S/390 architecture - EM_S390_OLD = 0xA390 - # Also Panasonic/MEI MN10300, AM33 - EM_CYGNUS_MN10300 = 0xbeef - - # Return the architecture name according to +val+. - # Used by {ELFTools::ELFFile#machine}. - # - # Only supports famous archs. - # @param [Integer] val Value of +e_machine+. - # @return [String] - # Name of architecture. - # @example - # mapping(3) - # #=> 'Intel 80386' - # mapping(6) - # #=> 'Intel 80386' - # mapping(62) - # #=> 'Advanced Micro Devices X86-64' - # mapping(1337) - # #=> ': 0x539' - def self.mapping(val) - case val - when EM_NONE then 'None' - when EM_386, EM_486 then 'Intel 80386' - when EM_860 then 'Intel 80860' - when EM_MIPS then 'MIPS R3000' - when EM_PPC then 'PowerPC' - when EM_PPC64 then 'PowerPC64' - when EM_ARM then 'ARM' - when EM_IA_64 then 'Intel IA-64' - when EM_AARCH64 then 'AArch64' - when EM_X86_64 then 'Advanced Micro Devices X86-64' - else format(': 0x%x', val) - end - end - end - include EM - - # This module defines elf file types. - module ET - ET_NONE = 0 # no file type - ET_REL = 1 # relocatable file - ET_EXEC = 2 # executable file - ET_DYN = 3 # shared object - ET_CORE = 4 # core file - # Return the type name according to +e_type+ in ELF file header. - # @return [String] Type in string format. - def self.mapping(type) - case type - when Constants::ET_NONE then 'NONE' - when Constants::ET_REL then 'REL' - when Constants::ET_EXEC then 'EXEC' - when Constants::ET_DYN then 'DYN' - when Constants::ET_CORE then 'CORE' - else '' - end - end - end - include ET - - # Program header permission flags, records bitwise OR value in +p_flags+. - module PF - PF_X = 1 - PF_W = 2 - PF_R = 4 - end - include PF - - # Program header types, records in +p_type+. - module PT - PT_NULL = 0 # null segment - PT_LOAD = 1 # segment to be load - PT_DYNAMIC = 2 # dynamic tags - PT_INTERP = 3 # interpreter, same as .interp section - PT_NOTE = 4 # same as .note* section - PT_SHLIB = 5 # reserved - PT_PHDR = 6 # where program header starts - PT_TLS = 7 # thread local storage segment - PT_LOOS = 0x60000000 # OS-specific - PT_HIOS = 0x6fffffff # OS-specific - # Values between {PT_LOPROC} and {PT_HIPROC} are reserved for processor-specific semantics. - PT_LOPROC = 0x70000000 - PT_HIPROC = 0x7fffffff # see {PT_LOPROC} - PT_GNU_EH_FRAME = 0x6474e550 # for exception handler - PT_GNU_STACK = 0x6474e551 # permission of stack - PT_GNU_RELRO = 0x6474e552 # read only after relocation - end - include PT - - # Special indices to section. These are used when there is no valid index to section header. - # The meaning of these values is left upto the embedding header. - module SHN - SHN_UNDEF = 0 # undefined section - SHN_LORESERVE = 0xff00 # start of reserved indices - end - include SHN - - # Section header types, records in +sh_type+. - module SHT - SHT_NULL = 0 # null section - SHT_PROGBITS = 1 # information defined by program itself - SHT_SYMTAB = 2 # symbol table section - SHT_STRTAB = 3 # string table section - SHT_RELA = 4 # relocation with addends - SHT_HASH = 5 # symbol hash table - SHT_DYNAMIC = 6 # information of dynamic linking - SHT_NOTE = 7 # note section - SHT_NOBITS = 8 # section occupies no space - SHT_REL = 9 # relocation - SHT_SHLIB = 10 # reserved - SHT_DYNSYM = 11 # symbols for dynamic - # Values between {SHT_LOPROC} and {SHT_HIPROC} are reserved for processor-specific semantics. - SHT_LOPROC = 0x70000000 - SHT_HIPROC = 0x7fffffff # see {SHT_LOPROC} - # Values between {SHT_LOUSER} and {SHT_HIUSER} are reserved for application programs. - SHT_LOUSER = 0x80000000 - SHT_HIUSER = 0xffffffff # see {SHT_LOUSER} - end - include SHT - - # Symbol binding from Sym st_info field. - module STB - STB_LOCAL = 0 # Local symbol - STB_GLOBAL = 1 # Global symbol - STB_WEAK = 2 # Weak symbol - STB_NUM = 3 # Number of defined types. - STB_LOOS = 10 # Start of OS-specific - STB_GNU_UNIQUE = 10 # Unique symbol. - STB_HIOS = 12 # End of OS-specific - STB_LOPROC = 13 # Start of processor-specific - STB_HIPROC = 15 # End of processor-specific - end - include STB - - # Symbol types from Sym st_info field. - module STT - STT_NOTYPE = 0 # Symbol type is unspecified - STT_OBJECT = 1 # Symbol is a data object - STT_FUNC = 2 # Symbol is a code object - STT_SECTION = 3 # Symbol associated with a section - STT_FILE = 4 # Symbol's name is file name - STT_COMMON = 5 # Symbol is a common data object - STT_TLS = 6 # Symbol is thread-local data object - STT_NUM = 7 # Number of defined types. - - # GNU extension: symbol value points to a function which is called - # at runtime to determine the final value of the symbol. - STT_GNU_IFUNC = 10 - - STT_LOOS = 10 # Start of OS-specific - STT_HIOS = 12 # End of OS-specific - STT_LOPROC = 13 # Start of processor-specific - STT_HIPROC = 15 # End of processor-specific - - # The section type that must be used for register symbols on - # Sparc. These symbols initialize a global register. - STT_SPARC_REGISTER = 13 - - # ARM: a THUMB function. This is not defined in ARM ELF Specification but - # used by the GNU tool-chain. - STT_ARM_TFUNC = 13 - end - include STT - end -end diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/constants.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/constants.rb new file mode 100644 index 0000000000..2e2f77da2b --- /dev/null +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/constants.rb @@ -0,0 +1,722 @@ +# frozen_string_literal: true + +module ELFTools + # Define constants from elf.h. + # Mostly refer from https://github.com/torvalds/linux/blob/master/include/uapi/linux/elf.h + # and binutils/elfcpp/elfcpp.h. + module Constants + # ELF magic header + ELFMAG = "\x7FELF" + + # Values of `d_un.d_val' in the DT_FLAGS and DT_FLAGS_1 entry. + module DF + DF_ORIGIN = 0x00000001 # Object may use DF_ORIGIN + DF_SYMBOLIC = 0x00000002 # Symbol resolutions starts here + DF_TEXTREL = 0x00000004 # Object contains text relocations + DF_BIND_NOW = 0x00000008 # No lazy binding for this object + DF_STATIC_TLS = 0x00000010 # Module uses the static TLS model + + DF_1_NOW = 0x00000001 # Set RTLD_NOW for this object. + DF_1_GLOBAL = 0x00000002 # Set RTLD_GLOBAL for this object. + DF_1_GROUP = 0x00000004 # Set RTLD_GROUP for this object. + DF_1_NODELETE = 0x00000008 # Set RTLD_NODELETE for this object. + DF_1_LOADFLTR = 0x00000010 # Trigger filtee loading at runtime. + DF_1_INITFIRST = 0x00000020 # Set RTLD_INITFIRST for this object + DF_1_NOOPEN = 0x00000040 # Set RTLD_NOOPEN for this object. + DF_1_ORIGIN = 0x00000080 # $ORIGIN must be handled. + DF_1_DIRECT = 0x00000100 # Direct binding enabled. + DF_1_TRANS = 0x00000200 # :nodoc: + DF_1_INTERPOSE = 0x00000400 # Object is used to interpose. + DF_1_NODEFLIB = 0x00000800 # Ignore default lib search path. + DF_1_NODUMP = 0x00001000 # Object can't be dldump'ed. + DF_1_CONFALT = 0x00002000 # Configuration alternative created. + DF_1_ENDFILTEE = 0x00004000 # Filtee terminates filters search. + DF_1_DISPRELDNE = 0x00008000 # Disp reloc applied at build time. + DF_1_DISPRELPND = 0x00010000 # Disp reloc applied at run-time. + DF_1_NODIRECT = 0x00020000 # Object has no-direct binding. + DF_1_IGNMULDEF = 0x00040000 # :nodoc: + DF_1_NOKSYMS = 0x00080000 # :nodoc: + DF_1_NOHDR = 0x00100000 # :nodoc: + DF_1_EDITED = 0x00200000 # Object is modified after built. + DF_1_NORELOC = 0x00400000 # :nodoc: + DF_1_SYMINTPOSE = 0x00800000 # Object has individual interposers. + DF_1_GLOBAUDIT = 0x01000000 # Global auditing required. + DF_1_SINGLETON = 0x02000000 # Singleton symbols are used. + DF_1_STUB = 0x04000000 # :nodoc: + DF_1_PIE = 0x08000000 # Object is a position-independent executable. + DF_1_KMOD = 0x10000000 # :nodoc: + DF_1_WEAKFILTER = 0x20000000 # :nodoc: + DF_1_NOCOMMON = 0x40000000 # :nodoc: + end + include DF + + # Dynamic table types, records in +d_tag+. + module DT + DT_NULL = 0 # marks the end of the _DYNAMIC array + DT_NEEDED = 1 # libraries need to be linked by loader + DT_PLTRELSZ = 2 # total size of relocation entries + DT_PLTGOT = 3 # address of procedure linkage table or global offset table + DT_HASH = 4 # address of symbol hash table + DT_STRTAB = 5 # address of string table + DT_SYMTAB = 6 # address of symbol table + DT_RELA = 7 # address of a relocation table + DT_RELASZ = 8 # total size of the {DT_RELA} table + DT_RELAENT = 9 # size of each entry in the {DT_RELA} table + DT_STRSZ = 10 # total size of {DT_STRTAB} + DT_SYMENT = 11 # size of each entry in {DT_SYMTAB} + DT_INIT = 12 # where the initialization function is + DT_FINI = 13 # where the termination function is + DT_SONAME = 14 # the shared object name + DT_RPATH = 15 # has been superseded by {DT_RUNPATH} + DT_SYMBOLIC = 16 # has been superseded by the DF_SYMBOLIC flag + DT_REL = 17 # similar to {DT_RELA} + DT_RELSZ = 18 # total size of the {DT_REL} table + DT_RELENT = 19 # size of each entry in the {DT_REL} table + DT_PLTREL = 20 # type of relocation entry, either {DT_REL} or {DT_RELA} + DT_DEBUG = 21 # for debugging + DT_TEXTREL = 22 # has been superseded by the DF_TEXTREL flag + DT_JMPREL = 23 # address of relocation entries associated solely with procedure linkage table + DT_BIND_NOW = 24 # if the loader needs to do relocate now, superseded by the DF_BIND_NOW flag + DT_INIT_ARRAY = 25 # address init array + DT_FINI_ARRAY = 26 # address of fini array + DT_INIT_ARRAYSZ = 27 # total size of init array + DT_FINI_ARRAYSZ = 28 # total size of fini array + DT_RUNPATH = 29 # path of libraries for searching + DT_FLAGS = 30 # flags + DT_ENCODING = 32 # just a lower bound + DT_PREINIT_ARRAY = 32 # pre-initialization functions array + DT_PREINIT_ARRAYSZ = 33 # pre-initialization functions array size (bytes) + DT_SYMTAB_SHNDX = 34 # address of the +SHT_SYMTAB_SHNDX+ section associated with {DT_SYMTAB} table + DT_RELRSZ = 35 # :nodoc: + DT_RELR = 36 # :nodoc: + DT_RELRENT = 37 # :nodoc: + + # Values between {DT_LOOS} and {DT_HIOS} are reserved for operating system-specific semantics. + DT_LOOS = 0x6000000d + DT_HIOS = 0x6ffff000 # see {DT_LOOS} + + # Values between {DT_VALRNGLO} and {DT_VALRNGHI} use the +d_un.d_val+ field of the dynamic structure. + DT_VALRNGLO = 0x6ffffd00 + DT_VALRNGHI = 0x6ffffdff # see {DT_VALRNGLO} + + # Values between {DT_ADDRRNGLO} and {DT_ADDRRNGHI} use the +d_un.d_ptr+ field of the dynamic structure. + DT_ADDRRNGLO = 0x6ffffe00 + DT_GNU_HASH = 0x6ffffef5 # the gnu hash + DT_TLSDESC_PLT = 0x6ffffef6 # :nodoc: + DT_TLSDESC_GOT = 0x6ffffef7 # :nodoc: + DT_GNU_CONFLICT = 0x6ffffef8 # :nodoc: + DT_GNU_LIBLIST = 0x6ffffef9 # :nodoc: + DT_CONFIG = 0x6ffffefa # :nodoc: + DT_DEPAUDIT = 0x6ffffefb # :nodoc: + DT_AUDIT = 0x6ffffefc # :nodoc: + DT_PLTPAD = 0x6ffffefd # :nodoc: + DT_MOVETAB = 0x6ffffefe # :nodoc: + DT_SYMINFO = 0x6ffffeff # :nodoc: + DT_ADDRRNGHI = 0x6ffffeff # see {DT_ADDRRNGLO} + + DT_VERSYM = 0x6ffffff0 # section address of .gnu.version + DT_RELACOUNT = 0x6ffffff9 # relative relocation count + DT_RELCOUNT = 0x6ffffffa # relative relocation count + DT_FLAGS_1 = 0x6ffffffb # flags + DT_VERDEF = 0x6ffffffc # address of version definition table + DT_VERDEFNUM = 0x6ffffffd # number of entries in {DT_VERDEF} + DT_VERNEED = 0x6ffffffe # address of version dependency table + DT_VERNEEDNUM = 0x6fffffff # number of entries in {DT_VERNEED} + + # Values between {DT_LOPROC} and {DT_HIPROC} are reserved for processor-specific semantics. + DT_LOPROC = 0x70000000 + + DT_PPC_GOT = 0x70000000 # global offset table + DT_PPC_OPT = 0x70000001 # whether various optimisations are possible + + DT_PPC64_GLINK = 0x70000000 # start of the .glink section + DT_PPC64_OPD = 0x70000001 # start of the .opd section + DT_PPC64_OPDSZ = 0x70000002 # size of the .opd section + DT_PPC64_OPT = 0x70000003 # whether various optimisations are possible + + DT_SPARC_REGISTER = 0x70000000 # index of an +STT_SPARC_REGISTER+ symbol within the {DT_SYMTAB} table + + DT_MIPS_RLD_VERSION = 0x70000001 # 32 bit version number for runtime linker interface + DT_MIPS_TIME_STAMP = 0x70000002 # time stamp + DT_MIPS_ICHECKSUM = 0x70000003 # checksum of external strings and common sizes + DT_MIPS_IVERSION = 0x70000004 # index of version string in string table + DT_MIPS_FLAGS = 0x70000005 # 32 bits of flags + DT_MIPS_BASE_ADDRESS = 0x70000006 # base address of the segment + DT_MIPS_MSYM = 0x70000007 # :nodoc: + DT_MIPS_CONFLICT = 0x70000008 # address of +.conflict+ section + DT_MIPS_LIBLIST = 0x70000009 # address of +.liblist+ section + DT_MIPS_LOCAL_GOTNO = 0x7000000a # number of local global offset table entries + DT_MIPS_CONFLICTNO = 0x7000000b # number of entries in the +.conflict+ section + DT_MIPS_LIBLISTNO = 0x70000010 # number of entries in the +.liblist+ section + DT_MIPS_SYMTABNO = 0x70000011 # number of entries in the +.dynsym+ section + DT_MIPS_UNREFEXTNO = 0x70000012 # index of first external dynamic symbol not referenced locally + DT_MIPS_GOTSYM = 0x70000013 # index of first dynamic symbol in global offset table + DT_MIPS_HIPAGENO = 0x70000014 # number of page table entries in global offset table + DT_MIPS_RLD_MAP = 0x70000016 # address of run time loader map, used for debugging + DT_MIPS_DELTA_CLASS = 0x70000017 # delta C++ class definition + DT_MIPS_DELTA_CLASS_NO = 0x70000018 # number of entries in {DT_MIPS_DELTA_CLASS} + DT_MIPS_DELTA_INSTANCE = 0x70000019 # delta C++ class instances + DT_MIPS_DELTA_INSTANCE_NO = 0x7000001a # number of entries in {DT_MIPS_DELTA_INSTANCE} + DT_MIPS_DELTA_RELOC = 0x7000001b # delta relocations + DT_MIPS_DELTA_RELOC_NO = 0x7000001c # number of entries in {DT_MIPS_DELTA_RELOC} + DT_MIPS_DELTA_SYM = 0x7000001d # delta symbols that Delta relocations refer to + DT_MIPS_DELTA_SYM_NO = 0x7000001e # number of entries in {DT_MIPS_DELTA_SYM} + DT_MIPS_DELTA_CLASSSYM = 0x70000020 # delta symbols that hold class declarations + DT_MIPS_DELTA_CLASSSYM_NO = 0x70000021 # number of entries in {DT_MIPS_DELTA_CLASSSYM} + DT_MIPS_CXX_FLAGS = 0x70000022 # flags indicating information about C++ flavor + DT_MIPS_PIXIE_INIT = 0x70000023 # :nodoc: + DT_MIPS_SYMBOL_LIB = 0x70000024 # address of +.MIPS.symlib+ + DT_MIPS_LOCALPAGE_GOTIDX = 0x70000025 # GOT index of the first PTE for a segment + DT_MIPS_LOCAL_GOTIDX = 0x70000026 # GOT index of the first PTE for a local symbol + DT_MIPS_HIDDEN_GOTIDX = 0x70000027 # GOT index of the first PTE for a hidden symbol + DT_MIPS_PROTECTED_GOTIDX = 0x70000028 # GOT index of the first PTE for a protected symbol + DT_MIPS_OPTIONS = 0x70000029 # address of +.MIPS.options+ + DT_MIPS_INTERFACE = 0x7000002a # address of +.interface+ + DT_MIPS_DYNSTR_ALIGN = 0x7000002b # :nodoc: + DT_MIPS_INTERFACE_SIZE = 0x7000002c # size of the +.interface+ section + DT_MIPS_RLD_TEXT_RESOLVE_ADDR = 0x7000002d # size of +rld_text_resolve+ function stored in the GOT + DT_MIPS_PERF_SUFFIX = 0x7000002e # default suffix of DSO to be added by rld on +dlopen()+ calls + DT_MIPS_COMPACT_SIZE = 0x7000002f # size of compact relocation section (O32) + DT_MIPS_GP_VALUE = 0x70000030 # GP value for auxiliary GOTs + DT_MIPS_AUX_DYNAMIC = 0x70000031 # address of auxiliary +.dynamic+ + DT_MIPS_PLTGOT = 0x70000032 # address of the base of the PLTGOT + DT_MIPS_RWPLT = 0x70000034 # base of a writable PLT + DT_MIPS_RLD_MAP_REL = 0x70000035 # relative offset of run time loader map + DT_MIPS_XHASH = 0x70000036 # GNU-style hash table with xlat + + DT_AUXILIARY = 0x7ffffffd # :nodoc: + DT_USED = 0x7ffffffe # :nodoc: + DT_FILTER = 0x7ffffffe # :nodoc: + + DT_HIPROC = 0x7fffffff # see {DT_LOPROC} + end + include DT + + # These constants define the various ELF target machines. + module EM + EM_NONE = 0 # none + EM_M32 = 1 # AT&T WE 32100 + EM_SPARC = 2 # SPARC + EM_386 = 3 # Intel 80386 + EM_68K = 4 # Motorola 68000 + EM_88K = 5 # Motorola 88000 + EM_486 = 6 # Intel 80486 + EM_860 = 7 # Intel 80860 + EM_MIPS = 8 # MIPS R3000 (officially, big-endian only) + EM_S370 = 9 # IBM System/370 + + # Next two are historical and binaries and + # modules of these types will be rejected by Linux. + EM_MIPS_RS3_LE = 10 # MIPS R3000 little-endian + EM_MIPS_RS4_BE = 10 # MIPS R4000 big-endian + + EM_PARISC = 15 # HPPA + EM_VPP500 = 17 # Fujitsu VPP500 (also some older versions of PowerPC) + EM_SPARC32PLUS = 18 # Sun's "v8plus" + EM_960 = 19 # Intel 80960 + EM_PPC = 20 # PowerPC + EM_PPC64 = 21 # PowerPC64 + EM_S390 = 22 # IBM S/390 + EM_SPU = 23 # Cell BE SPU + EM_V800 = 36 # NEC V800 series + EM_FR20 = 37 # Fujitsu FR20 + EM_RH32 = 38 # TRW RH32 + EM_RCE = 39 # Motorola M*Core + EM_ARM = 40 # ARM 32 bit + EM_SH = 42 # SuperH + EM_SPARCV9 = 43 # SPARC v9 64-bit + EM_TRICORE = 44 # Siemens Tricore embedded processor + EM_ARC = 45 # ARC Cores + EM_H8_300 = 46 # Renesas H8/300 + EM_H8_300H = 47 # Renesas H8/300H + EM_H8S = 48 # Renesas H8S + EM_H8_500 = 49 # Renesas H8/500H + EM_IA_64 = 50 # HP/Intel IA-64 + EM_MIPS_X = 51 # Stanford MIPS-X + EM_COLDFIRE = 52 # Motorola Coldfire + EM_68HC12 = 53 # Motorola M68HC12 + EM_MMA = 54 # Fujitsu Multimedia Accelerator + EM_PCP = 55 # Siemens PCP + EM_NCPU = 56 # Sony nCPU embedded RISC processor + EM_NDR1 = 57 # Denso NDR1 microprocessor + EM_STARCORE = 58 # Motorola Star*Core processor + EM_ME16 = 59 # Toyota ME16 processor + EM_ST100 = 60 # STMicroelectronics ST100 processor + EM_TINYJ = 61 # Advanced Logic Corp. TinyJ embedded processor + EM_X86_64 = 62 # AMD x86-64 + EM_PDSP = 63 # Sony DSP Processor + EM_PDP10 = 64 # Digital Equipment Corp. PDP-10 + EM_PDP11 = 65 # Digital Equipment Corp. PDP-11 + EM_FX66 = 66 # Siemens FX66 microcontroller + EM_ST9PLUS = 67 # STMicroelectronics ST9+ 8/16 bit microcontroller + EM_ST7 = 68 # STMicroelectronics ST7 8-bit microcontroller + EM_68HC16 = 69 # Motorola MC68HC16 Microcontroller + EM_68HC11 = 70 # Motorola MC68HC11 Microcontroller + EM_68HC08 = 71 # Motorola MC68HC08 Microcontroller + EM_68HC05 = 72 # Motorola MC68HC05 Microcontroller + EM_SVX = 73 # Silicon Graphics SVx + EM_ST19 = 74 # STMicroelectronics ST19 8-bit cpu + EM_VAX = 75 # Digital VAX + EM_CRIS = 76 # Axis Communications 32-bit embedded processor + EM_JAVELIN = 77 # Infineon Technologies 32-bit embedded cpu + EM_FIREPATH = 78 # Element 14 64-bit DSP processor + EM_ZSP = 79 # LSI Logic's 16-bit DSP processor + EM_MMIX = 80 # Donald Knuth's educational 64-bit processor + EM_HUANY = 81 # Harvard's machine-independent format + EM_PRISM = 82 # SiTera Prism + EM_AVR = 83 # Atmel AVR 8-bit microcontroller + EM_FR30 = 84 # Fujitsu FR30 + EM_D10V = 85 # Mitsubishi D10V + EM_D30V = 86 # Mitsubishi D30V + EM_V850 = 87 # Renesas V850 + EM_M32R = 88 # Renesas M32R + EM_MN10300 = 89 # Matsushita MN10300 + EM_MN10200 = 90 # Matsushita MN10200 + EM_PJ = 91 # picoJava + EM_OPENRISC = 92 # OpenRISC 32-bit embedded processor + EM_ARC_COMPACT = 93 # ARC International ARCompact processor + EM_XTENSA = 94 # Tensilica Xtensa Architecture + EM_VIDEOCORE = 95 # Alphamosaic VideoCore processor + EM_TMM_GPP = 96 # Thompson Multimedia General Purpose Processor + EM_NS32K = 97 # National Semiconductor 32000 series + EM_TPC = 98 # Tenor Network TPC processor + EM_SNP1K = 99 # Trebia SNP 1000 processor + EM_ST200 = 100 # STMicroelectronics ST200 microcontroller + EM_IP2K = 101 # Ubicom IP2022 micro controller + EM_MAX = 102 # MAX Processor + EM_CR = 103 # National Semiconductor CompactRISC + EM_F2MC16 = 104 # Fujitsu F2MC16 + EM_MSP430 = 105 # TI msp430 micro controller + EM_BLACKFIN = 106 # ADI Blackfin Processor + EM_SE_C33 = 107 # S1C33 Family of Seiko Epson processors + EM_SEP = 108 # Sharp embedded microprocessor + EM_ARCA = 109 # Arca RISC Microprocessor + EM_UNICORE = 110 # Microprocessor series from PKU-Unity Ltd. and MPRC of Peking University + EM_EXCESS = 111 # eXcess: 16/32/64-bit configurable embedded CPU + EM_DXP = 112 # Icera Semiconductor Inc. Deep Execution Processor + EM_ALTERA_NIOS2 = 113 # Altera Nios II soft-core processor + EM_CRX = 114 # National Semiconductor CRX + EM_XGATE = 115 # Motorola XGATE embedded processor + EM_C116 = 116 # Infineon C16x/XC16x processor + EM_M16C = 117 # Renesas M16C series microprocessors + EM_DSPIC30F = 118 # Microchip Technology dsPIC30F Digital Signal Controller + EM_CE = 119 # Freescale Communication Engine RISC core + EM_M32C = 120 # Freescale Communication Engine RISC core + EM_TSK3000 = 131 # Altium TSK3000 core + EM_RS08 = 132 # Freescale RS08 embedded processor + EM_SHARC = 133 # Analog Devices SHARC family of 32-bit DSP processors + EM_ECOG2 = 134 # Cyan Technology eCOG2 microprocessor + EM_SCORE7 = 135 # Sunplus S+core7 RISC processor + EM_DSP24 = 136 # New Japan Radio (NJR) 24-bit DSP Processor + EM_VIDEOCORE3 = 137 # Broadcom VideoCore III processor + EM_LATTICEMICO32 = 138 # RISC processor for Lattice FPGA architecture + EM_SE_C17 = 139 # Seiko Epson C17 family + EM_TI_C6000 = 140 # The Texas Instruments TMS320C6000 DSP family + EM_TI_C2000 = 141 # The Texas Instruments TMS320C2000 DSP family + EM_TI_C5500 = 142 # The Texas Instruments TMS320C55x DSP family + EM_TI_ARP32 = 143 # Texas Instruments Application Specific RISC Processor, 32bit fetch + EM_TI_PRU = 144 # Texas Instruments Programmable Realtime Unit + EM_MMDSP_PLUS = 160 # STMicroelectronics 64bit VLIW Data Signal Processor + EM_CYPRESS_M8C = 161 # Cypress M8C microprocessor + EM_R32C = 162 # Renesas R32C series microprocessors + EM_TRIMEDIA = 163 # NXP Semiconductors TriMedia architecture family + EM_QDSP6 = 164 # QUALCOMM DSP6 Processor + EM_8051 = 165 # Intel 8051 and variants + EM_STXP7X = 166 # STMicroelectronics STxP7x family + EM_NDS32 = 167 # Andes Technology compact code size embedded RISC processor family + EM_ECOG1 = 168 # Cyan Technology eCOG1X family + EM_ECOG1X = 168 # Cyan Technology eCOG1X family + EM_MAXQ30 = 169 # Dallas Semiconductor MAXQ30 Core Micro-controllers + EM_XIMO16 = 170 # New Japan Radio (NJR) 16-bit DSP Processor + EM_MANIK = 171 # M2000 Reconfigurable RISC Microprocessor + EM_CRAYNV2 = 172 # Cray Inc. NV2 vector architecture + EM_RX = 173 # Renesas RX family + EM_METAG = 174 # Imagination Technologies Meta processor architecture + EM_MCST_ELBRUS = 175 # MCST Elbrus general purpose hardware architecture + EM_ECOG16 = 176 # Cyan Technology eCOG16 family + EM_CR16 = 177 # National Semiconductor CompactRISC 16-bit processor + EM_ETPU = 178 # Freescale Extended Time Processing Unit + EM_SLE9X = 179 # Infineon Technologies SLE9X core + EM_L1OM = 180 # Intel L1OM + EM_K1OM = 181 # Intel K1OM + EM_AARCH64 = 183 # ARM 64 bit + EM_AVR32 = 185 # Atmel Corporation 32-bit microprocessor family + EM_STM8 = 186 # STMicroeletronics STM8 8-bit microcontroller + EM_TILE64 = 187 # Tilera TILE64 multicore architecture family + EM_TILEPRO = 188 # Tilera TILEPro + EM_MICROBLAZE = 189 # Xilinx MicroBlaze + EM_CUDA = 190 # NVIDIA CUDA architecture + EM_TILEGX = 191 # Tilera TILE-Gx + EM_CLOUDSHIELD = 192 # CloudShield architecture family + EM_COREA_1ST = 193 # KIPO-KAIST Core-A 1st generation processor family + EM_COREA_2ND = 194 # KIPO-KAIST Core-A 2nd generation processor family + EM_ARC_COMPACT2 = 195 # Synopsys ARCompact V2 + EM_OPEN8 = 196 # Open8 8-bit RISC soft processor core + EM_RL78 = 197 # Renesas RL78 family + EM_VIDEOCORE5 = 198 # Broadcom VideoCore V processor + EM_78K0R = 199 # Renesas 78K0R + EM_56800EX = 200 # Freescale 56800EX Digital Signal Controller (DSC) + EM_BA1 = 201 # Beyond BA1 CPU architecture + EM_BA2 = 202 # Beyond BA2 CPU architecture + EM_XCORE = 203 # XMOS xCORE processor family + EM_MCHP_PIC = 204 # Microchip 8-bit PIC(r) family + EM_INTELGT = 205 # Intel Graphics Technology + EM_KM32 = 210 # KM211 KM32 32-bit processor + EM_KMX32 = 211 # KM211 KMX32 32-bit processor + EM_KMX16 = 212 # KM211 KMX16 16-bit processor + EM_KMX8 = 213 # KM211 KMX8 8-bit processor + EM_KVARC = 214 # KM211 KVARC processor + EM_CDP = 215 # Paneve CDP architecture family + EM_COGE = 216 # Cognitive Smart Memory Processor + EM_COOL = 217 # Bluechip Systems CoolEngine + EM_NORC = 218 # Nanoradio Optimized RISC + EM_CSR_KALIMBA = 219 # CSR Kalimba architecture family + EM_Z80 = 220 # Zilog Z80 + EM_VISIUM = 221 # Controls and Data Services VISIUMcore processor + EM_FT32 = 222 # FTDI Chip FT32 high performance 32-bit RISC architecture + EM_MOXIE = 223 # Moxie processor family + EM_AMDGPU = 224 # AMD GPU architecture + EM_LANAI = 244 # Lanai 32-bit processor + EM_CEVA = 245 # CEVA Processor Architecture Family + EM_CEVA_X2 = 246 # CEVA X2 Processor Family + EM_BPF = 247 # Linux BPF - in-kernel virtual machine + EM_GRAPHCORE_IPU = 248 # Graphcore Intelligent Processing Unit + EM_IMG1 = 249 # Imagination Technologies + EM_NFP = 250 # Netronome Flow Processor (NFP) + EM_VE = 251 # NEC Vector Engine + EM_CSKY = 252 # C-SKY processor family + EM_ARC_COMPACT3_64 = 253 # Synopsys ARCv2.3 64-bit + EM_MCS6502 = 254 # MOS Technology MCS 6502 processor + EM_ARC_COMPACT3 = 255 # Synopsys ARCv2.3 32-bit + EM_KVX = 256 # Kalray VLIW core of the MPPA processor family + EM_65816 = 257 # WDC 65816/65C816 + EM_LOONGARCH = 258 # LoongArch + EM_KF32 = 259 # ChipON KungFu32 + EM_U16_U8CORE = 260 # LAPIS nX-U16/U8 + EM_TACHYUM = 261 # Tachyum + EM_56800EF = 262 # NXP 56800EF Digital Signal Controller (DSC) + + EM_FRV = 0x5441 # Fujitsu FR-V + + # This is an interim value that we will use until the committee comes up with a final number. + EM_ALPHA = 0x9026 + + # Bogus old m32r magic number, used by old tools. + EM_CYGNUS_M32R = 0x9041 + # This is the old interim value for S/390 architecture + EM_S390_OLD = 0xA390 + # Also Panasonic/MEI MN10300, AM33 + EM_CYGNUS_MN10300 = 0xbeef + + # Return the architecture name according to +val+. + # Used by {ELFTools::ELFFile#machine}. + # + # Only supports famous archs. + # @param [Integer] val Value of +e_machine+. + # @return [String] + # Name of architecture. + # @example + # mapping(3) + # #=> 'Intel 80386' + # mapping(6) + # #=> 'Intel 80386' + # mapping(62) + # #=> 'Advanced Micro Devices X86-64' + # mapping(1337) + # #=> ': 0x539' + def self.mapping(val) + case val + when EM_NONE then 'None' + when EM_386, EM_486 then 'Intel 80386' + when EM_860 then 'Intel 80860' + when EM_MIPS then 'MIPS R3000' + when EM_PPC then 'PowerPC' + when EM_PPC64 then 'PowerPC64' + when EM_ARM then 'ARM' + when EM_IA_64 then 'Intel IA-64' + when EM_AARCH64 then 'AArch64' + when EM_X86_64 then 'Advanced Micro Devices X86-64' + else format(': 0x%x', val) + end + end + end + include EM + + # This module defines ELF file types. + module ET + ET_NONE = 0 # no file type + ET_REL = 1 # relocatable file + ET_EXEC = 2 # executable file + ET_DYN = 3 # shared object + ET_CORE = 4 # core file + # Return the type name according to +e_type+ in ELF file header. + # @return [String] Type in string format. + def self.mapping(type) + case type + when Constants::ET_NONE then 'NONE' + when Constants::ET_REL then 'REL' + when Constants::ET_EXEC then 'EXEC' + when Constants::ET_DYN then 'DYN' + when Constants::ET_CORE then 'CORE' + else '' + end + end + end + include ET + + # Program header permission flags, records bitwise OR value in +p_flags+. + module PF + PF_X = 1 # executable + PF_W = 2 # writable + PF_R = 4 # readable + end + include PF + + # Program header types, records in +p_type+. + module PT + PT_NULL = 0 # null segment + PT_LOAD = 1 # segment to be load + PT_DYNAMIC = 2 # dynamic tags + PT_INTERP = 3 # interpreter, same as .interp section + PT_NOTE = 4 # same as .note* section + PT_SHLIB = 5 # reserved + PT_PHDR = 6 # where program header starts + PT_TLS = 7 # thread local storage segment + + PT_LOOS = 0x60000000 # OS-specific + PT_GNU_EH_FRAME = 0x6474e550 # for exception handler + PT_GNU_STACK = 0x6474e551 # permission of stack + PT_GNU_RELRO = 0x6474e552 # read only after relocation + PT_GNU_PROPERTY = 0x6474e553 # GNU property + PT_GNU_MBIND_HI = 0x6474f554 # Mbind segments (upper bound) + PT_GNU_MBIND_LO = 0x6474e555 # Mbind segments (lower bound) + PT_OPENBSD_RANDOMIZE = 0x65a3dbe6 # Fill with random data + PT_OPENBSD_WXNEEDED = 0x65a3dbe7 # Program does W^X violations + PT_OPENBSD_BOOTDATA = 0x65a41be6 # Section for boot arguments + PT_HIOS = 0x6fffffff # OS-specific + + # Values between {PT_LOPROC} and {PT_HIPROC} are reserved for processor-specific semantics. + PT_LOPROC = 0x70000000 + + PT_ARM_ARCHEXT = 0x70000000 # platform architecture compatibility information + PT_ARM_EXIDX = 0x70000001 # exception unwind tables + + PT_MIPS_REGINFO = 0x70000000 # register usage information + PT_MIPS_RTPROC = 0x70000001 # runtime procedure table + PT_MIPS_OPTIONS = 0x70000002 # +.MIPS.options+ section + PT_MIPS_ABIFLAGS = 0x70000003 # +.MIPS.abiflags+ section + + PT_AARCH64_ARCHEXT = 0x70000000 # platform architecture compatibility information + PT_AARCH64_UNWIND = 0x70000001 # exception unwind tables + + PT_S390_PGSTE = 0x70000000 # 4k page table size + + PT_HIPROC = 0x7fffffff # see {PT_LOPROC} + end + include PT + + # Special indices to section. These are used when there is no valid index to section header. + # The meaning of these values is left upto the embedding header. + module SHN + SHN_UNDEF = 0 # undefined section + SHN_LORESERVE = 0xff00 # start of reserved indices + + # Values between {SHN_LOPROC} and {SHN_HIPROC} are reserved for processor-specific semantics. + SHN_LOPROC = 0xff00 + + SHN_MIPS_ACOMMON = 0xff00 # defined and allocated common symbol + SHN_MIPS_TEXT = 0xff01 # defined and allocated text symbol + SHN_MIPS_DATA = 0xff02 # defined and allocated data symbol + SHN_MIPS_SCOMMON = 0xff03 # small common symbol + SHN_MIPS_SUNDEFINED = 0xff04 # small undefined symbol + + SHN_X86_64_LCOMMON = 0xff02 # large common symbol + + SHN_HIPROC = 0xff1f # see {SHN_LOPROC} + + # Values between {SHN_LOOS} and {SHN_HIOS} are reserved for operating system-specific semantics. + SHN_LOOS = 0xff20 + SHN_HIOS = 0xff3f # see {SHN_LOOS} + SHN_ABS = 0xfff1 # specifies absolute values for the corresponding reference + SHN_COMMON = 0xfff2 # symbols defined relative to this section are common symbols + SHN_XINDEX = 0xffff # escape value indicating that the actual section header index is too large to fit + SHN_HIRESERVE = 0xffff # end of reserved indices + end + include SHN + + # Section flag mask types, records in +sh_flag+. + module SHF + SHF_WRITE = (1 << 0) # Writable + SHF_ALLOC = (1 << 1) # Occupies memory during execution + SHF_EXECINSTR = (1 << 2) # Executable + SHF_MERGE = (1 << 4) # Might be merged + SHF_STRINGS = (1 << 5) # Contains nul-terminated strings + SHF_INFO_LINK = (1 << 6) # `sh_info' contains SHT index + SHF_LINK_ORDER = (1 << 7) # Preserve order after combining + SHF_OS_NONCONFORMING = (1 << 8) # Non-standard OS specific handling required + SHF_GROUP = (1 << 9) # Section is member of a group. + SHF_TLS = (1 << 10) # Section hold thread-local data. + SHF_COMPRESSED = (1 << 11) # Section with compressed data. + SHF_MASKOS = 0x0ff00000 # OS-specific. + SHF_MASKPROC = 0xf0000000 # Processor-specific + SHF_GNU_RETAIN = (1 << 21) # Not to be GCed by linker. + SHF_GNU_MBIND = (1 << 24) # Mbind section + SHF_ORDERED = (1 << 30) # Special ordering requirement + SHF_EXCLUDE = (1 << 31) # Section is excluded unless referenced or allocated (Solaris). + end + include SHF + + # Section header types, records in +sh_type+. + module SHT + SHT_NULL = 0 # null section + SHT_PROGBITS = 1 # information defined by program itself + SHT_SYMTAB = 2 # symbol table section + SHT_STRTAB = 3 # string table section + SHT_RELA = 4 # relocation with addends + SHT_HASH = 5 # symbol hash table + SHT_DYNAMIC = 6 # information of dynamic linking + SHT_NOTE = 7 # section for notes + SHT_NOBITS = 8 # section occupies no space + SHT_REL = 9 # relocation + SHT_SHLIB = 10 # reserved + SHT_DYNSYM = 11 # symbols for dynamic + SHT_INIT_ARRAY = 14 # array of initialization functions + SHT_FINI_ARRAY = 15 # array of termination functions + SHT_PREINIT_ARRAY = 16 # array of functions that are invoked before all other initialization functions + SHT_GROUP = 17 # section group + SHT_SYMTAB_SHNDX = 18 # indices for SHN_XINDEX entries + SHT_RELR = 19 # RELR relative relocations + + # Values between {SHT_LOOS} and {SHT_HIOS} are reserved for operating system-specific semantics. + SHT_LOOS = 0x60000000 + SHT_GNU_INCREMENTAL_INPUTS = 0x6fff4700 # incremental build data + SHT_GNU_INCREMENTAL_SYMTAB = 0x6fff4701 # incremental build data + SHT_GNU_INCREMENTAL_RELOCS = 0x6fff4702 # incremental build data + SHT_GNU_INCREMENTAL_GOT_PLT = 0x6fff4703 # incremental build data + SHT_GNU_ATTRIBUTES = 0x6ffffff5 # object attributes + SHT_GNU_HASH = 0x6ffffff6 # GNU style symbol hash table + SHT_GNU_LIBLIST = 0x6ffffff7 # list of prelink dependencies + SHT_SUNW_verdef = 0x6ffffffd # versions defined by file + SHT_GNU_verdef = 0x6ffffffd # versions defined by file + SHT_SUNW_verneed = 0x6ffffffe # versions needed by file + SHT_GNU_verneed = 0x6ffffffe # versions needed by file + SHT_SUNW_versym = 0x6fffffff # symbol versions + SHT_GNU_versym = 0x6fffffff # symbol versions + SHT_HIOS = 0x6fffffff # see {SHT_LOOS} + + # Values between {SHT_LOPROC} and {SHT_HIPROC} are reserved for processor-specific semantics. + SHT_LOPROC = 0x70000000 + + SHT_SPARC_GOTDATA = 0x70000000 # :nodoc: + + SHT_ARM_EXIDX = 0x70000001 # exception index table + SHT_ARM_PREEMPTMAP = 0x70000002 # BPABI DLL dynamic linking pre-emption map + SHT_ARM_ATTRIBUTES = 0x70000003 # object file compatibility attributes + SHT_ARM_DEBUGOVERLAY = 0x70000004 # support for debugging overlaid programs + SHT_ARM_OVERLAYSECTION = 0x70000005 # support for debugging overlaid programs + + SHT_X86_64_UNWIND = 0x70000001 # x86_64 unwind information + + SHT_MIPS_LIBLIST = 0x70000000 # set of dynamic shared objects + SHT_MIPS_MSYM = 0x70000001 # :nodoc: + SHT_MIPS_CONFLICT = 0x70000002 # list of symbols whose definitions conflict with shared objects + SHT_MIPS_GPTAB = 0x70000003 # global pointer table + SHT_MIPS_UCODE = 0x70000004 # microcode information + SHT_MIPS_DEBUG = 0x70000005 # register usage information + SHT_MIPS_REGINFO = 0x70000006 # section contains register usage information + SHT_MIPS_PACKAGE = 0x70000007 # :nodoc: + SHT_MIPS_PACKSYM = 0x70000008 # :nodoc: + SHT_MIPS_RELD = 0x70000009 # :nodoc: + SHT_MIPS_IFACE = 0x7000000b # interface information + SHT_MIPS_CONTENT = 0x7000000c # description of contents of another section + SHT_MIPS_OPTIONS = 0x7000000d # miscellaneous options + SHT_MIPS_SHDR = 0x70000010 # :nodoc: + SHT_MIPS_FDESC = 0x70000011 # :nodoc: + SHT_MIPS_EXTSYM = 0x70000012 # :nodoc: + SHT_MIPS_DENSE = 0x70000013 # :nodoc: + SHT_MIPS_PDESC = 0x70000014 # :nodoc: + SHT_MIPS_LOCSYM = 0x70000015 # :nodoc: + SHT_MIPS_AUXSYM = 0x70000016 # :nodoc: + SHT_MIPS_OPTSYM = 0x70000017 # :nodoc: + SHT_MIPS_LOCSTR = 0x70000018 # :nodoc: + SHT_MIPS_LINE = 0x70000019 # :nodoc: + SHT_MIPS_RFDESC = 0x7000001a # :nodoc: + SHT_MIPS_DELTASYM = 0x7000001b # delta C++ symbol table + SHT_MIPS_DELTAINST = 0x7000001c # delta C++ instance table + SHT_MIPS_DELTACLASS = 0x7000001d # delta C++ class table + SHT_MIPS_DWARF = 0x7000001e # DWARF debugging section + SHT_MIPS_DELTADECL = 0x7000001f # delta C++ declarations + SHT_MIPS_SYMBOL_LIB = 0x70000020 # list of libraries the binary depends on + SHT_MIPS_EVENTS = 0x70000021 # events section + SHT_MIPS_TRANSLATE = 0x70000022 # :nodoc: + SHT_MIPS_PIXIE = 0x70000023 # :nodoc: + SHT_MIPS_XLATE = 0x70000024 # address translation table + SHT_MIPS_XLATE_DEBUG = 0x70000025 # SGI internal address translation table + SHT_MIPS_WHIRL = 0x70000026 # intermediate code + SHT_MIPS_EH_REGION = 0x70000027 # C++ exception handling region info + SHT_MIPS_PDR_EXCEPTION = 0x70000029 # runtime procedure descriptor table exception information + SHT_MIPS_ABIFLAGS = 0x7000002a # ABI related flags + SHT_MIPS_XHASH = 0x7000002b # GNU style symbol hash table with xlat + + SHT_AARCH64_ATTRIBUTES = 0x70000003 # :nodoc: + + SHT_CSKY_ATTRIBUTES = 0x70000001 # object file compatibility attributes + + SHT_ORDERED = 0x7fffffff # :nodoc: + + SHT_HIPROC = 0x7fffffff # see {SHT_LOPROC} + + # Values between {SHT_LOUSER} and {SHT_HIUSER} are reserved for application programs. + SHT_LOUSER = 0x80000000 + SHT_HIUSER = 0xffffffff # see {SHT_LOUSER} + end + include SHT + + # Symbol binding from Sym st_info field. + module STB + STB_LOCAL = 0 # Local symbol + STB_GLOBAL = 1 # Global symbol + STB_WEAK = 2 # Weak symbol + STB_NUM = 3 # Number of defined types. + STB_LOOS = 10 # Start of OS-specific + STB_GNU_UNIQUE = 10 # Unique symbol. + STB_HIOS = 12 # End of OS-specific + STB_LOPROC = 13 # Start of processor-specific + STB_HIPROC = 15 # End of processor-specific + end + include STB + + # Symbol types from Sym st_info field. + module STT + STT_NOTYPE = 0 # Symbol type is unspecified + STT_OBJECT = 1 # Symbol is a data object + STT_FUNC = 2 # Symbol is a code object + STT_SECTION = 3 # Symbol associated with a section + STT_FILE = 4 # Symbol's name is file name + STT_COMMON = 5 # Symbol is a common data object + STT_TLS = 6 # Symbol is thread-local data object + STT_NUM = 7 # Deprecated. + STT_RELC = 8 # Complex relocation expression + STT_SRELC = 9 # Signed Complex relocation expression + + # GNU extension: symbol value points to a function which is called + # at runtime to determine the final value of the symbol. + STT_GNU_IFUNC = 10 + + STT_LOOS = 10 # Start of OS-specific + STT_HIOS = 12 # End of OS-specific + STT_LOPROC = 13 # Start of processor-specific + STT_HIPROC = 15 # End of processor-specific + + # The section type that must be used for register symbols on + # Sparc. These symbols initialize a global register. + STT_SPARC_REGISTER = 13 + + # ARM: a THUMB function. This is not defined in ARM ELF Specification but + # used by the GNU tool-chain. + STT_ARM_TFUNC = 13 + STT_ARM_16BIT = 15 # ARM: a THUMB label. + end + include STT + end +end diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/dynamic.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/dynamic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/dynamic.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/dynamic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/elf_file.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/elf_file.rb similarity index 99% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/elf_file.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/elf_file.rb index 5f6fa229e0..3170b998ba 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/elf_file.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/elf_file.rb @@ -318,7 +318,7 @@ module ELFTools patches.each do |pos, val| all[pos, val.size] = val end - IO.binwrite(filename, all) + File.binwrite(filename, all) end private diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/exceptions.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/exceptions.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/exceptions.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/exceptions.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/lazy_array.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/lazy_array.rb similarity index 84% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/lazy_array.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/lazy_array.rb index f272e0a933..ecb300d9bb 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/lazy_array.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/lazy_array.rb @@ -1,11 +1,13 @@ # frozen_string_literal: true +require 'delegate' + module ELFTools # A helper class for {ELFTools} easy to implement # 'lazy loading' objects. # Mainly used when loading sections, segments, and # symbols. - class LazyArray + class LazyArray < SimpleDelegator # Instantiate a {LazyArray} object. # @param [Integer] size # The size of array. @@ -26,7 +28,7 @@ module ELFTools # p arr[3] # # 9 def initialize(size, &block) - @internal = Array.new(size) + super(Array.new(size)) @block = block end @@ -39,9 +41,9 @@ module ELFTools # return type of block given in {#initialize}. def [](i) # XXX: support negative index? - return nil unless i.between?(0, @internal.size - 1) + return nil unless i.between?(0, __getobj__.size - 1) - @internal[i] ||= @block.call(i) + __getobj__[i] ||= @block.call(i) end end end diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/note.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/note.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/note.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/note.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/dynamic_section.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/dynamic_section.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/dynamic_section.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/dynamic_section.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/note_section.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/note_section.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/note_section.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/note_section.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/null_section.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/null_section.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/null_section.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/null_section.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/relocation_section.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/relocation_section.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/relocation_section.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/relocation_section.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/section.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/section.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/section.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/section.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/sections.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/sections.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/sections.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/sections.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/str_tab_section.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/str_tab_section.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/str_tab_section.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/str_tab_section.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/sym_tab_section.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/sym_tab_section.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/sections/sym_tab_section.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/sections/sym_tab_section.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/dynamic_segment.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/dynamic_segment.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/dynamic_segment.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/dynamic_segment.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/interp_segment.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/interp_segment.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/interp_segment.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/interp_segment.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/load_segment.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/load_segment.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/load_segment.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/load_segment.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/note_segment.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/note_segment.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/note_segment.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/note_segment.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/segment.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/segment.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/segment.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/segment.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/segments.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/segments.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/segments/segments.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/segments/segments.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/structs.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/structs.rb similarity index 82% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/structs.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/structs.rb index c7213bba8d..6ac7803204 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/structs.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/structs.rb @@ -11,9 +11,9 @@ module ELFTools # The base structure to define common methods. class ELFStruct < BinData::Record # DRY. Many fields have different type in different arch. - CHOICE_SIZE_T = { - selection: :elf_class, choices: { 32 => :uint32, 64 => :uint64 } - }.freeze + CHOICE_SIZE_T = proc do |t = 'uint'| + { selection: :elf_class, choices: { 32 => :"#{t}32", 64 => :"#{t}64" }, copy_on_change: true } + end attr_accessor :elf_class # @return [Integer] 32 or 64. attr_accessor :offset # @return [Integer] The file offset of this header. @@ -24,6 +24,9 @@ module ELFTools @patches ||= {} end + # BinData hash(Snapshot) that behaves like HashWithIndifferentAccess + alias to_h snapshot + class << self # Hooks the constructor. # @@ -51,7 +54,7 @@ module ELFTools # Gets the endianness of current class. # @return [:little, :big] The endianness. def self_endian - bindata_name[-2..-1] == 'be' ? :big : :little + bindata_name[-2..] == 'be' ? :big : :little end # Packs an integer to string. @@ -89,9 +92,9 @@ module ELFTools uint16 :e_machine uint32 :e_version # entry point - choice :e_entry, **CHOICE_SIZE_T - choice :e_phoff, **CHOICE_SIZE_T - choice :e_shoff, **CHOICE_SIZE_T + choice :e_entry, **CHOICE_SIZE_T['uint'] + choice :e_phoff, **CHOICE_SIZE_T['uint'] + choice :e_shoff, **CHOICE_SIZE_T['uint'] uint32 :e_flags uint16 :e_ehsize # size of this header uint16 :e_phentsize # size of each segment @@ -106,14 +109,14 @@ module ELFTools endian :big_and_little uint32 :sh_name uint32 :sh_type - choice :sh_flags, **CHOICE_SIZE_T - choice :sh_addr, **CHOICE_SIZE_T - choice :sh_offset, **CHOICE_SIZE_T - choice :sh_size, **CHOICE_SIZE_T + choice :sh_flags, **CHOICE_SIZE_T['uint'] + choice :sh_addr, **CHOICE_SIZE_T['uint'] + choice :sh_offset, **CHOICE_SIZE_T['uint'] + choice :sh_size, **CHOICE_SIZE_T['uint'] uint32 :sh_link uint32 :sh_info - choice :sh_addralign, **CHOICE_SIZE_T - choice :sh_entsize, **CHOICE_SIZE_T + choice :sh_addralign, **CHOICE_SIZE_T['uint'] + choice :sh_entsize, **CHOICE_SIZE_T['uint'] end # Program header structure for 32-bit. @@ -187,25 +190,30 @@ module ELFTools # Dynamic tag header. class ELF_Dyn < ELFStruct endian :big_and_little - choice :d_tag, selection: :elf_class, choices: { 32 => :int32, 64 => :int64 } + choice :d_tag, **CHOICE_SIZE_T['int'] # This is an union type named +d_un+ in original source, # simplify it to be +d_val+ here. - choice :d_val, **CHOICE_SIZE_T + choice :d_val, **CHOICE_SIZE_T['uint'] end # Rel header in .rel section. class ELF_Rel < ELFStruct endian :big_and_little - choice :r_offset, **CHOICE_SIZE_T - choice :r_info, **CHOICE_SIZE_T + choice :r_offset, **CHOICE_SIZE_T['uint'] + choice :r_info, **CHOICE_SIZE_T['uint'] + + # Compatibility with ELF_Rela, both can be used interchangeably + def r_addend + nil + end end # Rela header in .rela section. class ELF_Rela < ELFStruct endian :big_and_little - choice :r_offset, **CHOICE_SIZE_T - choice :r_info, **CHOICE_SIZE_T - choice :r_addend, selection: :elf_class, choices: { 32 => :int32, 64 => :int64 } + choice :r_offset, **CHOICE_SIZE_T['uint'] + choice :r_info, **CHOICE_SIZE_T['uint'] + choice :r_addend, **CHOICE_SIZE_T['int'] end end end diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/util.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/util.rb similarity index 97% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/util.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/util.rb index 37727634a1..152d210fca 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/util.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/util.rb @@ -44,7 +44,7 @@ module ELFTools end val = val.to_s.upcase prefix = module_name.split('::')[-1] - val = prefix + '_' + val unless val.start_with?(prefix) + val = "#{prefix}_#{val}" unless val.start_with?(prefix) val = val.to_sym raise ArgumentError, "No constants in #{module_name} named \"#{val}\"" unless mod.const_defined?(val) diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/version.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/version.rb similarity index 78% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/version.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/version.rb index 243f277a3f..111fae9406 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.3/lib/elftools/version.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib/elftools/version.rb @@ -2,5 +2,5 @@ module ELFTools # Current gem version - VERSION = '1.1.3' + VERSION = '1.2.0' end From b3605020e3ec6452130b2cc9838082f7ff95693d Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 14 Oct 2022 09:05:18 +0000 Subject: [PATCH 3/3] Update RBI files for elftools. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow. --- .../sorbet/rbi/gems/elftools@1.1.3.rbi | 566 ---- .../sorbet/rbi/gems/elftools@1.2.0.rbi | 930 ++++++ .../sorbet/rbi/gems/mini_portile2@2.8.0.rbi | 101 - .../sorbet/rbi/hidden-definitions/hidden.rbi | 2542 ++++++++++++++--- 4 files changed, 3133 insertions(+), 1006 deletions(-) delete mode 100644 Library/Homebrew/sorbet/rbi/gems/elftools@1.1.3.rbi create mode 100644 Library/Homebrew/sorbet/rbi/gems/elftools@1.2.0.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.8.0.rbi diff --git a/Library/Homebrew/sorbet/rbi/gems/elftools@1.1.3.rbi b/Library/Homebrew/sorbet/rbi/gems/elftools@1.1.3.rbi deleted file mode 100644 index 18eca679b8..0000000000 --- a/Library/Homebrew/sorbet/rbi/gems/elftools@1.1.3.rbi +++ /dev/null @@ -1,566 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `elftools` gem. -# Please instead update this file by running `bin/tapioca gem elftools`. - -module ELFTools; end - -module ELFTools::Constants - include ::ELFTools::Constants::DF - include ::ELFTools::Constants::DT - include ::ELFTools::Constants::EM - include ::ELFTools::Constants::ET - include ::ELFTools::Constants::PF - include ::ELFTools::Constants::PT - include ::ELFTools::Constants::SHN - include ::ELFTools::Constants::SHT - include ::ELFTools::Constants::STB - include ::ELFTools::Constants::STT -end - -module ELFTools::Constants::DF; end -ELFTools::Constants::DF::DF_1_CONFALT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_DIRECT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_DISPRELDNE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_DISPRELPND = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_EDITED = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_ENDFILTEE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_GLOBAL = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_GLOBAUDIT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_GROUP = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_IGNMULDEF = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_INITFIRST = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_INTERPOSE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_LOADFLTR = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_NODEFLIB = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_NODELETE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_NODIRECT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_NODUMP = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_NOHDR = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_NOKSYMS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_NOOPEN = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_NORELOC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_NOW = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_ORIGIN = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_SINGLETON = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_SYMINTPOSE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_1_TRANS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_BIND_NOW = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_ORIGIN = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_STATIC_TLS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_SYMBOLIC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DF::DF_TEXTREL = T.let(T.unsafe(nil), Integer) -module ELFTools::Constants::DT; end -ELFTools::Constants::DT::DT_ADDRRNGHI = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_ADDRRNGLO = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_BIND_NOW = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_DEBUG = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_ENCODING = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_FINI = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_FINI_ARRAY = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_FINI_ARRAYSZ = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_FLAGS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_FLAGS_1 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_GNU_HASH = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_HASH = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_HIOS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_HIPROC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_INIT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_INIT_ARRAY = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_INIT_ARRAYSZ = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_JMPREL = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_LOOS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_LOPROC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_NEEDED = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_NULL = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_PLTGOT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_PLTREL = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_PLTRELSZ = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_REL = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_RELA = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_RELACOUNT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_RELAENT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_RELASZ = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_RELCOUNT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_RELENT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_RELSZ = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_RPATH = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_RUNPATH = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_SONAME = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_STRSZ = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_STRTAB = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_SYMBOLIC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_SYMENT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_SYMTAB = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_TEXTREL = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_VALRNGHI = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_VALRNGLO = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_VERDEF = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_VERDEFNUM = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_VERNEED = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_VERNEEDNUM = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::DT::DT_VERSYM = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::ELFMAG = T.let(T.unsafe(nil), String) - -module ELFTools::Constants::EM - class << self - def mapping(val); end - end -end - -ELFTools::Constants::EM::EM_386 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_486 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_68K = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_860 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_88K = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_AARCH64 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_ALPHA = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_ALTERA_NIOS2 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_ARM = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_AVR32 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_BLACKFIN = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_BPF = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_CRIS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_CYGNUS_M32R = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_CYGNUS_MN10300 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_FRV = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_H8_300 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_IA_64 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_M32 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_M32R = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_MICROBLAZE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_MIPS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_MIPS_RS3_LE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_MIPS_RS4_BE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_MN10300 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_NONE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_OPENRISC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_PARISC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_PPC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_PPC64 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_S390 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_S390_OLD = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_SH = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_SPARC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_SPARC32PLUS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_SPARCV9 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_SPU = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_TILEGX = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_TILEPRO = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_TI_C6000 = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::EM::EM_X86_64 = T.let(T.unsafe(nil), Integer) - -module ELFTools::Constants::ET - class << self - def mapping(type); end - end -end - -ELFTools::Constants::ET::ET_CORE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::ET::ET_DYN = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::ET::ET_EXEC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::ET::ET_NONE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::ET::ET_REL = T.let(T.unsafe(nil), Integer) -module ELFTools::Constants::PF; end -ELFTools::Constants::PF::PF_R = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PF::PF_W = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PF::PF_X = T.let(T.unsafe(nil), Integer) -module ELFTools::Constants::PT; end -ELFTools::Constants::PT::PT_DYNAMIC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_GNU_EH_FRAME = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_GNU_RELRO = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_GNU_STACK = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_HIOS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_HIPROC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_INTERP = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_LOAD = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_LOOS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_LOPROC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_NOTE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_NULL = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_PHDR = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_SHLIB = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::PT::PT_TLS = T.let(T.unsafe(nil), Integer) -module ELFTools::Constants::SHN; end -ELFTools::Constants::SHN::SHN_LORESERVE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHN::SHN_UNDEF = T.let(T.unsafe(nil), Integer) -module ELFTools::Constants::SHT; end -ELFTools::Constants::SHT::SHT_DYNAMIC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_DYNSYM = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_HASH = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_HIPROC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_HIUSER = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_LOPROC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_LOUSER = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_NOBITS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_NOTE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_NULL = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_PROGBITS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_REL = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_RELA = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_SHLIB = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_STRTAB = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::SHT::SHT_SYMTAB = T.let(T.unsafe(nil), Integer) -module ELFTools::Constants::STB; end -ELFTools::Constants::STB::STB_GLOBAL = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STB::STB_GNU_UNIQUE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STB::STB_HIOS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STB::STB_HIPROC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STB::STB_LOCAL = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STB::STB_LOOS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STB::STB_LOPROC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STB::STB_NUM = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STB::STB_WEAK = T.let(T.unsafe(nil), Integer) -module ELFTools::Constants::STT; end -ELFTools::Constants::STT::STT_ARM_TFUNC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_COMMON = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_FILE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_FUNC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_GNU_IFUNC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_HIOS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_HIPROC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_LOOS = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_LOPROC = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_NOTYPE = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_NUM = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_OBJECT = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_SECTION = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_SPARC_REGISTER = T.let(T.unsafe(nil), Integer) -ELFTools::Constants::STT::STT_TLS = T.let(T.unsafe(nil), Integer) - -module ELFTools::Dynamic - def each_tags(&block); end - def tag_at(n); end - def tag_by_type(type); end - def tags; end - def tags_by_type(type); end - - private - - def endian; end - def str_offset; end -end - -class ELFTools::Dynamic::Tag - def initialize(header, stream, str_offset); end - - def header; end - def name; end - def name?; end - def stream; end - def value; end -end - -ELFTools::Dynamic::Tag::TYPE_WITH_NAME = T.let(T.unsafe(nil), Array) -class ELFTools::ELFClassError < ::ELFTools::ELFError; end -class ELFTools::ELFDataError < ::ELFTools::ELFError; end -class ELFTools::ELFError < ::StandardError; end - -class ELFTools::ELFFile - def initialize(stream); end - - def build_id; end - def each_sections(&block); end - def each_segments(&block); end - def elf_class; end - def elf_type; end - def endian; end - def header; end - def machine; end - def num_sections; end - def num_segments; end - def offset_from_vma(vma, size = T.unsafe(nil)); end - def patches; end - def save(filename); end - def section_at(n); end - def section_by_name(name); end - def sections; end - def sections_by_type(type, &block); end - def segment_at(n); end - def segment_by_type(type); end - def segments; end - def segments_by_type(type, &block); end - def stream; end - def strtab_section; end - - private - - def create_section(n); end - def create_segment(n); end - def identify; end - def loaded_headers; end -end - -class ELFTools::ELFMagicError < ::ELFTools::ELFError; end - -class ELFTools::LazyArray - def initialize(size, &block); end - - def [](i); end -end - -module ELFTools::Note - def each_notes; end - def notes; end - - private - - def create_note(cur); end - def endian; end -end - -class ELFTools::Note::Note - def initialize(header, stream, offset); end - - def desc; end - def description; end - def header; end - def name; end - def offset; end - def stream; end -end - -ELFTools::Note::SIZE_OF_NHDR = T.let(T.unsafe(nil), Integer) - -class ELFTools::Relocation - def initialize(header, stream); end - - def header; end - def r_info_sym; end - def r_info_type; end - def stream; end - def symbol_index; end - def type; end - - private - - def mask_bit; end -end - -module ELFTools::Sections; end - -class ELFTools::Sections::DynamicSection < ::ELFTools::Sections::Section - include ::ELFTools::Dynamic - - def tag_start; end -end - -class ELFTools::Sections::NoteSection < ::ELFTools::Sections::Section - include ::ELFTools::Note - - def note_start; end - def note_total_size; end -end - -class ELFTools::Sections::NullSection < ::ELFTools::Sections::Section - def null?; end -end - -class ELFTools::Sections::RelocationSection < ::ELFTools::Sections::Section - def each_relocations(&block); end - def num_relocations; end - def rela?; end - def relocation_at(n); end - def relocations; end - - private - - def create_relocation(n); end -end - -class ELFTools::Sections::Section - def initialize(header, stream, offset_from_vma: T.unsafe(nil), strtab: T.unsafe(nil), **_kwargs); end - - def data; end - def header; end - def name; end - def null?; end - def stream; end - def type; end - - class << self - def create(header, stream, *args, **kwargs); end - end -end - -class ELFTools::Sections::StrTabSection < ::ELFTools::Sections::Section - def name_at(offset); end -end - -class ELFTools::Sections::SymTabSection < ::ELFTools::Sections::Section - def initialize(header, stream, section_at: T.unsafe(nil), **_kwargs); end - - def each_symbols(&block); end - def num_symbols; end - def symbol_at(n); end - def symbol_by_name(name); end - def symbols; end - def symstr; end - - private - - def create_symbol(n); end -end - -class ELFTools::Sections::Symbol - def initialize(header, stream, symstr: T.unsafe(nil)); end - - def header; end - def name; end - def stream; end -end - -module ELFTools::Segments; end - -class ELFTools::Segments::DynamicSegment < ::ELFTools::Segments::Segment - include ::ELFTools::Dynamic - - def tag_start; end -end - -class ELFTools::Segments::InterpSegment < ::ELFTools::Segments::Segment - def interp_name; end -end - -class ELFTools::Segments::LoadSegment < ::ELFTools::Segments::Segment - def file_head; end - def file_tail; end - def mem_head; end - def mem_size; end - def mem_tail; end - def offset_in?(offset, size = T.unsafe(nil)); end - def offset_to_vma(offset); end - def size; end - def vma_in?(vma, size = T.unsafe(nil)); end - def vma_to_offset(vma); end -end - -class ELFTools::Segments::NoteSegment < ::ELFTools::Segments::Segment - include ::ELFTools::Note - - def note_start; end - def note_total_size; end -end - -class ELFTools::Segments::Segment - def initialize(header, stream, offset_from_vma: T.unsafe(nil)); end - - def data; end - def executable?; end - def header; end - def readable?; end - def stream; end - def type; end - def writable?; end - - class << self - def create(header, stream, *args, **kwargs); end - end -end - -module ELFTools::Structs; end - -class ELFTools::Structs::ELF32_Phdr < ::ELFTools::Structs::ELFStruct - class << self - def inherited(subclass); end - def new(*args); end - end -end - -class ELFTools::Structs::ELF32_sym < ::ELFTools::Structs::ELFStruct - class << self - def inherited(subclass); end - def new(*args); end - end -end - -class ELFTools::Structs::ELF64_Phdr < ::ELFTools::Structs::ELFStruct - class << self - def inherited(subclass); end - def new(*args); end - end -end - -class ELFTools::Structs::ELF64_sym < ::ELFTools::Structs::ELFStruct - class << self - def inherited(subclass); end - def new(*args); end - end -end - -class ELFTools::Structs::ELFStruct < ::BinData::Record - def elf_class; end - def elf_class=(_arg0); end - def offset; end - def offset=(_arg0); end - def patches; end - - class << self - def inherited(subclass); end - def new(*args); end - def pack(val, bytes); end - def self_endian; end - end -end - -ELFTools::Structs::ELFStruct::CHOICE_SIZE_T = T.let(T.unsafe(nil), Hash) - -class ELFTools::Structs::ELF_Dyn < ::ELFTools::Structs::ELFStruct - class << self - def inherited(subclass); end - def new(*args); end - end -end - -class ELFTools::Structs::ELF_Ehdr < ::ELFTools::Structs::ELFStruct - class << self - def inherited(subclass); end - def new(*args); end - end -end - -class ELFTools::Structs::ELF_Nhdr < ::ELFTools::Structs::ELFStruct - class << self - def inherited(subclass); end - def new(*args); end - end -end - -ELFTools::Structs::ELF_Phdr = T.let(T.unsafe(nil), Hash) - -class ELFTools::Structs::ELF_Rel < ::ELFTools::Structs::ELFStruct - class << self - def inherited(subclass); end - def new(*args); end - end -end - -class ELFTools::Structs::ELF_Rela < ::ELFTools::Structs::ELFStruct - class << self - def inherited(subclass); end - def new(*args); end - end -end - -class ELFTools::Structs::ELF_Shdr < ::ELFTools::Structs::ELFStruct - class << self - def inherited(subclass); end - def new(*args); end - end -end - -ELFTools::Structs::ELF_sym = T.let(T.unsafe(nil), Hash) - -module ELFTools::Util - extend ::ELFTools::Util::ClassMethods -end - -module ELFTools::Util::ClassMethods - def align(num, bit); end - def cstring(stream, offset); end - def select_by_type(enum, type); end - def to_constant(mod, val); end -end - -ELFTools::VERSION = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/elftools@1.2.0.rbi b/Library/Homebrew/sorbet/rbi/gems/elftools@1.2.0.rbi new file mode 100644 index 0000000000..aed4ade65c --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/elftools@1.2.0.rbi @@ -0,0 +1,930 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `elftools` gem. +# Please instead update this file by running `bin/tapioca gem elftools`. + +module ELFTools; end + +module ELFTools::Constants + include ::ELFTools::Constants::DF + include ::ELFTools::Constants::DT + include ::ELFTools::Constants::EM + include ::ELFTools::Constants::ET + include ::ELFTools::Constants::PF + include ::ELFTools::Constants::PT + include ::ELFTools::Constants::SHN + include ::ELFTools::Constants::SHF + include ::ELFTools::Constants::SHT + include ::ELFTools::Constants::STB + include ::ELFTools::Constants::STT +end + +module ELFTools::Constants::DF; end +ELFTools::Constants::DF::DF_1_CONFALT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_DIRECT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_DISPRELDNE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_DISPRELPND = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_EDITED = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_ENDFILTEE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_GLOBAL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_GLOBAUDIT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_GROUP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_IGNMULDEF = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_INITFIRST = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_INTERPOSE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_KMOD = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_LOADFLTR = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_NOCOMMON = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_NODEFLIB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_NODELETE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_NODIRECT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_NODUMP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_NOHDR = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_NOKSYMS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_NOOPEN = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_NORELOC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_NOW = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_ORIGIN = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_PIE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_SINGLETON = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_STUB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_SYMINTPOSE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_TRANS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_1_WEAKFILTER = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_BIND_NOW = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_ORIGIN = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_STATIC_TLS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_SYMBOLIC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DF::DF_TEXTREL = T.let(T.unsafe(nil), Integer) +module ELFTools::Constants::DT; end +ELFTools::Constants::DT::DT_ADDRRNGHI = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_ADDRRNGLO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_AUDIT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_AUXILIARY = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_BIND_NOW = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_CONFIG = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_DEBUG = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_DEPAUDIT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_ENCODING = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_FILTER = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_FINI = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_FINI_ARRAY = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_FINI_ARRAYSZ = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_FLAGS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_FLAGS_1 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_GNU_CONFLICT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_GNU_HASH = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_GNU_LIBLIST = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_HASH = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_HIOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_HIPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_INIT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_INIT_ARRAY = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_INIT_ARRAYSZ = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_JMPREL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_LOOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_LOPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_AUX_DYNAMIC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_BASE_ADDRESS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_COMPACT_SIZE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_CONFLICT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_CONFLICTNO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_CXX_FLAGS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_DELTA_CLASS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_DELTA_CLASSSYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_DELTA_CLASSSYM_NO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_DELTA_CLASS_NO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_DELTA_INSTANCE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_DELTA_INSTANCE_NO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_DELTA_RELOC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_DELTA_RELOC_NO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_DELTA_SYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_DELTA_SYM_NO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_DYNSTR_ALIGN = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_FLAGS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_GOTSYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_GP_VALUE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_HIDDEN_GOTIDX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_HIPAGENO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_ICHECKSUM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_INTERFACE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_INTERFACE_SIZE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_IVERSION = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_LIBLIST = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_LIBLISTNO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_LOCALPAGE_GOTIDX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_LOCAL_GOTIDX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_LOCAL_GOTNO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_MSYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_OPTIONS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_PERF_SUFFIX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_PIXIE_INIT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_PLTGOT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_PROTECTED_GOTIDX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_RLD_MAP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_RLD_MAP_REL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_RLD_TEXT_RESOLVE_ADDR = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_RLD_VERSION = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_RWPLT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_SYMBOL_LIB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_SYMTABNO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_TIME_STAMP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_UNREFEXTNO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MIPS_XHASH = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_MOVETAB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_NEEDED = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_NULL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PLTGOT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PLTPAD = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PLTREL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PLTRELSZ = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PPC64_GLINK = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PPC64_OPD = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PPC64_OPDSZ = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PPC64_OPT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PPC_GOT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PPC_OPT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PREINIT_ARRAY = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_PREINIT_ARRAYSZ = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_REL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RELA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RELACOUNT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RELAENT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RELASZ = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RELCOUNT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RELENT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RELR = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RELRENT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RELRSZ = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RELSZ = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RPATH = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_RUNPATH = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_SONAME = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_SPARC_REGISTER = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_STRSZ = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_STRTAB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_SYMBOLIC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_SYMENT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_SYMINFO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_SYMTAB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_SYMTAB_SHNDX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_TEXTREL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_TLSDESC_GOT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_TLSDESC_PLT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_USED = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_VALRNGHI = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_VALRNGLO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_VERDEF = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_VERDEFNUM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_VERNEED = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_VERNEEDNUM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::DT::DT_VERSYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::ELFMAG = T.let(T.unsafe(nil), String) + +module ELFTools::Constants::EM + class << self + def mapping(val); end + end +end + +ELFTools::Constants::EM::EM_386 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_486 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_56800EF = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_56800EX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_65816 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_68HC05 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_68HC08 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_68HC11 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_68HC12 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_68HC16 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_68K = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_78K0R = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_8051 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_860 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_88K = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_960 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_AARCH64 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ALPHA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ALTERA_NIOS2 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_AMDGPU = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ARC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ARCA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ARC_COMPACT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ARC_COMPACT2 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ARC_COMPACT3 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ARC_COMPACT3_64 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ARM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_AVR = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_AVR32 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_BA1 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_BA2 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_BLACKFIN = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_BPF = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_C116 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CDP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CEVA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CEVA_X2 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CLOUDSHIELD = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_COGE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_COLDFIRE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_COOL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_COREA_1ST = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_COREA_2ND = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CR = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CR16 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CRAYNV2 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CRIS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CRX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CSKY = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CSR_KALIMBA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CUDA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CYGNUS_M32R = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CYGNUS_MN10300 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_CYPRESS_M8C = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_D10V = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_D30V = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_DSP24 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_DSPIC30F = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_DXP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ECOG1 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ECOG16 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ECOG1X = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ECOG2 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ETPU = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_EXCESS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_F2MC16 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_FIREPATH = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_FR20 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_FR30 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_FRV = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_FT32 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_FX66 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_GRAPHCORE_IPU = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_H8S = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_H8_300 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_H8_300H = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_H8_500 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_HUANY = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_IA_64 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_IMG1 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_INTELGT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_IP2K = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_JAVELIN = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_K1OM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_KF32 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_KM32 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_KMX16 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_KMX32 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_KMX8 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_KVARC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_KVX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_L1OM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_LANAI = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_LATTICEMICO32 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_LOONGARCH = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_M16C = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_M32 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_M32C = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_M32R = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MANIK = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MAX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MAXQ30 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MCHP_PIC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MCS6502 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MCST_ELBRUS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ME16 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_METAG = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MICROBLAZE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MIPS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MIPS_RS3_LE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MIPS_RS4_BE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MIPS_X = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MMA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MMDSP_PLUS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MMIX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MN10200 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MN10300 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MOXIE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_MSP430 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_NCPU = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_NDR1 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_NDS32 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_NFP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_NONE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_NORC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_NS32K = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_OPEN8 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_OPENRISC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_PARISC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_PCP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_PDP10 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_PDP11 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_PDSP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_PJ = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_PPC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_PPC64 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_PRISM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_QDSP6 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_R32C = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_RCE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_RH32 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_RL78 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_RS08 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_RX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_S370 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_S390 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_S390_OLD = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SCORE7 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SEP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SE_C17 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SE_C33 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SH = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SHARC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SLE9X = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SNP1K = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SPARC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SPARC32PLUS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SPARCV9 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SPU = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ST100 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ST19 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ST200 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ST7 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ST9PLUS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_STARCORE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_STM8 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_STXP7X = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_SVX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TACHYUM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TILE64 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TILEGX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TILEPRO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TINYJ = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TI_ARP32 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TI_C2000 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TI_C5500 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TI_C6000 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TI_PRU = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TMM_GPP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TPC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TRICORE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TRIMEDIA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_TSK3000 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_U16_U8CORE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_UNICORE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_V800 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_V850 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_VAX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_VE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_VIDEOCORE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_VIDEOCORE3 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_VIDEOCORE5 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_VISIUM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_VPP500 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_X86_64 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_XCORE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_XGATE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_XIMO16 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_XTENSA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_Z80 = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::EM::EM_ZSP = T.let(T.unsafe(nil), Integer) + +module ELFTools::Constants::ET + class << self + def mapping(type); end + end +end + +ELFTools::Constants::ET::ET_CORE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::ET::ET_DYN = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::ET::ET_EXEC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::ET::ET_NONE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::ET::ET_REL = T.let(T.unsafe(nil), Integer) +module ELFTools::Constants::PF; end +ELFTools::Constants::PF::PF_R = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PF::PF_W = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PF::PF_X = T.let(T.unsafe(nil), Integer) +module ELFTools::Constants::PT; end +ELFTools::Constants::PT::PT_AARCH64_ARCHEXT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_AARCH64_UNWIND = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_ARM_ARCHEXT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_ARM_EXIDX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_DYNAMIC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_GNU_EH_FRAME = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_GNU_MBIND_HI = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_GNU_MBIND_LO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_GNU_PROPERTY = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_GNU_RELRO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_GNU_STACK = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_HIOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_HIPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_INTERP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_LOAD = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_LOOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_LOPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_MIPS_ABIFLAGS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_MIPS_OPTIONS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_MIPS_REGINFO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_MIPS_RTPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_NOTE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_NULL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_OPENBSD_BOOTDATA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_OPENBSD_RANDOMIZE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_OPENBSD_WXNEEDED = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_PHDR = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_S390_PGSTE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_SHLIB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::PT::PT_TLS = T.let(T.unsafe(nil), Integer) +module ELFTools::Constants::SHF; end +ELFTools::Constants::SHF::SHF_ALLOC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_COMPRESSED = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_EXCLUDE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_EXECINSTR = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_GNU_MBIND = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_GNU_RETAIN = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_GROUP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_INFO_LINK = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_LINK_ORDER = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_MASKOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_MASKPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_MERGE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_ORDERED = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_OS_NONCONFORMING = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_STRINGS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_TLS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHF::SHF_WRITE = T.let(T.unsafe(nil), Integer) +module ELFTools::Constants::SHN; end +ELFTools::Constants::SHN::SHN_ABS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_COMMON = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_HIOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_HIPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_HIRESERVE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_LOOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_LOPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_LORESERVE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_MIPS_ACOMMON = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_MIPS_DATA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_MIPS_SCOMMON = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_MIPS_SUNDEFINED = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_MIPS_TEXT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_UNDEF = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_X86_64_LCOMMON = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHN::SHN_XINDEX = T.let(T.unsafe(nil), Integer) +module ELFTools::Constants::SHT; end +ELFTools::Constants::SHT::SHT_AARCH64_ATTRIBUTES = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_ARM_ATTRIBUTES = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_ARM_DEBUGOVERLAY = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_ARM_EXIDX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_ARM_OVERLAYSECTION = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_ARM_PREEMPTMAP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_CSKY_ATTRIBUTES = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_DYNAMIC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_DYNSYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_FINI_ARRAY = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_GNU_ATTRIBUTES = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_GNU_HASH = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_GNU_INCREMENTAL_GOT_PLT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_GNU_INCREMENTAL_INPUTS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_GNU_INCREMENTAL_RELOCS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_GNU_INCREMENTAL_SYMTAB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_GNU_LIBLIST = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_GNU_verdef = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_GNU_verneed = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_GNU_versym = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_GROUP = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_HASH = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_HIOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_HIPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_HIUSER = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_INIT_ARRAY = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_LOOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_LOPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_LOUSER = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_ABIFLAGS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_AUXSYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_CONFLICT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_CONTENT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_DEBUG = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_DELTACLASS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_DELTADECL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_DELTAINST = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_DELTASYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_DENSE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_DWARF = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_EH_REGION = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_EVENTS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_EXTSYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_FDESC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_GPTAB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_IFACE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_LIBLIST = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_LINE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_LOCSTR = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_LOCSYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_MSYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_OPTIONS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_OPTSYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_PACKAGE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_PACKSYM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_PDESC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_PDR_EXCEPTION = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_PIXIE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_REGINFO = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_RELD = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_RFDESC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_SHDR = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_SYMBOL_LIB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_TRANSLATE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_UCODE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_WHIRL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_XHASH = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_XLATE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_MIPS_XLATE_DEBUG = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_NOBITS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_NOTE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_NULL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_ORDERED = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_PREINIT_ARRAY = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_PROGBITS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_REL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_RELA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_RELR = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_SHLIB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_SPARC_GOTDATA = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_STRTAB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_SUNW_verdef = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_SUNW_verneed = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_SUNW_versym = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_SYMTAB = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_SYMTAB_SHNDX = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::SHT::SHT_X86_64_UNWIND = T.let(T.unsafe(nil), Integer) +module ELFTools::Constants::STB; end +ELFTools::Constants::STB::STB_GLOBAL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STB::STB_GNU_UNIQUE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STB::STB_HIOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STB::STB_HIPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STB::STB_LOCAL = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STB::STB_LOOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STB::STB_LOPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STB::STB_NUM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STB::STB_WEAK = T.let(T.unsafe(nil), Integer) +module ELFTools::Constants::STT; end +ELFTools::Constants::STT::STT_ARM_16BIT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_ARM_TFUNC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_COMMON = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_FILE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_FUNC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_GNU_IFUNC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_HIOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_HIPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_LOOS = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_LOPROC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_NOTYPE = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_NUM = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_OBJECT = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_RELC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_SECTION = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_SPARC_REGISTER = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_SRELC = T.let(T.unsafe(nil), Integer) +ELFTools::Constants::STT::STT_TLS = T.let(T.unsafe(nil), Integer) + +module ELFTools::Dynamic + def each_tags(&block); end + def tag_at(n); end + def tag_by_type(type); end + def tags; end + def tags_by_type(type); end + + private + + def endian; end + def str_offset; end +end + +class ELFTools::Dynamic::Tag + def initialize(header, stream, str_offset); end + + def header; end + def name; end + def name?; end + def stream; end + def value; end +end + +ELFTools::Dynamic::Tag::TYPE_WITH_NAME = T.let(T.unsafe(nil), Array) +class ELFTools::ELFClassError < ::ELFTools::ELFError; end +class ELFTools::ELFDataError < ::ELFTools::ELFError; end +class ELFTools::ELFError < ::StandardError; end + +class ELFTools::ELFFile + def initialize(stream); end + + def build_id; end + def each_sections(&block); end + def each_segments(&block); end + def elf_class; end + def elf_type; end + def endian; end + def header; end + def machine; end + def num_sections; end + def num_segments; end + def offset_from_vma(vma, size = T.unsafe(nil)); end + def patches; end + def save(filename); end + def section_at(n); end + def section_by_name(name); end + def sections; end + def sections_by_type(type, &block); end + def segment_at(n); end + def segment_by_type(type); end + def segments; end + def segments_by_type(type, &block); end + def stream; end + def strtab_section; end + + private + + def create_section(n); end + def create_segment(n); end + def identify; end + def loaded_headers; end +end + +class ELFTools::ELFMagicError < ::ELFTools::ELFError; end + +class ELFTools::LazyArray < ::SimpleDelegator + def initialize(size, &block); end + + def [](i); end +end + +module ELFTools::Note + def each_notes; end + def notes; end + + private + + def create_note(cur); end + def endian; end +end + +class ELFTools::Note::Note + def initialize(header, stream, offset); end + + def desc; end + def description; end + def header; end + def name; end + def offset; end + def stream; end +end + +ELFTools::Note::SIZE_OF_NHDR = T.let(T.unsafe(nil), Integer) + +class ELFTools::Relocation + def initialize(header, stream); end + + def header; end + def r_info_sym; end + def r_info_type; end + def stream; end + def symbol_index; end + def type; end + + private + + def mask_bit; end +end + +module ELFTools::Sections; end + +class ELFTools::Sections::DynamicSection < ::ELFTools::Sections::Section + include ::ELFTools::Dynamic + + def tag_start; end +end + +class ELFTools::Sections::NoteSection < ::ELFTools::Sections::Section + include ::ELFTools::Note + + def note_start; end + def note_total_size; end +end + +class ELFTools::Sections::NullSection < ::ELFTools::Sections::Section + def null?; end +end + +class ELFTools::Sections::RelocationSection < ::ELFTools::Sections::Section + def each_relocations(&block); end + def num_relocations; end + def rela?; end + def relocation_at(n); end + def relocations; end + + private + + def create_relocation(n); end +end + +class ELFTools::Sections::Section + def initialize(header, stream, offset_from_vma: T.unsafe(nil), strtab: T.unsafe(nil), **_kwargs); end + + def data; end + def header; end + def name; end + def null?; end + def stream; end + def type; end + + class << self + def create(header, stream, *args, **kwargs); end + end +end + +class ELFTools::Sections::StrTabSection < ::ELFTools::Sections::Section + def name_at(offset); end +end + +class ELFTools::Sections::SymTabSection < ::ELFTools::Sections::Section + def initialize(header, stream, section_at: T.unsafe(nil), **_kwargs); end + + def each_symbols(&block); end + def num_symbols; end + def symbol_at(n); end + def symbol_by_name(name); end + def symbols; end + def symstr; end + + private + + def create_symbol(n); end +end + +class ELFTools::Sections::Symbol + def initialize(header, stream, symstr: T.unsafe(nil)); end + + def header; end + def name; end + def stream; end +end + +module ELFTools::Segments; end + +class ELFTools::Segments::DynamicSegment < ::ELFTools::Segments::Segment + include ::ELFTools::Dynamic + + def tag_start; end +end + +class ELFTools::Segments::InterpSegment < ::ELFTools::Segments::Segment + def interp_name; end +end + +class ELFTools::Segments::LoadSegment < ::ELFTools::Segments::Segment + def file_head; end + def file_tail; end + def mem_head; end + def mem_size; end + def mem_tail; end + def offset_in?(offset, size = T.unsafe(nil)); end + def offset_to_vma(offset); end + def size; end + def vma_in?(vma, size = T.unsafe(nil)); end + def vma_to_offset(vma); end +end + +class ELFTools::Segments::NoteSegment < ::ELFTools::Segments::Segment + include ::ELFTools::Note + + def note_start; end + def note_total_size; end +end + +class ELFTools::Segments::Segment + def initialize(header, stream, offset_from_vma: T.unsafe(nil)); end + + def data; end + def executable?; end + def header; end + def readable?; end + def stream; end + def type; end + def writable?; end + + class << self + def create(header, stream, *args, **kwargs); end + end +end + +module ELFTools::Structs; end + +class ELFTools::Structs::ELF32_Phdr < ::ELFTools::Structs::ELFStruct + class << self + def inherited(subclass); end + def new(*args); end + end +end + +class ELFTools::Structs::ELF32_sym < ::ELFTools::Structs::ELFStruct + class << self + def inherited(subclass); end + def new(*args); end + end +end + +class ELFTools::Structs::ELF64_Phdr < ::ELFTools::Structs::ELFStruct + class << self + def inherited(subclass); end + def new(*args); end + end +end + +class ELFTools::Structs::ELF64_sym < ::ELFTools::Structs::ELFStruct + class << self + def inherited(subclass); end + def new(*args); end + end +end + +class ELFTools::Structs::ELFStruct < ::BinData::Record + def elf_class; end + def elf_class=(_arg0); end + def offset; end + def offset=(_arg0); end + def patches; end + def to_h; end + + class << self + def inherited(subclass); end + def new(*args); end + def pack(val, bytes); end + def self_endian; end + end +end + +ELFTools::Structs::ELFStruct::CHOICE_SIZE_T = T.let(T.unsafe(nil), Proc) + +class ELFTools::Structs::ELF_Dyn < ::ELFTools::Structs::ELFStruct + class << self + def inherited(subclass); end + def new(*args); end + end +end + +class ELFTools::Structs::ELF_Ehdr < ::ELFTools::Structs::ELFStruct + class << self + def inherited(subclass); end + def new(*args); end + end +end + +class ELFTools::Structs::ELF_Nhdr < ::ELFTools::Structs::ELFStruct + class << self + def inherited(subclass); end + def new(*args); end + end +end + +ELFTools::Structs::ELF_Phdr = T.let(T.unsafe(nil), Hash) + +class ELFTools::Structs::ELF_Rel < ::ELFTools::Structs::ELFStruct + def r_addend; end + + class << self + def inherited(subclass); end + def new(*args); end + end +end + +class ELFTools::Structs::ELF_Rela < ::ELFTools::Structs::ELFStruct + class << self + def inherited(subclass); end + def new(*args); end + end +end + +class ELFTools::Structs::ELF_Shdr < ::ELFTools::Structs::ELFStruct + class << self + def inherited(subclass); end + def new(*args); end + end +end + +ELFTools::Structs::ELF_sym = T.let(T.unsafe(nil), Hash) + +module ELFTools::Util + extend ::ELFTools::Util::ClassMethods +end + +module ELFTools::Util::ClassMethods + def align(num, bit); end + def cstring(stream, offset); end + def select_by_type(enum, type); end + def to_constant(mod, val); end +end + +ELFTools::VERSION = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.8.0.rbi b/Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.8.0.rbi deleted file mode 100644 index 851964f779..0000000000 --- a/Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.8.0.rbi +++ /dev/null @@ -1,101 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `mini_portile2` gem. -# Please instead update this file by running `bin/tapioca gem mini_portile2`. - -class MiniPortile - def initialize(name, version, **kwargs); end - - def activate; end - def apply_patch(patch_file); end - def compile; end - def configure; end - def configure_options; end - def configure_options=(_arg0); end - def configured?; end - def cook; end - def download; end - def downloaded?; end - def extract; end - def files; end - def files=(_arg0); end - def gcc_cmd; end - def host; end - def host=(_arg0); end - def install; end - def installed?; end - def logger; end - def logger=(_arg0); end - def make_cmd; end - def name; end - def original_host; end - def patch; end - def patch_files; end - def patch_files=(_arg0); end - def path; end - def prepare_build_directory; end - def source_directory; end - def source_directory=(path); end - def target; end - def target=(_arg0); end - def version; end - - private - - def archives_path; end - def computed_options; end - def configure_defaults; end - def configure_prefix; end - def detect_host; end - def download_file(url, full_path, count = T.unsafe(nil)); end - def download_file_file(uri, full_path); end - def download_file_ftp(uri, full_path); end - def download_file_http(url, full_path, count = T.unsafe(nil)); end - def execute(action, command, command_opts = T.unsafe(nil)); end - def extract_file(file, target); end - def files_hashs; end - def log_file(action); end - def message(text); end - def newer?(target, checkpoint); end - def output(text = T.unsafe(nil)); end - def port_path; end - def tar_compression_switch(filename); end - def tar_exe; end - def tmp_path; end - def verify_file(file); end - def which(cmd); end - def with_tempfile(filename, full_path); end - def work_path; end - - class << self - def mingw?; end - def mswin?; end - def windows?; end - end -end - -MiniPortile::DEFAULT_TIMEOUT = T.let(T.unsafe(nil), Integer) -MiniPortile::KEYRING_NAME = T.let(T.unsafe(nil), String) -MiniPortile::TAR_EXECUTABLES = T.let(T.unsafe(nil), Array) -MiniPortile::VERSION = T.let(T.unsafe(nil), String) - -class MiniPortileCMake < ::MiniPortile - def initialize(name, version, **kwargs); end - - def cmake_cmd; end - def configure; end - def configure_defaults; end - def configure_prefix; end - def configured?; end - def make_cmd; end -end - -class Net::HTTP < ::Net::Protocol - private - - def edit_path(path); end -end - -Net::HTTP::ENVIRONMENT_VARIABLE_IS_MULTIUSER_SAFE = T.let(T.unsafe(nil), TrueClass) -Net::HTTP::ProxyMod = Net::HTTP::ProxyDelta diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index 74e994fc65..5d1daf7502 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -136,8 +136,190 @@ class BuildEnvironment extend ::T::Private::Methods::SingletonMethodHooks end +class Bundler::APIResponseInvalidDependenciesError + def status_code(); end +end + +class Bundler::APIResponseInvalidDependenciesError +end + +class Bundler::CurrentRuby + def jruby_30?(); end + + def jruby_31?(); end + + def jruby_3?(); end + + def maglev_30?(); end + + def maglev_31?(); end + + def maglev_3?(); end + + def mingw_30?(); end + + def mingw_31?(); end + + def mingw_3?(); end + + def mri_30?(); end + + def mri_31?(); end + + def mri_3?(); end + + def mswin64_30?(); end + + def mswin64_31?(); end + + def mswin64_3?(); end + + def mswin_30?(); end + + def mswin_31?(); end + + def mswin_3?(); end + + def on_30?(); end + + def on_31?(); end + + def on_3?(); end + + def rbx_30?(); end + + def rbx_31?(); end + + def rbx_3?(); end + + def ruby_30?(); end + + def ruby_31?(); end + + def ruby_3?(); end + + def truffleruby_30?(); end + + def truffleruby_31?(); end + + def truffleruby_3?(); end + + def windows?(); end + + def windows_18?(); end + + def windows_19?(); end + + def windows_1?(); end + + def windows_20?(); end + + def windows_21?(); end + + def windows_22?(); end + + def windows_23?(); end + + def windows_24?(); end + + def windows_25?(); end + + def windows_26?(); end + + def windows_27?(); end + + def windows_2?(); end + + def windows_30?(); end + + def windows_31?(); end + + def windows_3?(); end + + def x64_mingw_30?(); end + + def x64_mingw_31?(); end + + def x64_mingw_3?(); end +end + +class Bundler::Definition + def deleted_deps(); end + + def dependencies_for(groups); end + + def locked_dependencies(); end + + def most_specific_locked_platform(); end + + def new_deps(); end + + def requested_dependencies(); end + + def resolve_only_locally!(); end + + def resolve_prefering_local!(); end +end + +class Bundler::Definition + def self.no_lock(); end + + def self.no_lock=(no_lock); end +end + +class Bundler::DepProxy + def clone(); end +end + +class Bundler::DepProxy + def self.get_proxy(dep, platform); end +end + +class Bundler::Dependency + def branch(); end + + def expanded_platforms(); end + + def git(); end + + def github(); end + + def path(); end + + def ref(); end + ALL_RUBY_VERSIONS = ::T.let(nil, ::T.untyped) +end + Bundler::Deprecate = Gem::Deprecate +module Bundler::Digest + SHA1_MASK = ::T.let(nil, ::T.untyped) + SHA1_WORDS = ::T.let(nil, ::T.untyped) +end + +module Bundler::Digest + def self.sha1(string); end +end + +class Bundler::DirectoryRemovalError + def initialize(orig_exception, msg); end + + def status_code(); end +end + +class Bundler::DirectoryRemovalError +end + +class Bundler::Dsl + def check_primary_source_safety(); end + GITHUB_PULL_REQUEST_URL = ::T.let(nil, ::T.untyped) +end + +class Bundler::EndpointSpecification + include ::Bundler::MatchRemoteMetadata + include ::Bundler::FetchMetadata +end + class Bundler::Env end @@ -149,10 +331,23 @@ class Bundler::Env def self.write(io); end end -class Bundler::FeatureFlag - def github_https?(); end +class Bundler::EnvironmentPreserver + def replace_with_backup(); end +end - def global_path_appends_ruby_scope?(); end +class Bundler::EnvironmentPreserver + def self.env_to_hash(env); end + + def self.from_env(); end +end + +module Bundler::FetchMetadata + def matches_current_ruby?(); end + + def matches_current_rubygems?(); end +end + +module Bundler::FetchMetadata end class Bundler::Fetcher @@ -215,8 +410,6 @@ end class Bundler::Fetcher::CompactIndex def available?(*args, &blk); end - def fetch_spec(*args, &blk); end - def specs(*args, &blk); end def specs_for_names(gem_names); end @@ -275,8 +468,6 @@ class Bundler::Fetcher::Downloader end class Bundler::Fetcher::Index - def fetch_spec(spec); end - def specs(_gem_names); end end @@ -287,6 +478,12 @@ class Bundler::Fetcher::SSLError def initialize(msg=T.unsafe(nil)); end end +class Bundler::Fetcher::TooManyRequestsError +end + +class Bundler::Fetcher::TooManyRequestsError +end + class Bundler::Fetcher def self.api_timeout(); end @@ -305,6 +502,20 @@ class Bundler::Fetcher def self.redirect_limit=(redirect_limit); end end +module Bundler::FileUtils + VERSION = ::T.let(nil, ::T.untyped) +end + +class Bundler::FileUtils::Entry_ + def link(dest); end +end + +module Bundler::FileUtils + def self.cp_lr(src, dest, noop: T.unsafe(nil), verbose: T.unsafe(nil), dereference_root: T.unsafe(nil), remove_destination: T.unsafe(nil)); end + + def self.link_entry(src, dest, dereference_root=T.unsafe(nil), remove_destination=T.unsafe(nil)); end +end + class Bundler::GemHelper def allowed_push_host(); end @@ -312,6 +523,8 @@ class Bundler::GemHelper def base(); end + def build_checksum(built_gem_path=T.unsafe(nil)); end + def build_gem(); end def built_gem_path(); end @@ -320,6 +533,12 @@ class Bundler::GemHelper def committed?(); end + def current_branch(); end + + def default_remote(); end + + def gem_command(); end + def gem_key(); end def gem_push?(); end @@ -340,16 +559,18 @@ class Bundler::GemHelper def name(); end - def perform_git_push(options=T.unsafe(nil)); end - def rubygem_push(path); end def sh(cmd, &block); end - def sh_with_code(cmd, &block); end + def sh_with_input(cmd); end + + def sh_with_status(cmd, &block); end def spec_path(); end + def tag_prefix=(tag_prefix); end + def tag_version(); end def version(); end @@ -365,12 +586,22 @@ class Bundler::GemHelper def self.instance(); end def self.instance=(instance); end + + def self.tag_prefix=(prefix); end end -class Bundler::GemRemoteFetcher +class Bundler::GemHelpers::PlatformMatch + def self.specificity_score(spec_platform, user_platform); end end -class Bundler::GemRemoteFetcher +module Bundler::GemHelpers + def self.local_platform(); end + + def self.same_deps(spec, exemplary_spec); end + + def self.same_specificity(platform, spec, exemplary_spec); end + + def self.sort_best_platform_match(matching, platform); end end class Bundler::GemVersionPromoter @@ -390,6 +621,8 @@ class Bundler::GemVersionPromoter def prerelease_specified=(prerelease_specified); end + def reset(); end + def sort_versions(dep, spec_groups); end def strict(); end @@ -455,23 +688,66 @@ class Bundler::Injector def self.remove(gems, options=T.unsafe(nil)); end end -class Bundler::Molinillo::DependencyGraph - include ::Enumerable +class Bundler::Installer + def definition(); end end -class Bundler::Molinillo::DependencyGraph::Log - extend ::Enumerable +class Bundler::LazySpecification + def eql?(other); end + + def force_ruby_platform(); end + + def force_ruby_platform=(force_ruby_platform); end + + def materialize_for_installation(); end + + def platform_string(); end +end + +class Bundler::LockfileParser + def may_include_redundant_platform_specific_gems?(); end +end + +class Bundler::LockfileParser + def self.bundled_with(); end +end + +module Bundler::MatchMetadata + def matches_current_ruby?(); end + + def matches_current_rubygems?(); end +end + +module Bundler::MatchMetadata +end + +module Bundler::MatchRemoteMetadata + include ::Bundler::MatchMetadata + include ::Bundler::FetchMetadata +end + +module Bundler::MatchRemoteMetadata +end + +module Bundler::Molinillo::SpecificationProvider + def dependencies_equal?(dependencies, other_dependencies); end +end + +class Bundler::PermissionError + def parent_folder(); end + + def permission_type(); end end module Bundler::Plugin::API::Source def ==(other); end + def add_dependency_names(names); end + def app_cache_dirname(); end def app_cache_path(custom_path=T.unsafe(nil)); end - def bundler_plugin_api_source?(); end - def cache(spec, custom_path=T.unsafe(nil)); end def cached!(); end @@ -492,6 +768,8 @@ module Bundler::Plugin::API::Source def hash(); end + def identifier(); end + def include?(other); end def initialize(opts); end @@ -502,6 +780,8 @@ module Bundler::Plugin::API::Source def installed?(); end + def local!(); end + def name(); end def options(); end @@ -514,6 +794,8 @@ module Bundler::Plugin::API::Source def root(); end + def spec_names(); end + def specs(); end def to_lock(); end @@ -539,6 +821,14 @@ module Bundler::Plugin::Events GEM_BEFORE_INSTALL_ALL = ::T.let(nil, ::T.untyped) end +class Bundler::Plugin::Index + def installed_plugins(); end + + def plugin_commands(plugin); end + + def unregister_plugin(name); end +end + class Bundler::Plugin::Index::CommandConflict def initialize(plugin, commands); end end @@ -575,12 +865,26 @@ end class Bundler::Plugin::Installer end +class Bundler::Plugin::PluginInstallError +end + +class Bundler::Plugin::PluginInstallError +end + class Bundler::Plugin::SourceList end class Bundler::Plugin::SourceList end +module Bundler::Plugin + def self.list(); end + + def self.save_plugin(name, spec, optional_plugin=T.unsafe(nil)); end + + def self.uninstall(names, options); end +end + class Bundler::ProcessLock end @@ -588,6 +892,50 @@ class Bundler::ProcessLock def self.lock(bundle_path=T.unsafe(nil)); end end +class Bundler::RemoteSpecification + include ::Bundler::MatchRemoteMetadata + include ::Bundler::MatchMetadata + include ::Bundler::FetchMetadata +end + +class Bundler::Resolver + include ::Bundler::GemHelpers + def results_for(dependency); end + + def source_for(name); end +end + +class Bundler::Resolver::Base + def [](name); end + + def base_requirements(); end + + def delete(spec); end + + def initialize(base, additional_base_requirements); end + + def unlock_deps(deps); end +end + +class Bundler::Resolver::Base +end + +class Bundler::Resolver::SpecGroup + def activated_platforms(); end + + def activated_platforms=(activated_platforms); end + + def force_ruby_platform(); end + + def force_ruby_platform=(force_ruby_platform); end + + def sorted_activated_platforms(); end +end + +class Bundler::Resolver::SpecGroup + def self.create_for(specs, all_platforms, specific_platform); end +end + class Bundler::Retry def attempt(&block); end @@ -616,14 +964,50 @@ class Bundler::Retry def self.default_retries(); end end -class Bundler::RubyGemsGemInstaller -end +class Bundler::RubygemsIntegration + def add_default_gems_to(specs); end -class Bundler::RubyGemsGemInstaller -end + def add_to_load_path(paths); end + + def all_specs(); end -class Bundler::RubygemsIntegration::MoreFuture def backport_ext_builder_monitor(); end + + def correct_for_windows_path(path); end + + def default_stubs(); end + + def find_bundler(version); end + + def find_name(name); end + + def gem_remote_fetcher(); end + + def load_env_plugins(); end + + def plain_specs(); end + + def plain_specs=(specs); end + + def stub_rubygems(specs); end + + def supports_bundler_trampolining?(); end +end + +class Bundler::SelfManager + def install_locked_bundler_and_restart_with_it_if_needed(); end + + def restart_with_locked_bundler_if_needed(); end + + def update_bundler_and_restart_with_it_if_needed(target); end +end + +class Bundler::SelfManager +end + +class Bundler::Settings + def processor_count(); end + STRING_KEYS = ::T.let(nil, ::T.untyped) end class Bundler::Settings::Mirror @@ -685,8 +1069,1277 @@ class Bundler::Settings::Validator def self.validate!(key, value, settings); end end +class Bundler::Settings + def self.key_for(key); end +end + +class Bundler::Source + def add_dependency_names(names); end + + def cached!(); end + + def identifier(); end + + def local!(); end + + def local_only!(); end + + def remote!(); end + + def spec_names(); end +end + +class Bundler::Source::Git + def glob(); end + + def local?(); end +end + +class Bundler::Source::Rubygems + def default_cache_path_for(dir); end + + def dependency_api_available?(); end + + def fetch_gem_if_possible(spec, previous_spec=T.unsafe(nil)); end + + def multiple_remotes?(); end + + def no_remotes?(); end + + def package_path(cache_path, spec); end + + def remote_names(); end +end + +class Bundler::Source::RubygemsAggregate + def identifier(); end + + def initialize(sources, source_map); end + + def source_map(); end + + def sources(); end + + def specs(); end +end + +class Bundler::Source::RubygemsAggregate +end + +class Bundler::SourceList + def add_global_rubygems_remote(uri); end + + def aggregate_global_source?(); end + + def expired_sources?(replacement_sources); end + + def get_with_fallback(source); end + + def global_path_source(); end + + def implicit_global_source?(); end + + def local_only!(); end + + def lock_other_sources(); end + + def lock_rubygems_sources(); end + + def merged_gem_lockfile_sections!(replacement_source); end + + def merged_gem_lockfile_sections?(); end + + def non_default_explicit_sources(); end + + def non_global_rubygems_sources(); end +end + +class Bundler::SourceMap + def all_requirements(); end + + def dependencies(); end + + def direct_requirements(); end + + def initialize(sources, dependencies, locked_specs); end + + def locked_requirements(); end + + def locked_specs(); end + + def pinned_spec_names(skip=T.unsafe(nil)); end + + def sources(); end +end + +class Bundler::SourceMap +end + class Bundler::SpecSet include ::Enumerable + include ::Bundler::TSort + def -(other); end + + def delete(spec); end + + def delete_by_name_and_version(name, version); end + + def incomplete_ruby_specs?(deps); end + + def incomplete_specs(); end + + def missing_specs(); end +end + +class Bundler::StubSpecification + def extensions(); end + + def full_gem_path=(path); end + + def gem_build_complete_path(); end + + def manually_installed?(); end +end + +module Bundler::TSort + def each_strongly_connected_component(&block); end + + def each_strongly_connected_component_from(node, id_map=T.unsafe(nil), stack=T.unsafe(nil), &block); end + + def strongly_connected_components(); end + + def tsort(); end + + def tsort_each(&block); end + + def tsort_each_child(node); end + + def tsort_each_node(); end +end + +class Bundler::TSort::Cyclic +end + +class Bundler::TSort::Cyclic +end + +module Bundler::TSort + def self.each_strongly_connected_component(each_node, each_child); end + + def self.each_strongly_connected_component_from(node, each_child, id_map=T.unsafe(nil), stack=T.unsafe(nil)); end + + def self.strongly_connected_components(each_node, each_child); end + + def self.tsort(each_node, each_child); end + + def self.tsort_each(each_node, each_child); end +end + +class Bundler::Thor + include ::Bundler::Thor::Base + include ::Bundler::Thor::Invocation + include ::Bundler::Thor::Shell + def help(command=T.unsafe(nil), subcommand=T.unsafe(nil)); end + HELP_MAPPINGS = ::T.let(nil, ::T.untyped) + TEMPLATE_EXTNAME = ::T.let(nil, ::T.untyped) + THOR_RESERVED_WORDS = ::T.let(nil, ::T.untyped) +end + +module Bundler::Thor::Actions + def _cleanup_options_and_set(options, key); end + + def _shared_configuration(); end + + def action(instance); end + + def add_file(destination, *args, &block); end + + def add_link(destination, *args); end + + def append_file(path, *args, &block); end + + def append_to_file(path, *args, &block); end + + def apply(path, config=T.unsafe(nil)); end + + def behavior(); end + + def behavior=(behavior); end + + def chmod(path, mode, config=T.unsafe(nil)); end + + def comment_lines(path, flag, *args); end + + def copy_file(source, *args, &block); end + + def create_file(destination, *args, &block); end + + def create_link(destination, *args); end + + def destination_root(); end + + def destination_root=(root); end + + def directory(source, *args, &block); end + + def empty_directory(destination, config=T.unsafe(nil)); end + + def find_in_source_paths(file); end + + def get(source, *args, &block); end + + def gsub_file(path, flag, *args, &block); end + + def in_root(); end + + def initialize(args=T.unsafe(nil), options=T.unsafe(nil), config=T.unsafe(nil)); end + + def inject_into_class(path, klass, *args, &block); end + + def inject_into_file(destination, *args, &block); end + + def inject_into_module(path, module_name, *args, &block); end + + def insert_into_file(destination, *args, &block); end + + def inside(dir=T.unsafe(nil), config=T.unsafe(nil), &block); end + + def link_file(source, *args); end + + def prepend_file(path, *args, &block); end + + def prepend_to_file(path, *args, &block); end + + def relative_to_original_destination_root(path, remove_dot=T.unsafe(nil)); end + + def remove_dir(path, config=T.unsafe(nil)); end + + def remove_file(path, config=T.unsafe(nil)); end + + def run(command, config=T.unsafe(nil)); end + + def run_ruby_script(command, config=T.unsafe(nil)); end + + def source_paths(); end + + def template(source, *args, &block); end + + def thor(command, *args); end + + def uncomment_lines(path, flag, *args); end + WARNINGS = ::T.let(nil, ::T.untyped) +end + +class Bundler::Thor::Actions::CapturableERB +end + +class Bundler::Thor::Actions::CapturableERB +end + +module Bundler::Thor::Actions::ClassMethods + def add_runtime_options!(); end + + def source_paths(); end + + def source_paths_for_search(); end + + def source_root(path=T.unsafe(nil)); end +end + +module Bundler::Thor::Actions::ClassMethods +end + +class Bundler::Thor::Actions::CreateFile + def data(); end + + def force_on_collision?(); end + + def force_or_skip_or_conflict(force, skip, &block); end + + def identical?(); end + + def initialize(base, destination, data, config=T.unsafe(nil)); end + + def on_conflict_behavior(&block); end + + def render(); end +end + +class Bundler::Thor::Actions::CreateFile +end + +class Bundler::Thor::Actions::CreateLink +end + +class Bundler::Thor::Actions::CreateLink +end + +class Bundler::Thor::Actions::Directory + def execute!(); end + + def file_level_lookup(previous_lookup); end + + def files(lookup); end + + def initialize(base, source, destination=T.unsafe(nil), config=T.unsafe(nil), &block); end + + def source(); end +end + +class Bundler::Thor::Actions::Directory +end + +class Bundler::Thor::Actions::EmptyDirectory + def base(); end + + def config(); end + + def convert_encoded_instructions(filename); end + + def destination(); end + + def destination=(destination); end + + def exists?(); end + + def given_destination(); end + + def initialize(base, destination, config=T.unsafe(nil)); end + + def invoke!(); end + + def invoke_with_conflict_check(&block); end + + def on_conflict_behavior(); end + + def on_file_clash_behavior(); end + + def pretend?(); end + + def relative_destination(); end + + def revoke!(); end + + def say_status(status, color); end +end + +class Bundler::Thor::Actions::EmptyDirectory +end + +class Bundler::Thor::Actions::InjectIntoFile + def behavior(); end + + def flag(); end + + def initialize(base, destination, data, config); end + + def replace!(regexp, string, force); end + + def replacement(); end + + def say_status(behavior, warning: T.unsafe(nil), color: T.unsafe(nil)); end +end + +class Bundler::Thor::Actions::InjectIntoFile +end + +module Bundler::Thor::Actions + def self.included(base); end +end + +class Bundler::Thor::AmbiguousCommandError +end + +class Bundler::Thor::AmbiguousCommandError +end + +Bundler::Thor::AmbiguousTaskError = Bundler::Thor::AmbiguousCommandError + +class Bundler::Thor::Argument + def banner(); end + + def default(); end + + def default_banner(); end + + def description(); end + + def enum(); end + + def human_name(); end + + def initialize(name, options=T.unsafe(nil)); end + + def name(); end + + def required(); end + + def required?(); end + + def show_default?(); end + + def type(); end + + def usage(); end + + def valid_type?(type); end + + def validate!(); end + VALID_TYPES = ::T.let(nil, ::T.untyped) +end + +class Bundler::Thor::Argument +end + +class Bundler::Thor::Arguments + def initialize(arguments=T.unsafe(nil)); end + + def parse(args); end + + def remaining(); end + NUMERIC = ::T.let(nil, ::T.untyped) +end + +class Bundler::Thor::Arguments + def self.parse(*args); end + + def self.split(args); end +end + +module Bundler::Thor::Base + def args(); end + + def args=(args); end + + def initialize(args=T.unsafe(nil), local_options=T.unsafe(nil), config=T.unsafe(nil)); end + + def options(); end + + def options=(options); end + + def parent_options(); end + + def parent_options=(parent_options); end +end + +module Bundler::Thor::Base::ClassMethods + def all_commands(); end + + def all_tasks(); end + + def allow_incompatible_default_type!(); end + + def argument(name, options=T.unsafe(nil)); end + + def arguments(); end + + def attr_accessor(*arg); end + + def attr_reader(*arg); end + + def attr_writer(*arg); end + + def baseclass(); end + + def basename(); end + + def build_option(name, options, scope); end + + def build_options(options, scope); end + + def check_default_type(); end + + def check_default_type!(); end + + def check_unknown_options(); end + + def check_unknown_options!(); end + + def check_unknown_options?(config); end + + def class_option(name, options=T.unsafe(nil)); end + + def class_options(options=T.unsafe(nil)); end + + def class_options_help(shell, groups=T.unsafe(nil)); end + + def commands(); end + + def create_command(meth); end + + def create_task(meth); end + + def disable_required_check?(command_name); end + + def dispatch(command, given_args, given_opts, config); end + + def exit_on_failure?(); end + + def find_and_refresh_command(name); end + + def find_and_refresh_task(name); end + + def from_superclass(method, default=T.unsafe(nil)); end + + def group(name=T.unsafe(nil)); end + + def handle_argument_error(command, error, args, arity); end + + def handle_no_command_error(command, has_namespace=T.unsafe(nil)); end + + def handle_no_task_error(command, has_namespace=T.unsafe(nil)); end + + def inherited(klass); end + + def initialize_added(); end + + def is_thor_reserved_word?(word, type); end + + def method_added(meth); end + + def namespace(name=T.unsafe(nil)); end + + def no_commands(&block); end + + def no_commands?(); end + + def no_commands_context(); end + + def no_tasks(&block); end + + def print_options(shell, options, group_name=T.unsafe(nil)); end + + def public_command(*names); end + + def public_task(*names); end + + def remove_argument(*names); end + + def remove_class_option(*names); end + + def remove_command(*names); end + + def remove_task(*names); end + + def start(given_args=T.unsafe(nil), config=T.unsafe(nil)); end + + def stop_on_unknown_option?(command_name); end + + def strict_args_position(); end + + def strict_args_position!(); end + + def strict_args_position?(config); end + + def tasks(); end +end + +module Bundler::Thor::Base::ClassMethods +end + +module Bundler::Thor::Base + def self.included(base); end + + def self.register_klass_file(klass); end + + def self.shell(); end + + def self.shell=(shell); end + + def self.subclass_files(); end + + def self.subclasses(); end +end + +class Bundler::Thor::Command + def formatted_usage(klass, namespace=T.unsafe(nil), subcommand=T.unsafe(nil)); end + + def handle_argument_error?(instance, error, caller); end + + def handle_no_method_error?(instance, error, caller); end + + def hidden?(); end + + def initialize(name, description, long_description, usage, options=T.unsafe(nil)); end + + def local_method?(instance, name); end + + def not_debugging?(instance); end + + def private_method?(instance); end + + def public_method?(instance); end + + def required_arguments_for(klass, usage); end + + def required_options(); end + + def run(instance, args=T.unsafe(nil)); end + + def sans_backtrace(backtrace, caller); end + FILE_REGEXP = ::T.let(nil, ::T.untyped) +end + +class Bundler::Thor::Command +end + +module Bundler::Thor::CoreExt +end + +class Bundler::Thor::CoreExt::HashWithIndifferentAccess + def [](key); end + + def []=(key, value); end + + def convert_key(key); end + + def delete(key); end + + def fetch(key, *args); end + + def initialize(hash=T.unsafe(nil)); end + + def key?(key); end + + def merge(other); end + + def merge!(other); end + + def method_missing(method, *args); end + + def replace(other_hash); end + + def reverse_merge(other); end + + def reverse_merge!(other_hash); end + + def values_at(*indices); end +end + +class Bundler::Thor::CoreExt::HashWithIndifferentAccess +end + +module Bundler::Thor::CoreExt +end + +Bundler::Thor::Correctable = DidYouMean::Correctable + +class Bundler::Thor::DynamicCommand + def initialize(name, options=T.unsafe(nil)); end +end + +class Bundler::Thor::DynamicCommand +end + +Bundler::Thor::DynamicTask = Bundler::Thor::DynamicCommand + +class Bundler::Thor::Error +end + +class Bundler::Thor::Error +end + +class Bundler::Thor::Group + include ::Bundler::Thor::Base + include ::Bundler::Thor::Invocation + include ::Bundler::Thor::Shell + def _invoke_for_class_method(klass, command=T.unsafe(nil), *args, &block); end +end + +class Bundler::Thor::Group + extend ::Bundler::Thor::Base::ClassMethods + extend ::Bundler::Thor::Invocation::ClassMethods + def self.banner(); end + + def self.desc(description=T.unsafe(nil)); end + + def self.get_options_from_invocations(group_options, base_options); end + + def self.handle_argument_error(command, error, _args, arity); end + + def self.help(shell); end + + def self.invocation_blocks(); end + + def self.invocations(); end + + def self.invoke(*names, &block); end + + def self.invoke_from_option(*names, &block); end + + def self.printable_commands(*arg); end + + def self.printable_tasks(*arg); end + + def self.remove_invocation(*names); end + + def self.self_command(); end + + def self.self_task(); end +end + +class Bundler::Thor::HiddenCommand +end + +class Bundler::Thor::HiddenCommand +end + +Bundler::Thor::HiddenTask = Bundler::Thor::HiddenCommand + +module Bundler::Thor::Invocation + def _parse_initialization_options(args, opts, config); end + + def _retrieve_class_and_command(name, sent_command=T.unsafe(nil)); end + + def _retrieve_class_and_task(name, sent_command=T.unsafe(nil)); end + + def _shared_configuration(); end + + def current_command_chain(); end + + def initialize(args=T.unsafe(nil), options=T.unsafe(nil), config=T.unsafe(nil), &block); end + + def invoke(name=T.unsafe(nil), *args); end + + def invoke_all(); end + + def invoke_command(command, *args); end + + def invoke_task(command, *args); end + + def invoke_with_padding(*args); end +end + +module Bundler::Thor::Invocation::ClassMethods + def prepare_for_invocation(key, name); end +end + +module Bundler::Thor::Invocation::ClassMethods +end + +module Bundler::Thor::Invocation + def self.included(base); end +end + +class Bundler::Thor::InvocationError +end + +class Bundler::Thor::InvocationError +end + +module Bundler::Thor::LineEditor +end + +class Bundler::Thor::LineEditor::Basic + def initialize(prompt, options); end + + def options(); end + + def prompt(); end + + def readline(); end +end + +class Bundler::Thor::LineEditor::Basic + def self.available?(); end +end + +class Bundler::Thor::LineEditor::Readline +end + +class Bundler::Thor::LineEditor::Readline::PathCompletion + def initialize(text); end + + def matches(); end +end + +class Bundler::Thor::LineEditor::Readline::PathCompletion +end + +class Bundler::Thor::LineEditor::Readline +end + +module Bundler::Thor::LineEditor + def self.best_available(); end + + def self.readline(prompt, options=T.unsafe(nil)); end +end + +class Bundler::Thor::MalformattedArgumentError +end + +class Bundler::Thor::MalformattedArgumentError +end + +class Bundler::Thor::NestedContext + def enter(); end + + def entered?(); end +end + +class Bundler::Thor::NestedContext +end + +class Bundler::Thor::NoKwargSpellChecker + def initialize(dictionary); end +end + +class Bundler::Thor::NoKwargSpellChecker +end + +class Bundler::Thor::Option + def aliases(); end + + def array?(); end + + def boolean?(); end + + def dasherize(str); end + + def dasherized?(); end + + def group(); end + + def hash?(); end + + def hide(); end + + def lazy_default(); end + + def numeric?(); end + + def repeatable(); end + + def string?(); end + + def switch_name(); end + + def undasherize(str); end + + def usage(padding=T.unsafe(nil)); end + + def validate_default_type!(); end + VALID_TYPES = ::T.let(nil, ::T.untyped) +end + +class Bundler::Thor::Option + def self.parse(key, value); end +end + +class Bundler::Thor::Options + def assign_result!(option, result); end + + def check_unknown!(); end + + def current_is_switch?(); end + + def current_is_switch_formatted?(); end + + def initialize(hash_options=T.unsafe(nil), defaults=T.unsafe(nil), stop_on_unknown=T.unsafe(nil), disable_required_check=T.unsafe(nil)); end + + def normalize_switch(arg); end + + def parse_boolean(switch); end + + def parse_peek(switch, option); end + + def parsing_options?(); end + + def switch?(arg); end + + def switch_option(arg); end + + def unshift(arg, is_value: T.unsafe(nil)); end + EQ_RE = ::T.let(nil, ::T.untyped) + LONG_RE = ::T.let(nil, ::T.untyped) + OPTS_END = ::T.let(nil, ::T.untyped) + SHORT_NUM = ::T.let(nil, ::T.untyped) + SHORT_RE = ::T.let(nil, ::T.untyped) + SHORT_SQ_RE = ::T.let(nil, ::T.untyped) +end + +class Bundler::Thor::Options + def self.to_switches(options); end +end + +class Bundler::Thor::RequiredArgumentMissingError +end + +class Bundler::Thor::RequiredArgumentMissingError +end + +module Bundler::Thor::Sandbox +end + +module Bundler::Thor::Sandbox +end + +module Bundler::Thor::Shell + def _shared_configuration(); end + + def ask(*args, &block); end + + def error(*args, &block); end + + def file_collision(*args, &block); end + + def initialize(args=T.unsafe(nil), options=T.unsafe(nil), config=T.unsafe(nil)); end + + def no?(*args, &block); end + + def print_in_columns(*args, &block); end + + def print_table(*args, &block); end + + def print_wrapped(*args, &block); end + + def say(*args, &block); end + + def say_error(*args, &block); end + + def say_status(*args, &block); end + + def set_color(*args, &block); end + + def shell(); end + + def shell=(shell); end + + def terminal_width(*args, &block); end + + def with_padding(); end + + def yes?(*args, &block); end + SHELL_DELEGATED_METHODS = ::T.let(nil, ::T.untyped) +end + +class Bundler::Thor::Shell::Basic + def answer_match(possibilities, answer, case_insensitive); end + + def as_unicode(); end + + def ask(statement, *args); end + + def ask_filtered(statement, color, options); end + + def ask_simply(statement, color, options); end + + def base(); end + + def base=(base); end + + def can_display_colors?(); end + + def dynamic_width(); end + + def dynamic_width_stty(); end + + def dynamic_width_tput(); end + + def error(statement); end + + def file_collision(destination); end + + def file_collision_help(); end + + def git_merge_tool(); end + + def indent(count=T.unsafe(nil)); end + + def is?(value); end + + def lookup_color(color); end + + def merge(destination, content); end + + def merge_tool(); end + + def mute(); end + + def mute?(); end + + def no?(statement, color=T.unsafe(nil)); end + + def padding(); end + + def padding=(value); end + + def prepare_message(message, *color); end + + def print_in_columns(array); end + + def print_table(array, options=T.unsafe(nil)); end + + def print_wrapped(message, options=T.unsafe(nil)); end + + def quiet?(); end + + def say(message=T.unsafe(nil), color=T.unsafe(nil), force_new_line=T.unsafe(nil)); end + + def say_error(message=T.unsafe(nil), color=T.unsafe(nil), force_new_line=T.unsafe(nil)); end + + def say_status(status, message, log_status=T.unsafe(nil)); end + + def set_color(string, *arg); end + + def show_diff(destination, content); end + + def stderr(); end + + def stdout(); end + + def terminal_width(); end + + def truncate(string, width); end + + def unix?(); end + + def yes?(statement, color=T.unsafe(nil)); end + DEFAULT_TERMINAL_WIDTH = ::T.let(nil, ::T.untyped) +end + +class Bundler::Thor::Shell::Basic +end + +class Bundler::Thor::Shell::Color + def are_colors_disabled?(); end + + def are_colors_supported?(); end + + def diff_lcs_loaded?(); end + + def output_diff_line(diff); end + + def set_color(string, *colors); end + BLACK = ::T.let(nil, ::T.untyped) + BLUE = ::T.let(nil, ::T.untyped) + BOLD = ::T.let(nil, ::T.untyped) + CLEAR = ::T.let(nil, ::T.untyped) + CYAN = ::T.let(nil, ::T.untyped) + GREEN = ::T.let(nil, ::T.untyped) + MAGENTA = ::T.let(nil, ::T.untyped) + ON_BLACK = ::T.let(nil, ::T.untyped) + ON_BLUE = ::T.let(nil, ::T.untyped) + ON_CYAN = ::T.let(nil, ::T.untyped) + ON_GREEN = ::T.let(nil, ::T.untyped) + ON_MAGENTA = ::T.let(nil, ::T.untyped) + ON_RED = ::T.let(nil, ::T.untyped) + ON_WHITE = ::T.let(nil, ::T.untyped) + ON_YELLOW = ::T.let(nil, ::T.untyped) + RED = ::T.let(nil, ::T.untyped) + WHITE = ::T.let(nil, ::T.untyped) + YELLOW = ::T.let(nil, ::T.untyped) +end + +class Bundler::Thor::Shell::Color +end + +class Bundler::Thor::Shell::HTML + def ask(statement, color=T.unsafe(nil)); end + + def diff_lcs_loaded?(); end + + def output_diff_line(diff); end + + def set_color(string, *colors); end + BLACK = ::T.let(nil, ::T.untyped) + BLUE = ::T.let(nil, ::T.untyped) + BOLD = ::T.let(nil, ::T.untyped) + CYAN = ::T.let(nil, ::T.untyped) + GREEN = ::T.let(nil, ::T.untyped) + MAGENTA = ::T.let(nil, ::T.untyped) + ON_BLACK = ::T.let(nil, ::T.untyped) + ON_BLUE = ::T.let(nil, ::T.untyped) + ON_CYAN = ::T.let(nil, ::T.untyped) + ON_GREEN = ::T.let(nil, ::T.untyped) + ON_MAGENTA = ::T.let(nil, ::T.untyped) + ON_RED = ::T.let(nil, ::T.untyped) + ON_WHITE = ::T.let(nil, ::T.untyped) + ON_YELLOW = ::T.let(nil, ::T.untyped) + RED = ::T.let(nil, ::T.untyped) + WHITE = ::T.let(nil, ::T.untyped) + YELLOW = ::T.let(nil, ::T.untyped) +end + +class Bundler::Thor::Shell::HTML +end + +module Bundler::Thor::Shell +end + +Bundler::Thor::Task = Bundler::Thor::Command + +class Bundler::Thor::UndefinedCommandError + include ::DidYouMean::Correctable + def all_commands(); end + + def command(); end + + def initialize(command, all_commands, namespace); end +end + +class Bundler::Thor::UndefinedCommandError::SpellChecker + def corrections(); end + + def error(); end + + def initialize(error); end + + def spell_checker(); end +end + +class Bundler::Thor::UndefinedCommandError::SpellChecker +end + +class Bundler::Thor::UndefinedCommandError +end + +Bundler::Thor::UndefinedTaskError = Bundler::Thor::UndefinedCommandError + +class Bundler::Thor::UnknownArgumentError + include ::DidYouMean::Correctable + def initialize(switches, unknown); end + + def switches(); end + + def unknown(); end +end + +class Bundler::Thor::UnknownArgumentError::SpellChecker + def corrections(); end + + def error(); end + + def initialize(error); end + + def spell_checker(); end +end + +class Bundler::Thor::UnknownArgumentError::SpellChecker +end + +class Bundler::Thor::UnknownArgumentError +end + +module Bundler::Thor::Util +end + +module Bundler::Thor::Util + def self.camel_case(str); end + + def self.escape_globs(path); end + + def self.escape_html(string); end + + def self.find_by_namespace(namespace); end + + def self.find_class_and_command_by_namespace(namespace, fallback=T.unsafe(nil)); end + + def self.find_class_and_task_by_namespace(namespace, fallback=T.unsafe(nil)); end + + def self.globs_for(path); end + + def self.load_thorfile(path, content=T.unsafe(nil), debug=T.unsafe(nil)); end + + def self.namespace_from_thor_class(constant); end + + def self.namespaces_in_content(contents, file=T.unsafe(nil)); end + + def self.ruby_command(); end + + def self.snake_case(str); end + + def self.thor_classes_in(klass); end + + def self.thor_root(); end + + def self.thor_root_glob(); end + + def self.user_home(); end +end + +class Bundler::Thor + extend ::Bundler::Thor::Base::ClassMethods + extend ::Bundler::Thor::Invocation::ClassMethods + def self.banner(command, namespace=T.unsafe(nil), subcommand=T.unsafe(nil)); end + + def self.check_unknown_options!(options=T.unsafe(nil)); end + + def self.command_help(shell, command_name); end + + def self.default_command(meth=T.unsafe(nil)); end + + def self.default_task(meth=T.unsafe(nil)); end + + def self.deprecation_warning(message); end + + def self.desc(usage, description, options=T.unsafe(nil)); end + + def self.disable_required_check(); end + + def self.disable_required_check!(*command_names); end + + def self.disable_required_check?(command); end + + def self.dispatch(meth, given_args, given_opts, config); end + + def self.dynamic_command_class(); end + + def self.find_command_possibilities(meth); end + + def self.find_task_possibilities(meth); end + + def self.help(shell, subcommand=T.unsafe(nil)); end + + def self.long_desc(long_description, options=T.unsafe(nil)); end + + def self.map(mappings=T.unsafe(nil), **kw); end + + def self.method_option(name, options=T.unsafe(nil)); end + + def self.method_options(options=T.unsafe(nil)); end + + def self.normalize_command_name(meth); end + + def self.normalize_task_name(meth); end + + def self.option(name, options=T.unsafe(nil)); end + + def self.options(options=T.unsafe(nil)); end + + def self.package_name(name, _=T.unsafe(nil)); end + + def self.printable_commands(all=T.unsafe(nil), subcommand=T.unsafe(nil)); end + + def self.printable_tasks(all=T.unsafe(nil), subcommand=T.unsafe(nil)); end + + def self.register(klass, subcommand_name, usage, description, options=T.unsafe(nil)); end + + def self.retrieve_command_name(args); end + + def self.retrieve_task_name(args); end + + def self.stop_on_unknown_option(); end + + def self.stop_on_unknown_option!(*command_names); end + + def self.stop_on_unknown_option?(command); end + + def self.subcommand(subcommand, subcommand_class); end + + def self.subcommand_classes(); end + + def self.subcommand_help(cmd); end + + def self.subcommands(); end + + def self.subtask(subcommand, subcommand_class); end + + def self.subtask_help(cmd); end + + def self.subtasks(); end + + def self.task_help(shell, command_name); end end class Bundler::UI::Shell @@ -700,7 +2353,7 @@ class Bundler::UI::Shell def debug?(); end - def error(msg, newline=T.unsafe(nil)); end + def error(msg, newline=T.unsafe(nil), color=T.unsafe(nil)); end def info(msg, newline=T.unsafe(nil)); end @@ -722,7 +2375,7 @@ class Bundler::UI::Shell def unprinted_warnings(); end - def warn(msg, newline=T.unsafe(nil)); end + def warn(msg, newline=T.unsafe(nil), color=T.unsafe(nil)); end def yes?(msg); end LEVELS = ::T.let(nil, ::T.untyped) @@ -731,6 +2384,437 @@ end class Bundler::UI::Shell end +module Bundler::URI + include ::Bundler::URI::RFC2396_REGEXP + ABS_PATH = ::T.let(nil, ::T.untyped) + ABS_URI = ::T.let(nil, ::T.untyped) + ABS_URI_REF = ::T.let(nil, ::T.untyped) + DEFAULT_PARSER = ::T.let(nil, ::T.untyped) + ESCAPED = ::T.let(nil, ::T.untyped) + FRAGMENT = ::T.let(nil, ::T.untyped) + HOST = ::T.let(nil, ::T.untyped) + OPAQUE = ::T.let(nil, ::T.untyped) + PORT = ::T.let(nil, ::T.untyped) + QUERY = ::T.let(nil, ::T.untyped) + REGISTRY = ::T.let(nil, ::T.untyped) + REL_PATH = ::T.let(nil, ::T.untyped) + REL_URI = ::T.let(nil, ::T.untyped) + REL_URI_REF = ::T.let(nil, ::T.untyped) + RFC3986_PARSER = ::T.let(nil, ::T.untyped) + SCHEME = ::T.let(nil, ::T.untyped) + TBLDECWWWCOMP_ = ::T.let(nil, ::T.untyped) + TBLENCWWWCOMP_ = ::T.let(nil, ::T.untyped) + UNSAFE = ::T.let(nil, ::T.untyped) + URI_REF = ::T.let(nil, ::T.untyped) + USERINFO = ::T.let(nil, ::T.untyped) + VERSION = ::T.let(nil, ::T.untyped) + VERSION_CODE = ::T.let(nil, ::T.untyped) + WEB_ENCODINGS_ = ::T.let(nil, ::T.untyped) +end + +class Bundler::URI::BadURIError +end + +class Bundler::URI::BadURIError +end + +class Bundler::URI::Error +end + +class Bundler::URI::Error +end + +class Bundler::URI::FTP + def set_typecode(v); end + + def typecode(); end + + def typecode=(typecode); end + COMPONENT = ::T.let(nil, ::T.untyped) + DEFAULT_PORT = ::T.let(nil, ::T.untyped) + TYPECODE = ::T.let(nil, ::T.untyped) + TYPECODE_PREFIX = ::T.let(nil, ::T.untyped) +end + +class Bundler::URI::FTP + def self.new2(user, password, host, port, path, typecode=T.unsafe(nil), arg_check=T.unsafe(nil)); end +end + +class Bundler::URI::File + def check_password(user); end + + def check_user(user); end + + def check_userinfo(user); end + + def set_userinfo(v); end + COMPONENT = ::T.let(nil, ::T.untyped) + DEFAULT_PORT = ::T.let(nil, ::T.untyped) +end + +class Bundler::URI::File +end + +class Bundler::URI::Generic + include ::Bundler::URI + include ::Bundler::URI::RFC2396_REGEXP + def +(oth); end + + def -(oth); end + + def ==(oth); end + + def absolute(); end + + def absolute?(); end + + def coerce(oth); end + + def component(); end + + def component_ary(); end + + def default_port(); end + + def eql?(oth); end + + def find_proxy(env=T.unsafe(nil)); end + + def fragment(); end + + def fragment=(v); end + + def hierarchical?(); end + + def host(); end + + def host=(v); end + + def hostname(); end + + def hostname=(v); end + + def initialize(scheme, userinfo, host, port, registry, path, opaque, query, fragment, parser=T.unsafe(nil), arg_check=T.unsafe(nil)); end + + def merge(oth); end + + def merge!(oth); end + + def normalize(); end + + def normalize!(); end + + def opaque(); end + + def opaque=(v); end + + def parser(); end + + def password(); end + + def password=(password); end + + def path(); end + + def path=(v); end + + def port(); end + + def port=(v); end + + def query(); end + + def query=(v); end + + def registry(); end + + def registry=(v); end + + def relative?(); end + + def route_from(oth); end + + def route_to(oth); end + + def scheme(); end + + def scheme=(v); end + + def select(*components); end + + def set_host(v); end + + def set_opaque(v); end + + def set_password(v); end + + def set_path(v); end + + def set_port(v); end + + def set_registry(v); end + + def set_scheme(v); end + + def set_user(v); end + + def set_userinfo(user, password=T.unsafe(nil)); end + + def user(); end + + def user=(user); end + + def userinfo(); end + + def userinfo=(userinfo); end + COMPONENT = ::T.let(nil, ::T.untyped) + DEFAULT_PORT = ::T.let(nil, ::T.untyped) + USE_REGISTRY = ::T.let(nil, ::T.untyped) +end + +class Bundler::URI::Generic + def self.build(args); end + + def self.build2(args); end + + def self.component(); end + + def self.default_port(); end + + def self.use_proxy?(hostname, addr, port, no_proxy); end + + def self.use_registry(); end +end + +class Bundler::URI::HTTP + def request_uri(); end + COMPONENT = ::T.let(nil, ::T.untyped) + DEFAULT_PORT = ::T.let(nil, ::T.untyped) +end + +class Bundler::URI::HTTP +end + +class Bundler::URI::HTTPS + DEFAULT_PORT = ::T.let(nil, ::T.untyped) +end + +class Bundler::URI::HTTPS +end + +class Bundler::URI::InvalidComponentError +end + +class Bundler::URI::InvalidComponentError +end + +class Bundler::URI::InvalidURIError +end + +class Bundler::URI::InvalidURIError +end + +class Bundler::URI::LDAP + def attributes(); end + + def attributes=(val); end + + def dn(); end + + def dn=(val); end + + def extensions(); end + + def extensions=(val); end + + def filter(); end + + def filter=(val); end + + def initialize(*arg); end + + def scope(); end + + def scope=(val); end + + def set_attributes(val); end + + def set_dn(val); end + + def set_extensions(val); end + + def set_filter(val); end + + def set_scope(val); end + COMPONENT = ::T.let(nil, ::T.untyped) + DEFAULT_PORT = ::T.let(nil, ::T.untyped) + SCOPE = ::T.let(nil, ::T.untyped) + SCOPE_BASE = ::T.let(nil, ::T.untyped) + SCOPE_ONE = ::T.let(nil, ::T.untyped) + SCOPE_SUB = ::T.let(nil, ::T.untyped) +end + +class Bundler::URI::LDAP +end + +class Bundler::URI::LDAPS + DEFAULT_PORT = ::T.let(nil, ::T.untyped) +end + +class Bundler::URI::LDAPS +end + +class Bundler::URI::MailTo + def headers(); end + + def headers=(v); end + + def initialize(*arg); end + + def set_headers(v); end + + def set_to(v); end + + def to(); end + + def to=(v); end + + def to_mailtext(); end + + def to_rfc822text(); end + COMPONENT = ::T.let(nil, ::T.untyped) + DEFAULT_PORT = ::T.let(nil, ::T.untyped) + EMAIL_REGEXP = ::T.let(nil, ::T.untyped) + HEADER_REGEXP = ::T.let(nil, ::T.untyped) +end + +class Bundler::URI::MailTo +end + +Bundler::URI::Parser = Bundler::URI::RFC2396_Parser + +Bundler::URI::REGEXP = Bundler::URI::RFC2396_REGEXP + +class Bundler::URI::RFC2396_Parser + include ::Bundler::URI::RFC2396_REGEXP + def escape(str, unsafe=T.unsafe(nil)); end + + def extract(str, schemes=T.unsafe(nil)); end + + def initialize(opts=T.unsafe(nil)); end + + def join(*uris); end + + def make_regexp(schemes=T.unsafe(nil)); end + + def parse(uri); end + + def pattern(); end + + def regexp(); end + + def split(uri); end + + def unescape(str, escaped=T.unsafe(nil)); end +end + +class Bundler::URI::RFC2396_Parser +end + +module Bundler::URI::RFC2396_REGEXP +end + +module Bundler::URI::RFC2396_REGEXP::PATTERN + ABS_PATH = ::T.let(nil, ::T.untyped) + ABS_URI = ::T.let(nil, ::T.untyped) + ALNUM = ::T.let(nil, ::T.untyped) + ALPHA = ::T.let(nil, ::T.untyped) + DOMLABEL = ::T.let(nil, ::T.untyped) + ESCAPED = ::T.let(nil, ::T.untyped) + FRAGMENT = ::T.let(nil, ::T.untyped) + HEX = ::T.let(nil, ::T.untyped) + HIER_PART = ::T.let(nil, ::T.untyped) + HOST = ::T.let(nil, ::T.untyped) + HOSTNAME = ::T.let(nil, ::T.untyped) + HOSTPORT = ::T.let(nil, ::T.untyped) + IPV4ADDR = ::T.let(nil, ::T.untyped) + IPV6ADDR = ::T.let(nil, ::T.untyped) + IPV6REF = ::T.let(nil, ::T.untyped) + NET_PATH = ::T.let(nil, ::T.untyped) + OPAQUE_PART = ::T.let(nil, ::T.untyped) + PATH_SEGMENTS = ::T.let(nil, ::T.untyped) + PORT = ::T.let(nil, ::T.untyped) + QUERY = ::T.let(nil, ::T.untyped) + REG_NAME = ::T.let(nil, ::T.untyped) + REL_PATH = ::T.let(nil, ::T.untyped) + REL_SEGMENT = ::T.let(nil, ::T.untyped) + REL_URI = ::T.let(nil, ::T.untyped) + RESERVED = ::T.let(nil, ::T.untyped) + SCHEME = ::T.let(nil, ::T.untyped) + TOPLABEL = ::T.let(nil, ::T.untyped) + UNRESERVED = ::T.let(nil, ::T.untyped) + URIC = ::T.let(nil, ::T.untyped) + URIC_NO_SLASH = ::T.let(nil, ::T.untyped) + URI_REF = ::T.let(nil, ::T.untyped) + USERINFO = ::T.let(nil, ::T.untyped) + X_ABS_URI = ::T.let(nil, ::T.untyped) + X_REL_URI = ::T.let(nil, ::T.untyped) +end + +module Bundler::URI::RFC2396_REGEXP::PATTERN +end + +module Bundler::URI::RFC2396_REGEXP +end + +class Bundler::URI::RFC3986_Parser + def join(*uris); end + + def parse(uri); end + + def regexp(); end + + def split(uri); end + RFC3986_URI = ::T.let(nil, ::T.untyped) + RFC3986_relative_ref = ::T.let(nil, ::T.untyped) +end + +class Bundler::URI::RFC3986_Parser +end + +module Bundler::URI::Util +end + +module Bundler::URI::Util + def self.make_components_hash(klass, array_hash); end +end + +module Bundler::URI + def self.decode_www_form(str, enc=T.unsafe(nil), separator: T.unsafe(nil), use__charset_: T.unsafe(nil), isindex: T.unsafe(nil)); end + + def self.decode_www_form_component(str, enc=T.unsafe(nil)); end + + def self.encode_www_form(enum, enc=T.unsafe(nil)); end + + def self.encode_www_form_component(str, enc=T.unsafe(nil)); end + + def self.extract(str, schemes=T.unsafe(nil), &block); end + + def self.for(scheme, *arguments, default: T.unsafe(nil)); end + + def self.get_encoding(label); end + + def self.join(*str); end + + def self.parse(uri); end + + def self.regexp(schemes=T.unsafe(nil)); end + + def self.scheme_list(); end + + def self.split(uri); end +end + module Bundler::VersionRanges end @@ -795,6 +2879,30 @@ module Bundler::VersionRanges def self.for_many(requirements); end end +module Bundler + def self.configure_gem_home_and_path(path=T.unsafe(nil)); end + + def self.create_bundle_path(); end + + def self.most_specific_locked_platform?(platform); end + + def self.original_exec(*args); end + + def self.original_system(*args); end + + def self.preferred_gemfile_name(); end + + def self.reset_settings_and_root!(); end + + def self.self_manager(); end + + def self.unbundled_env(); end + + def self.unbundled_exec(*args); end + + def self.unbundled_system(*args); end +end + module CGI::HtmlExtension def a(href=T.unsafe(nil)); end @@ -1975,14 +4083,8 @@ module GC def self.verify_transient_heap_internal_consistency(); end end -class Gem::DependencyInstaller - def _deprecated_add_found_dependencies(to_do, dependency_list); end - - def _deprecated_gather_dependencies(); end - - def add_found_dependencies(*args, &block); end - - def gather_dependencies(*args, &block); end +class Gem::Dependency + def force_ruby_platform(); end end class Gem::Exception @@ -2010,172 +4112,33 @@ class Gem::Ext::ExtConfBuilder def self.get_relative_path(path); end end -class Gem::Package::DigestIO - def digests(); end +Gem::Installer::ExtensionBuildError = Gem::Ext::BuildError - def initialize(io, digests); end +class Gem::Installer::FakePackage + def copy_to(path); end - def write(data); end + def data_mode(); end + + def data_mode=(data_mode); end + + def dir_mode(); end + + def dir_mode=(dir_mode); end + + def extract_files(destination_dir, pattern=T.unsafe(nil)); end + + def initialize(spec); end + + def prog_mode(); end + + def prog_mode=(prog_mode); end + + def spec(); end + + def spec=(spec); end end -class Gem::Package::DigestIO - def self.wrap(io, digests); end -end - -class Gem::Package::FileSource - def initialize(path); end - - def path(); end - - def start(); end - - def with_read_io(&block); end - - def with_write_io(&block); end -end - -class Gem::Package::FileSource -end - -class Gem::Package::IOSource - def initialize(io); end - - def io(); end - - def path(); end - - def start(); end - - def with_read_io(); end - - def with_write_io(); end -end - -class Gem::Package::IOSource -end - -class Gem::Package::Old - def extract_files(destination_dir); end - - def file_list(io); end - - def read_until_dashes(io); end - - def skip_ruby(io); end -end - -class Gem::Package::Old -end - -class Gem::Package::Source -end - -class Gem::Package::Source -end - -class Gem::Package::TarHeader - def ==(other); end - - def checksum(); end - - def devmajor(); end - - def devminor(); end - - def empty?(); end - - def gid(); end - - def gname(); end - - def initialize(vals); end - - def linkname(); end - - def magic(); end - - def mode(); end - - def mtime(); end - - def name(); end - - def prefix(); end - - def size(); end - - def typeflag(); end - - def uid(); end - - def uname(); end - - def update_checksum(); end - - def version(); end - EMPTY_HEADER = ::T.let(nil, ::T.untyped) - FIELDS = ::T.let(nil, ::T.untyped) - PACK_FORMAT = ::T.let(nil, ::T.untyped) - UNPACK_FORMAT = ::T.let(nil, ::T.untyped) -end - -class Gem::Package::TarHeader - def self.from(stream); end - - def self.strict_oct(str); end -end - -class Gem::Package::TarReader::Entry - def bytes_read(); end - - def check_closed(); end - - def close(); end - - def closed?(); end - - def directory?(); end - - def eof?(); end - - def file?(); end - - def full_name(); end - - def getc(); end - - def header(); end - - def initialize(header, io); end - - def length(); end - - def pos(); end - - def read(len=T.unsafe(nil)); end - - def readpartial(maxlen=T.unsafe(nil), outbuf=T.unsafe(nil)); end - - def rewind(); end - - def size(); end - - def symlink?(); end -end - -class Gem::Package::TarReader::Entry -end - -class Gem::Package::TarReader - def self.new(io); end -end - -class Gem::Package::TarWriter - def self.new(io); end -end - -class Gem::Package - def self.new(gem, security_policy=T.unsafe(nil)); end +class Gem::Installer::FakePackage end class Gem::PathSupport @@ -2188,13 +4151,17 @@ class Gem::PathSupport def spec_cache_dir(); end end -class Gem::RemoteFetcher - def correct_for_windows_path(path); end +class Gem::Platform + def normalized_linux_version_ext(); end + WINDOWS = ::T.let(nil, ::T.untyped) + X64_LINUX = ::T.let(nil, ::T.untyped) + X64_LINUX_MUSL = ::T.let(nil, ::T.untyped) +end - def s3_expiration(); end +class Gem::Platform + def self.match_gem?(platform, gem_name); end - def sign_s3_url(uri, expiration=T.unsafe(nil)); end - BASE64_URI_TRANSLATE = ::T.let(nil, ::T.untyped) + def self.match_spec?(spec); end end class Gem::Request @@ -2203,6 +4170,17 @@ class Gem::Request extend ::Gem::Text end +class Gem::Requirement + include ::Gem::Requirement::CorrectHashForLambdaOperator +end + +module Gem::Requirement::CorrectHashForLambdaOperator + def hash(); end +end + +module Gem::Requirement::CorrectHashForLambdaOperator +end + class Gem::Resolver::ActivationRequest def others_possible?(); end end @@ -2256,93 +4234,6 @@ end class Gem::RuntimeRequirementNotMetError end -class Gem::Security::Exception -end - -class Gem::Security::Exception -end - -Gem::Security::KEY_ALGORITHM = OpenSSL::PKey::RSA - -class Gem::Security::Signer - include ::Gem::UserInteraction - include ::Gem::DefaultUserInteraction - include ::Gem::Text - def cert_chain(); end - - def cert_chain=(cert_chain); end - - def digest_algorithm(); end - - def digest_name(); end - - def extract_name(cert); end - - def initialize(key, cert_chain, passphrase=T.unsafe(nil), options=T.unsafe(nil)); end - - def key(); end - - def key=(key); end - - def load_cert_chain(); end - - def options(); end - - def re_sign_key(expiration_length: T.unsafe(nil)); end - - def sign(data); end -end - -class Gem::Security::Signer - def self.re_sign_cert(expired_cert, expired_cert_path, private_key); end -end - -class Gem::Security::TrustDir - def cert_path(certificate); end - - def dir(); end - - def each_certificate(); end - - def initialize(dir, permissions=T.unsafe(nil)); end - - def issuer_of(certificate); end - - def load_certificate(certificate_file); end - - def name_path(name); end - - def trust_cert(certificate); end - - def verify(); end -end - -module Gem::Security - def self.alt_name_or_x509_entry(certificate, x509_entry); end - - def self.create_cert(subject, key, age=T.unsafe(nil), extensions=T.unsafe(nil), serial=T.unsafe(nil)); end - - def self.create_cert_email(email, key, age=T.unsafe(nil), extensions=T.unsafe(nil)); end - - def self.create_cert_self_signed(subject, key, age=T.unsafe(nil), extensions=T.unsafe(nil), serial=T.unsafe(nil)); end - - def self.create_key(length=T.unsafe(nil), algorithm=T.unsafe(nil)); end - - def self.email_to_name(email_address); end - - def self.re_sign(expired_certificate, private_key, age=T.unsafe(nil), extensions=T.unsafe(nil)); end - - def self.reset(); end - - def self.sign(certificate, signing_key, signing_cert, age=T.unsafe(nil), extensions=T.unsafe(nil), serial=T.unsafe(nil)); end - - def self.trust_dir(); end - - def self.trusted_certificates(&block); end - - def self.write(pemmable, path, permissions=T.unsafe(nil), passphrase=T.unsafe(nil), cipher=T.unsafe(nil)); end -end - class Gem::SpecFetcher include ::Gem::UserInteraction include ::Gem::DefaultUserInteraction @@ -2377,9 +4268,23 @@ class Gem::SpecFetcher end class Gem::Specification + include ::Bundler::MatchMetadata include ::Bundler::MatchPlatform include ::Bundler::GemHelpers + include ::Gem::Specification::YamlBackfiller + def deleted_gem?(); end + + def rg_required_ruby_version=(req); end + def to_ruby(); end + LATEST_RUBY_WITHOUT_PATCH_VERSIONS = ::T.let(nil, ::T.untyped) +end + +module Gem::Specification::YamlBackfiller + def to_yaml(opts=T.unsafe(nil)); end +end + +module Gem::Specification::YamlBackfiller end class Gem::Specification @@ -3371,6 +5276,7 @@ class Net::HTTP def write_timeout(); end def write_timeout=(sec); end + ENVIRONMENT_VARIABLE_IS_MULTIUSER_SAFE = ::T.let(nil, ::T.untyped) end class Net::HTTP::Persistent @@ -3384,6 +5290,8 @@ end class Net::HTTPAlreadyReported end +Net::HTTPClientError::EXCEPTION_TYPE = Net::HTTPServerException + Net::HTTPClientErrorCode = Net::HTTPClientError class Net::HTTPEarlyHints @@ -3395,6 +5303,8 @@ end Net::HTTPFatalErrorCode = Net::HTTPClientError +Net::HTTPInformation::EXCEPTION_TYPE = Net::HTTPError + Net::HTTPInformationCode = Net::HTTPInformation class Net::HTTPLoopDetected @@ -3443,6 +5353,8 @@ end class Net::HTTPRangeNotSatisfiable end +Net::HTTPRedirection::EXCEPTION_TYPE = Net::HTTPRetriableError + Net::HTTPRedirectionCode = Net::HTTPRedirection Net::HTTPRequestURITooLarge = Net::HTTPURITooLong @@ -3451,10 +5363,14 @@ Net::HTTPResponceReceiver = Net::HTTPResponse Net::HTTPRetriableCode = Net::HTTPRedirection +Net::HTTPServerError::EXCEPTION_TYPE = Net::HTTPFatalError + Net::HTTPServerErrorCode = Net::HTTPServerError Net::HTTPSession = Net::HTTP +Net::HTTPSuccess::EXCEPTION_TYPE = Net::HTTPError + Net::HTTPSuccessCode = Net::HTTPSuccess class Net::HTTPURITooLong @@ -3721,58 +5637,6 @@ module OpenSSL def self.fips_mode(); end end -class OpenURI::Buffer - def <<(str); end - - def io(); end - - def size(); end - StringMax = ::T.let(nil, ::T.untyped) -end - -class OpenURI::Buffer -end - -class OpenURI::HTTPError - def initialize(message, io); end -end - -class OpenURI::HTTPRedirect - def initialize(message, io, uri); end -end - -module OpenURI::Meta - def content_type_parse(); end - - def meta_add_field(name, value); end - - def meta_add_field2(name, values); end - - def meta_setup_encoding(); end - RE_LWS = ::T.let(nil, ::T.untyped) - RE_PARAMETERS = ::T.let(nil, ::T.untyped) - RE_QUOTED_STRING = ::T.let(nil, ::T.untyped) - RE_TOKEN = ::T.let(nil, ::T.untyped) -end - -module OpenURI::Meta - def self.init(obj, src=T.unsafe(nil)); end -end - -module OpenURI - def self.check_options(options); end - - def self.open_http(buf, target, proxy, options); end - - def self.open_loop(uri, options); end - - def self.open_uri(name, *rest); end - - def self.redirectable?(uri1, uri2); end - - def self.scan_open_optional_arguments(*rest); end -end - class PATH def each(*args, &block); end end