Skip to content

Spurious symbols found in COFF object #33

@giordano

Description

@giordano

In file bin/libnetcdf-19.dll from https://github.com/JuliaBinaryWrappers/NetCDF_jll.jl/releases/download/NetCDF-v400.802.100%2B0/NetCDF.v400.802.100.x86_64-w64-mingw32.tar.gz I get

julia> using ObjectFile

julia> readmeta("./libnetcdf-19.dll") do oh
           symbol_name.(Symbols(oh))
       end
11231-element Vector{AbstractString}:
 ".file"
 "crtdll.c"
 "pre_c_init"
 ""
 "atexit_table"
 "_CRT_INIT"
 "__proc_attached"
 "__DllMainCRTStartup"
 "DllMainCRTStartup"
 "atexit"
 ".text"
 "3-byte String of invalid UTF-8 data"
 ".data"
 "\x01"
 ".bss"
 "\x1c"
 
 "__imp_H5Tget_native_type"
 "H5Dcreate2"
 "__fu61_H5P_CLS_DATASET_CREATE_ID_g"
 "nc4_chunk_cache_nelems"
 "__imp_fseek"
 "vfprintf"
 "__imp_H5Eset_auto1"
 "H5Pget_fill_value"
 "__imp_H5Pset_file_image"
 "__imp_H5Sget_simple_extent_dims"
 "free"
 "__security_cookie"
 "__imp_H5Tcommit1"
 "__imp_H5Pset_file_image_callbacks"
 "UDF0_dispatch_table"
 "__imp__findclose"

There are plenty of suspiciously wrong symbols like ".file", "crtdll.c", or "3-byte String of invalid UTF-8 data".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions