JuliaIO / JuliaIO/ObjectFile.jl
Spurious symbols found in COFF object
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 17
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
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".
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report by downloading the linked NetCDF DLL and running readmeta with Symbols(oh). Trace how the COFF symbols are read and named, then verify that the resulting symbol list no longer includes section names, source-file entries, invalid UTF-8, or other spurious values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- devtools, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100