diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c1558dc..38308a2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,11 @@ Changelog ========= +v0.5.0 (2024-11-05) +------------------- + +- Build GoReSym from source instead of vendoring the binary. +- Update GoReSym to v3.0.1 v0.4.0 (2024-10-31) ------------------- diff --git a/README.rst b/README.rst index 27d9549..0587018 100644 --- a/README.rst +++ b/README.rst @@ -11,6 +11,8 @@ To install and use: The JSON output will contain various dependencies and symbols found in Go binaries if any. +A Go compiler is required to build go-inspector. Install Go from +https://go.dev/doc/install or from a package manager. - License: Apache-2.0 AND MIT AND BSD-3-Clause WITH LicenRef-scancode-google-patent-license-golang - Copyright (c) nexB Inc., AboutCode, Mandiant, The Go Authors, Elliot Chance and others. @@ -50,19 +52,19 @@ This project is funded, supported and sponsored by: - Generous support and contributions from users like you! - the European Commission NGI programme -- the NLnet Foundation +- the NLnet Foundation - the Swiss State Secretariat for Education, Research and Innovation (SERI) - Google, including the Google Summer of Code and the Google Seasons of Doc programmes - Mercedes-Benz Group - Microsoft and Microsoft Azure - AboutCode ASBL -- nexB Inc. +- nexB Inc. -|europa| |dgconnect| +|europa| |dgconnect| -|ngi| |nlnet| +|ngi| |nlnet| |aboutcode| |nexb| @@ -70,7 +72,7 @@ This project is funded, supported and sponsored by: This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG -Communications Networks, Content and Technology under grant agreement No 101069594. +Communications Networks, Content and Technology under grant agreement No 101069594. |ngizeroentrust| https://nlnet.nl/project/Back2source/ @@ -84,7 +86,7 @@ Communications Networks, Content and Technology under grant agreement No 1010929 This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG -Communications Networks, Content and Technology under grant agreement No 101069594. +Communications Networks, Content and Technology under grant agreement No 101069594. |ngizeroentrust| https://nlnet.nl/project/purl2all/ diff --git a/lib-src/GoReSym-3.0.1.tar.gz.ABOUT b/lib-src/GoReSym-3.0.1.tar.gz.ABOUT new file mode 100644 index 0000000..b3b1998 --- /dev/null +++ b/lib-src/GoReSym-3.0.1.tar.gz.ABOUT @@ -0,0 +1,8 @@ +about_resource: GoReSym-3.0.1.tar.gz +name: GoReSym +version: 3.0.1 +download_url: https://github.com/mandiant/GoReSym/archive/refs/tags/v3.0.1.tar.gz +package_url: pkg:github/mandiant/GoReSym@3.0.1 +copyright: Copyright (c) 2022 MANDIANT +license_expression: mit +license_text_file: GoReSym_lin.LICENSE diff --git a/src/go_inspector/bin/GoReSym_lin.LICENSE b/lib-src/GoReSym-3.0.1.tar.gz.LICENSE similarity index 100% rename from src/go_inspector/bin/GoReSym_lin.LICENSE rename to lib-src/GoReSym-3.0.1.tar.gz.LICENSE diff --git a/src/go_inspector/bin/arch-52c3e6f60cffa0133a3f9b2fc7f6862504a6cba0.tar.gz.ABOUT b/lib-src/arch-52c3e6f60cffa0133a3f9b2fc7f6862504a6cba0.tar.gz.ABOUT similarity index 100% rename from src/go_inspector/bin/arch-52c3e6f60cffa0133a3f9b2fc7f6862504a6cba0.tar.gz.ABOUT rename to lib-src/arch-52c3e6f60cffa0133a3f9b2fc7f6862504a6cba0.tar.gz.ABOUT diff --git a/src/go_inspector/bin/binaryregexp-0.2.0.tar.gz.ABOUT b/lib-src/binaryregexp-0.2.0.tar.gz.ABOUT similarity index 100% rename from src/go_inspector/bin/binaryregexp-0.2.0.tar.gz.ABOUT rename to lib-src/binaryregexp-0.2.0.tar.gz.ABOUT diff --git a/src/go_inspector/bin/bsd-new.LICENSE b/lib-src/bsd-new.LICENSE similarity index 100% rename from src/go_inspector/bin/bsd-new.LICENSE rename to lib-src/bsd-new.LICENSE diff --git a/src/go_inspector/bin/exp-89c5cff77bcbacf5bc89bd83d69d4fa8c80cf8af.tar.gz.ABOUT b/lib-src/exp-89c5cff77bcbacf5bc89bd83d69d4fa8c80cf8af.tar.gz.ABOUT similarity index 100% rename from src/go_inspector/bin/exp-89c5cff77bcbacf5bc89bd83d69d4fa8c80cf8af.tar.gz.ABOUT rename to lib-src/exp-89c5cff77bcbacf5bc89bd83d69d4fa8c80cf8af.tar.gz.ABOUT diff --git a/src/go_inspector/bin/google-patent-license-golang.LICENSE b/lib-src/google-patent-license-golang.LICENSE similarity index 100% rename from src/go_inspector/bin/google-patent-license-golang.LICENSE rename to lib-src/google-patent-license-golang.LICENSE diff --git a/src/go_inspector/bin/mit.LICENSE b/lib-src/mit.LICENSE similarity index 100% rename from src/go_inspector/bin/mit.LICENSE rename to lib-src/mit.LICENSE diff --git a/src/go_inspector/bin/orderedmap-1.4.0.tar.gz.ABOUT b/lib-src/orderedmap-1.4.0.tar.gz.ABOUT similarity index 100% rename from src/go_inspector/bin/orderedmap-1.4.0.tar.gz.ABOUT rename to lib-src/orderedmap-1.4.0.tar.gz.ABOUT diff --git a/src/go_inspector/bin/GoReSym.zip.sums b/src/go_inspector/bin/GoReSym.zip.sums deleted file mode 100644 index 06870eb..0000000 --- a/src/go_inspector/bin/GoReSym.zip.sums +++ /dev/null @@ -1 +0,0 @@ -24c50fc10f169d36814b43da006bb5cd313baa04fcf94af99c730ef56eee62fe GoReSym.zip diff --git a/src/go_inspector/bin/GoReSym_lin.ABOUT b/src/go_inspector/bin/GoReSym_lin.ABOUT deleted file mode 100644 index 8eae270..0000000 --- a/src/go_inspector/bin/GoReSym_lin.ABOUT +++ /dev/null @@ -1,10 +0,0 @@ -about_resource: GoReSym_lin -name: goresym -version: 011fc7d5c9c2362871dfe88a1295a43ee6b4d273 -download_url: https://github.com/pombredanne/GoReSym/archive/011fc7d5c9c2362871dfe88a1295a43ee6b4d273.zip -package_url: pkg:github/pombredanne/GoReSym@011fc7d5c9c2362871dfe88a1295a43ee6b4d273 -copyright: Copyright (c) 2022 MANDIANT -license_expression: mit -license_text_file: GoReSym_lin.LICENSE -notes: this is a patched version until https://github.com/mandiant/GoReSym/pull/60 is accepted - and merged. \ No newline at end of file diff --git a/src/go_inspector/bin/GoReSym_lin.results.json b/src/go_inspector/bin/GoReSym_lin.results.json deleted file mode 100644 index 789f00b..0000000 --- a/src/go_inspector/bin/GoReSym_lin.results.json +++ /dev/null @@ -1,510 +0,0 @@ -{ - "Version": "1.22.2", - "BuildId": "xk27Y526A8g_YRPVa82f/vAap-VPEX_t4ee1cBDe9/LpHfOFL0szpY0FWn2vFH/hrnwFxHs0QuRg5Cr6oka", - "Arch": "amd64", - "OS": "linux", - "TabMeta": { - "VA": 6318848, - "Version": "1.20", - "Endianess": "LittleEndian", - "CpuQuantum": 1, - "CpuQuantumStr": "x86/x64/wasm", - "PointerSize": 8 - }, - "ModuleMeta": { - "VA": 7163264, - "TextVA": 4198400, - "Types": 5689344, - "ETypes": 6313869, - "Typelinks": { - "Data": 6313888, - "Len": 1013, - "Capacity": 1013 - }, - "ITablinks": { - "Data": 6317952, - "Len": 111, - "Capacity": 111 - }, - "LegacyTypes": { - "Data": 0, - "Len": 0, - "Capacity": 0 - } - }, - "Types": null, - "Interfaces": null, - "BuildInfo": { - "GoVersion": "go1.22.2", - "Path": "github.com/mandiant/GoReSym", - "Main": { - "Path": "github.com/mandiant/GoReSym", - "Version": "(devel)", - "Sum": "", - "Replace": null - }, - "Deps": [ - { - "Path": "github.com/elliotchance/orderedmap", - "Version": "v1.4.0", - "Sum": "h1:wZtfeEONCbx6in1CZyE6bELEt/vFayMvsxqI5SgsR+A=", - "Replace": null - }, - { - "Path": "golang.org/x/arch", - "Version": "v0.0.0-20201008161808-52c3e6f60cff", - "Sum": "h1:XmKBi9R6duxOB3lfc72wyrwiOY7X2Jl1wuI+RFOyMDE=", - "Replace": null - }, - { - "Path": "golang.org/x/exp", - "Version": "v0.0.0-20230811145659-89c5cff77bcb", - "Sum": "h1:mIKbk8weKhSeLH2GmUTrvx8CjkyJmnU1wFmg59CUjFA=", - "Replace": null - }, - { - "Path": "rsc.io/binaryregexp", - "Version": "v0.2.0", - "Sum": "h1:HfqmD5MEmC0zvwBuF187nq9mdnXjXsSivRiXN7SmRkE=", - "Replace": null - } - ], - "Settings": [ - { - "Key": "-buildmode", - "Value": "exe" - }, - { - "Key": "-compiler", - "Value": "gc" - }, - { - "Key": "DefaultGODEBUG", - "Value": "httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1" - }, - { - "Key": "CGO_ENABLED", - "Value": "1" - }, - { - "Key": "CGO_CFLAGS", - "Value": "" - }, - { - "Key": "CGO_CPPFLAGS", - "Value": "" - }, - { - "Key": "CGO_CXXFLAGS", - "Value": "" - }, - { - "Key": "CGO_LDFLAGS", - "Value": "" - }, - { - "Key": "GOARCH", - "Value": "amd64" - }, - { - "Key": "GOOS", - "Value": "linux" - }, - { - "Key": "GOAMD64", - "Value": "v1" - }, - { - "Key": "vcs", - "Value": "git" - }, - { - "Key": "vcs.revision", - "Value": "011fc7d5c9c2362871dfe88a1295a43ee6b4d273" - }, - { - "Key": "vcs.time", - "Value": "2024-08-01T09:54:33Z" - }, - { - "Key": "vcs.modified", - "Value": "false" - } - ] - }, - "Files": [ - "/usr/lib/go-1.22/src/runtime/sema.go", - "/usr/lib/go-1.22/src/runtime/mfixalloc.go", - "/usr/lib/go-1.22/src/internal/bytealg/index_amd64.go", - "/usr/lib/go-1.22/src/runtime/mpagealloc_64bit.go", - "/usr/lib/go-1.22/src/internal/bytealg/count_native.go", - "/usr/lib/go-1.22/src/strconv/bytealg.go", - "/usr/lib/go-1.22/src/runtime/internal/syscall/syscall_linux.go", - "/home/pombreda/w421/GoReSym/debug/elf/elf.go", - "/usr/lib/go-1.22/src/debug/pe/section.go", - "/usr/lib/go-1.22/src/internal/zstd/xxhash.go", - "/home/pombreda/w421/GoReSym/io/fs/fs.go", - "/usr/lib/go-1.22/src/runtime/mgc.go", - "/home/pombreda/w421/GoReSym/debug/dwarf/attr_string.go", - "/usr/lib/go-1.22/src/runtime/map_fast64.go", - "/usr/lib/go-1.22/src/runtime/iface.go", - "/usr/lib/go-1.22/src/time/zoneinfo_read.go", - "/usr/lib/go-1.22/src/runtime/trace2status.go", - "/usr/lib/go-1.22/src/math/abs.go", - "/home/pombreda/go/pkg/mod/rsc.io/binaryregexp@v0.2.0/regexp.go", - "/usr/lib/go-1.22/src/runtime/cpuflags_amd64.go", - "/usr/lib/go-1.22/src/runtime/write_err.go", - "/usr/lib/go-1.22/src/runtime/panic.go", - "/usr/lib/go-1.22/src/runtime/trace2region.go", - "/usr/lib/go-1.22/src/container/list/list.go", - "/usr/lib/go-1.22/src/os/types_unix.go", - "/usr/lib/go-1.22/src/runtime/histogram.go", - "/usr/lib/go-1.22/src/runtime/lock_futex.go", - "/home/pombreda/go/pkg/mod/golang.org/x/arch@v0.0.0-20201008161808-52c3e6f60cff/arm/armasm/decode.go", - "/usr/lib/go-1.22/src/runtime/memmove_amd64.s", - "/usr/lib/go-1.22/src/internal/chacha8rand/chacha8_amd64.s", - "/usr/lib/go-1.22/src/time/time.go", - "/usr/lib/go-1.22/src/os/stat_linux.go", - "/usr/lib/go-1.22/src/unicode/tables.go", - "/home/pombreda/w421/GoReSym/debug/dwarf/line.go", - "/usr/lib/go-1.22/src/runtime/mranges.go", - "/home/pombreda/w421/GoReSym/objfile/macho.go", - "/usr/lib/go-1.22/src/runtime/trace2cpu.go", - "/home/pombreda/w421/GoReSym/debug/macho/file.go", - "/usr/lib/go-1.22/src/crypto/sha256/sha256block_amd64.go", - "/usr/lib/go-1.22/src/runtime/mcache.go", - "/usr/lib/go-1.22/src/runtime/mem.go", - "/usr/lib/go-1.22/src/unicode/digit.go", - "/usr/lib/go-1.22/src/runtime/internal/atomic/types.go", - "/usr/lib/go-1.22/src/sort/slice.go", - "/home/pombreda/w421/GoReSym/objfile/goobj.go", - "/home/pombreda/w421/GoReSym/debug/pe/section.go", - "/usr/lib/go-1.22/src/strconv/itoa.go", - "/usr/lib/go-1.22/src/syscall/rlimit.go", - "/usr/lib/go-1.22/src/unicode/utf8/utf8.go", - "/usr/lib/go-1.22/src/crypto/sha1/sha1block_amd64.s", - "/usr/lib/go-1.22/src/runtime/mgclimit.go", - "/usr/lib/go-1.22/src/os/file_posix.go", - "/usr/lib/go-1.22/src/internal/bisect/bisect.go", - "/usr/lib/go-1.22/src/runtime/pagetrace_off.go", - "/usr/lib/go-1.22/src/runtime/mpagealloc.go", - "/usr/lib/go-1.22/src/debug/pe/string.go", - "/home/pombreda/w421/GoReSym/main.go", - "/usr/lib/go-1.22/src/runtime/trace2buf.go", - "/usr/lib/go-1.22/src/runtime/netpoll.go", - "/usr/lib/go-1.22/src/runtime/mfinal.go", - "/usr/lib/go-1.22/src/bytes/buffer.go", - "/usr/lib/go-1.22/src/fmt/format.go", - "/usr/lib/go-1.22/src/internal/fmtsort/sort.go", - "/usr/lib/go-1.22/src/runtime/atomic_pointer.go", - "/usr/lib/go-1.22/src/runtime/metrics.go", - "/usr/lib/go-1.22/src/internal/abi/switch.go", - "/usr/lib/go-1.22/src/internal/cpu/cpu_x86.s", - "/usr/lib/go-1.22/src/internal/bytealg/index_amd64.s", - "/home/pombreda/go/pkg/mod/rsc.io/binaryregexp@v0.2.0/syntax/perl_groups.go", - "/usr/lib/go-1.22/src/runtime/vdso_linux.go", - "/usr/lib/go-1.22/src/bytes/reader.go", - "/home/pombreda/go/pkg/mod/rsc.io/binaryregexp@v0.2.0/syntax/prog.go", - "/usr/lib/go-1.22/src/strconv/quote.go", - "/usr/lib/go-1.22/src/crypto/internal/boring/sig/sig_amd64.s", - "/usr/lib/go-1.22/src/runtime/mspanset.go", - "/home/pombreda/go/pkg/mod/golang.org/x/arch@v0.0.0-20201008161808-52c3e6f60cff/arm/armasm/gnu.go", - "/usr/lib/go-1.22/src/runtime/mbarrier.go", - "/home/pombreda/go/pkg/mod/rsc.io/binaryregexp@v0.2.0/onepass.go", - "/usr/lib/go-1.22/src/encoding/json/scanner.go", - "/usr/lib/go-1.22/src/math/bits/bits.go", - "/usr/lib/go-1.22/src/internal/zstd/fse.go", - "/usr/lib/go-1.22/src/internal/bytealg/bytealg.go", - "/home/pombreda/go/pkg/mod/rsc.io/binaryregexp@v0.2.0/exec.go", - "/usr/lib/go-1.22/src/crypto/sha256/sha256block_amd64.s", - "/usr/lib/go-1.22/src/strings/strings.go", - "/usr/lib/go-1.22/src/bytes/bytes.go", - "/usr/lib/go-1.22/src/runtime/runtime.go", - "/usr/lib/go-1.22/src/compress/flate/inflate.go", - "/usr/lib/go-1.22/src/runtime/error.go", - "/home/pombreda/w421/GoReSym/debug/pe/string.go", - "/usr/lib/go-1.22/src/strconv/decimal.go", - "/usr/lib/go-1.22/src/runtime/runtime2.go", - "/usr/lib/go-1.22/src/math/unsafe.go", - "/usr/lib/go-1.22/src/debug/pe/symbol.go", - "/usr/lib/go-1.22/src/slices/sort.go", - "/usr/lib/go-1.22/src/runtime/time_nofake.go", - "/usr/lib/go-1.22/src/internal/chacha8rand/chacha8.go", - "/usr/lib/go-1.22/src/bufio/bufio.go", - "/home/pombreda/go/pkg/mod/golang.org/x/exp@v0.0.0-20230811145659-89c5cff77bcb/slices/slices.go", - "/usr/lib/go-1.22/src/os/error.go", - "/usr/lib/go-1.22/src/runtime/nbpipe_pipe2.go", - "/usr/lib/go-1.22/src/time/format_rfc3339.go", - "/usr/lib/go-1.22/src/os/path_unix.go", - "/usr/lib/go-1.22/src/unicode/letter.go", - "/usr/lib/go-1.22/src/runtime/stkframe.go", - "/usr/lib/go-1.22/src/reflect/type.go", - "/usr/lib/go-1.22/src/time/zoneinfo.go", - "/usr/lib/go-1.22/src/runtime/mcheckmark.go", - "/usr/lib/go-1.22/src/runtime/stubs.go", - "/usr/lib/go-1.22/src/internal/itoa/itoa.go", - "/home/pombreda/w421/GoReSym/objfile/disasm.go", - "/usr/lib/go-1.22/src/crypto/sha1/sha1block_amd64.go", - "/home/pombreda/w421/GoReSym/debug/pe/symbol.go", - "/usr/lib/go-1.22/src/runtime/slice.go", - "/usr/lib/go-1.22/src/runtime/exithook.go", - "/home/pombreda/w421/GoReSym/debug/dwarf/type.go", - "/home/pombreda/go/pkg/mod/rsc.io/binaryregexp@v0.2.0/backtrack.go", - "/usr/lib/go-1.22/src/compress/zlib/reader.go", - "/usr/lib/go-1.22/src/reflect/float32reg_generic.go", - "/usr/lib/go-1.22/src/runtime/chan.go", - "/home/pombreda/go/pkg/mod/golang.org/x/arch@v0.0.0-20201008161808-52c3e6f60cff/x86/x86asm/gnu.go", - "/home/pombreda/w421/GoReSym/debug/dwarf/tag_string.go", - "/usr/lib/go-1.22/src/runtime/mgcsweep.go", - "/usr/lib/go-1.22/src/runtime/mgcstack.go", - "/usr/lib/go-1.22/src/os/file_open_unix.go", - "/usr/lib/go-1.22/src/internal/godebug/godebug.go", - "/home/pombreda/w421/GoReSym/debug/gosym/symtab.go", - "/usr/lib/go-1.22/src/runtime/mpagecache.go", - "/usr/lib/go-1.22/src/runtime/stubs2.go", - "/home/pombreda/w421/GoReSym/saferio/io.go", - "/usr/lib/go-1.22/src/internal/abi/type.go", - "/usr/lib/go-1.22/src/reflect/abi.go", - "/usr/lib/go-1.22/src/runtime/float.go", - "/usr/lib/go-1.22/src/runtime/sys_x86.go", - "/usr/lib/go-1.22/src/time/format.go", - "/usr/lib/go-1.22/src/runtime/sys_linux_amd64.s", - "/usr/lib/go-1.22/src/encoding/json/fold.go", - "/usr/lib/go-1.22/src/internal/saferio/io.go", - "/usr/lib/go-1.22/src/runtime/profbuf.go", - "/usr/lib/go-1.22/src/runtime/trace2.go", - "/usr/lib/go-1.22/src/runtime/security_unix.go", - "/usr/lib/go-1.22/src/slices/zsortanyfunc.go", - "/usr/lib/go-1.22/src/runtime/mem_linux.go", - "/usr/lib/go-1.22/src/fmt/print.go", - "/usr/lib/go-1.22/src/strings/replace.go", - "/usr/lib/go-1.22/src/debug/macho/macho.go", - "/usr/lib/go-1.22/src/internal/bytealg/equal_amd64.s", - "/usr/lib/go-1.22/src/encoding/binary/binary.go", - "/usr/lib/go-1.22/src/runtime/retry.go", - "/usr/lib/go-1.22/src/runtime/signal_linux_amd64.go", - "/usr/lib/go-1.22/src/runtime/symtabinl.go", - "/usr/lib/go-1.22/src/runtime/lfstack.go", - "/usr/lib/go-1.22/src/runtime/extern.go", - "/usr/lib/go-1.22/src/compress/flate/huffman_bit_writer.go", - "/usr/lib/go-1.22/src/runtime/typekind.go", - "/usr/lib/go-1.22/src/internal/syscall/unix/fcntl_unix.go", - "/usr/lib/go-1.22/src/syscall/syscall_linux.go", - "/usr/lib/go-1.22/src/runtime/signal_amd64.go", - "/usr/lib/go-1.22/src/runtime/alg.go", - "/usr/lib/go-1.22/src/internal/syscall/unix/nonblocking_unix.go", - "/usr/lib/go-1.22/src/runtime/unsafe.go", - "/usr/lib/go-1.22/src/sync/waitgroup.go", - "/usr/lib/go-1.22/src/runtime/mheap.go", - "/usr/lib/go-1.22/src/runtime/map.go", - "/usr/lib/go-1.22/src/runtime/duff_amd64.s", - "/usr/lib/go-1.22/src/regexp/syntax/perl_groups.go", - "/usr/lib/go-1.22/src/strconv/atoi.go", - "/usr/lib/go-1.22/src/runtime/type.go", - "/usr/lib/go-1.22/src/errors/wrap.go", - "/home/pombreda/go/pkg/mod/rsc.io/binaryregexp@v0.2.0/syntax/parse.go", - "/usr/lib/go-1.22/src/syscall/env_unix.go", - "/usr/lib/go-1.22/src/internal/poll/fd_unixjs.go", - "/usr/lib/go-1.22/src/runtime/lockrank.go", - "/usr/lib/go-1.22/src/runtime/lockrank_off.go", - "/usr/lib/go-1.22/src/runtime/map_fast32.go", - "/usr/lib/go-1.22/src/sync/atomic/value.go", - "/usr/lib/go-1.22/src/internal/cpu/cpu_x86.go", - "/usr/lib/go-1.22/src/internal/zstd/literals.go", - "/usr/lib/go-1.22/src/path/filepath/path.go", - "/usr/lib/go-1.22/src/runtime/asm.s", - "/usr/lib/go-1.22/src/runtime/mgcmark.go", - "/usr/lib/go-1.22/src/runtime/trace2time.go", - "/usr/lib/go-1.22/src/encoding/json/indent.go", - "/usr/lib/go-1.22/src/time/sys_unix.go", - "/usr/lib/go-1.22/src/sync/atomic/type.go", - "/usr/lib/go-1.22/src/internal/reflectlite/value.go", - "/usr/lib/go-1.22/src/syscall/syscall.go", - "/home/pombreda/w421/GoReSym/buildid/note.go", - "/usr/lib/go-1.22/src/encoding/binary/varint.go", - "/usr/lib/go-1.22/src/runtime/cgo_sigaction.go", - "/usr/lib/go-1.22/src/internal/poll/fd_mutex.go", - "/home/pombreda/w421/GoReSym/objfile/elf.go", - "/usr/lib/go-1.22/src/hash/adler32/adler32.go", - "/usr/lib/go-1.22/src/reflect/value.go", - "/home/pombreda/w421/GoReSym/debug/elf/file.go", - "/usr/lib/go-1.22/src/runtime/cgocall.go", - "/usr/lib/go-1.22/src/runtime/traceback.go", - "/home/pombreda/w421/GoReSym/objfile/objfile.go", - "/usr/lib/go-1.22/src/encoding/json/tags.go", - "/usr/lib/go-1.22/src/runtime/preempt.go", - "/usr/lib/go-1.22/src/runtime/time.go", - "/usr/lib/go-1.22/src/sort/sort.go", - "/usr/lib/go-1.22/src/runtime/mbitmap_allocheaders.go", - "/usr/lib/go-1.22/src/runtime/debug.go", - "/usr/lib/go-1.22/src/internal/poll/fd_unix.go", - "/home/pombreda/w421/GoReSym/debug/gosym/pclntab.go", - "/usr/lib/go-1.22/src/internal/cpu/cpu.go", - "/usr/lib/go-1.22/src/internal/bytealg/compare_amd64.s", - "/home/pombreda/go/pkg/mod/golang.org/x/arch@v0.0.0-20201008161808-52c3e6f60cff/arm64/arm64asm/plan9x.go", - "/usr/lib/go-1.22/src/time/zoneinfo_goroot.go", - "/usr/lib/go-1.22/src/runtime/sigqueue.go", - "/home/pombreda/w421/GoReSym/objfile/patterns.go", - "/usr/lib/go-1.22/src/cmp/cmp.go", - "/usr/lib/go-1.22/src/internal/testlog/exit.go", - "/usr/lib/go-1.22/src/crypto/internal/boring/notboring.go", - "/usr/lib/go-1.22/src/runtime/trace2string.go", - "/usr/lib/go-1.22/src/runtime/mprof.go", - "/usr/lib/go-1.22/src/sort/zsortinterface.go", - "/home/pombreda/go/pkg/mod/golang.org/x/arch@v0.0.0-20201008161808-52c3e6f60cff/x86/x86asm/intel.go", - "/usr/lib/go-1.22/src/runtime/mstats.go", - "/home/pombreda/go/pkg/mod/rsc.io/binaryregexp@v0.2.0/syntax/compile.go", - "/usr/lib/go-1.22/src/fmt/errors.go", - "/usr/lib/go-1.22/src/strings/builder.go", - "/usr/lib/go-1.22/src/internal/bytealg/lastindexbyte_generic.go", - "/usr/lib/go-1.22/src/internal/zstd/window.go", - "/usr/lib/go-1.22/src/io/io.go", - "/usr/lib/go-1.22/src/runtime/env_posix.go", - "/usr/lib/go-1.22/src/runtime/rand.go", - "/usr/lib/go-1.22/src/runtime/map_faststr.go", - "/usr/lib/go-1.22/src/slices/zsortordered.go", - "/usr/lib/go-1.22/src/sync/pool.go", - "/usr/lib/go-1.22/src/runtime/cgo_mmap.go", - "/usr/lib/go-1.22/src/runtime/trace2runtime.go", - "/usr/lib/go-1.22/src/internal/zstd/bits.go", - "/usr/lib/go-1.22/src/runtime/trace2stack.go", - "/usr/lib/go-1.22/src/runtime/mgcwork.go", - "/usr/lib/go-1.22/src/os/stat_unix.go", - "\u003cautogenerated\u003e", - "/usr/lib/go-1.22/src/runtime/malloc.go", - "/usr/lib/go-1.22/src/runtime/msize_allocheaders.go", - "/usr/lib/go-1.22/src/runtime/proc.go", - "/usr/lib/go-1.22/src/runtime/defs_linux_amd64.go", - "/usr/lib/go-1.22/src/debug/macho/file.go", - "/home/pombreda/w421/GoReSym/buildinfo/buildinfo.go", - "/home/pombreda/w421/GoReSym/objfile/pe.go", - "/usr/lib/go-1.22/src/io/fs/fs.go", - "/usr/lib/go-1.22/src/runtime/fastlog2.go", - "/usr/lib/go-1.22/src/runtime/select.go", - "/usr/lib/go-1.22/src/internal/poll/errno_unix.go", - "/usr/lib/go-1.22/src/sync/once.go", - "/home/pombreda/w421/GoReSym/debug/dwarf/class_string.go", - "/usr/lib/go-1.22/src/internal/godebugs/table.go", - "/home/pombreda/w421/GoReSym/debug/elf/reader.go", - "/usr/lib/go-1.22/src/sync/poolqueue.go", - "/usr/lib/go-1.22/src/internal/reflectlite/swapper.go", - "/usr/lib/go-1.22/src/encoding/json/decode.go", - "/usr/lib/go-1.22/src/syscall/exec_unix.go", - "/home/pombreda/w421/GoReSym/debug/dwarf/entry.go", - "/usr/lib/go-1.22/src/runtime/os_linux.go", - "/usr/lib/go-1.22/src/internal/zstd/zstd.go", - "/usr/lib/go-1.22/src/unicode/graphic.go", - "/usr/lib/go-1.22/src/runtime/string.go", - "/home/pombreda/w421/GoReSym/buildid/buildid.go", - "/usr/lib/go-1.22/src/runtime/fds_unix.go", - "/usr/lib/go-1.22/src/strconv/ftoa.go", - "/usr/lib/go-1.22/src/runtime/asm_amd64.s", - "/home/pombreda/go/pkg/mod/golang.org/x/arch@v0.0.0-20201008161808-52c3e6f60cff/ppc64/ppc64asm/decode.go", - "/home/pombreda/w421/GoReSym/debug/macho/macho.go", - "/usr/lib/go-1.22/src/runtime/symtab.go", - "/usr/lib/go-1.22/src/runtime/pinner.go", - "/usr/lib/go-1.22/src/runtime/arena.go", - "/usr/lib/go-1.22/src/crypto/crypto.go", - "/home/pombreda/w421/GoReSym/objfile/internals.go", - "/usr/lib/go-1.22/src/debug/dwarf/entry.go", - "/usr/lib/go-1.22/src/runtime/mgcpacer.go", - "/usr/lib/go-1.22/src/compress/flate/dict_decoder.go", - "/home/pombreda/go/pkg/mod/golang.org/x/arch@v0.0.0-20201008161808-52c3e6f60cff/ppc64/ppc64asm/plan9.go", - "/usr/lib/go-1.22/src/regexp/regexp.go", - "/usr/lib/go-1.22/src/runtime/preempt_amd64.s", - "/home/pombreda/go/pkg/mod/golang.org/x/arch@v0.0.0-20201008161808-52c3e6f60cff/arm64/arm64asm/decode.go", - "/usr/lib/go-1.22/src/internal/abi/abi.go", - "/usr/lib/go-1.22/src/syscall/syscall_unix.go", - "/home/pombreda/go/pkg/mod/golang.org/x/arch@v0.0.0-20201008161808-52c3e6f60cff/ppc64/ppc64asm/tables.go", - "/usr/lib/go-1.22/src/crypto/sha256/sha256.go", - "/usr/lib/go-1.22/src/errors/errors.go", - "/usr/lib/go-1.22/src/runtime/internal/sys/intrinsics.go", - "/usr/lib/go-1.22/src/internal/bytealg/indexbyte_amd64.s", - "/home/pombreda/w421/GoReSym/objfile/scanner.go", - "/usr/lib/go-1.22/src/os/types.go", - "/home/pombreda/go/pkg/mod/golang.org/x/arch@v0.0.0-20201008161808-52c3e6f60cff/x86/x86asm/inst.go", - "/home/pombreda/w421/GoReSym/bio/buf_mmap.go", - "/usr/lib/go-1.22/src/runtime/rwmutex.go", - "/usr/lib/go-1.22/src/runtime/mcentral.go", - "/usr/lib/go-1.22/src/internal/testlog/log.go", - "/usr/lib/go-1.22/src/encoding/base64/base64.go", - "/usr/lib/go-1.22/src/time/zoneinfo_unix.go", - "/home/pombreda/go/pkg/mod/github.com/elliotchance/orderedmap@v1.4.0/element.go", - "/home/pombreda/w421/GoReSym/bio/buf.go", - "/usr/lib/go-1.22/src/runtime/os_linux_generic.go", - "/usr/lib/go-1.22/src/debug/elf/file.go", - "/usr/lib/go-1.22/src/syscall/zsyscall_linux_amd64.go", - "/usr/lib/go-1.22/src/runtime/debugcall.go", - "/usr/lib/go-1.22/src/strconv/ftoaryu.go", - "/usr/lib/go-1.22/src/math/rand/rand.go", - "/usr/lib/go-1.22/src/debug/macho/fat.go", - "/usr/lib/go-1.22/src/slices/slices.go", - "/usr/lib/go-1.22/src/sync/mutex.go", - "/usr/lib/go-1.22/src/flag/flag.go", - "/usr/lib/go-1.22/src/debug/elf/elf.go", - "/usr/lib/go-1.22/src/sort/sort_impl_go121.go", - "/usr/lib/go-1.22/src/runtime/print.go", - "/usr/lib/go-1.22/src/internal/zstd/huff.go", - "/usr/lib/go-1.22/src/os/proc.go", - "/usr/lib/go-1.22/src/internal/reflectlite/type.go", - "/home/pombreda/w421/GoReSym/goobj/objfile.go", - "/usr/lib/go-1.22/src/reflect/makefunc.go", - "/usr/lib/go-1.22/src/runtime/mbitmap.go", - "/home/pombreda/go/pkg/mod/rsc.io/binaryregexp@v0.2.0/syntax/regexp.go", - "/usr/lib/go-1.22/src/sync/rwmutex.go", - "/usr/lib/go-1.22/src/debug/dwarf/line.go", - "/usr/lib/go-1.22/src/reflect/asm_amd64.s", - "/home/pombreda/w421/GoReSym/debug/dwarf/const.go", - "/usr/lib/go-1.22/src/runtime/rt0_linux_amd64.s", - "/usr/lib/go-1.22/src/os/file_unix.go", - "/usr/lib/go-1.22/src/debug/pe/file.go", - "/home/pombreda/go/pkg/mod/github.com/elliotchance/orderedmap@v1.4.0/orderedmap.go", - "/usr/lib/go-1.22/src/internal/bytealg/count_amd64.s", - "/usr/lib/go-1.22/src/runtime/runtime1.go", - "/usr/lib/go-1.22/src/strconv/atob.go", - "/usr/lib/go-1.22/src/math/exp_amd64.go", - "/usr/lib/go-1.22/src/os/file.go", - "/usr/lib/go-1.22/src/runtime/utf8.go", - "/usr/lib/go-1.22/src/internal/poll/fd_posix.go", - "/home/pombreda/w421/GoReSym/runtime/debug/mod.go", - "/usr/lib/go-1.22/src/runtime/mgcscavenge.go", - "/usr/lib/go-1.22/src/sync/map.go", - "/home/pombreda/w421/GoReSym/archive/archive.go", - "/usr/lib/go-1.22/src/runtime/trace2event.go", - "/usr/lib/go-1.22/src/internal/zstd/block.go", - "/usr/lib/go-1.22/src/sync/runtime.go", - "/home/pombreda/w421/GoReSym/sys/arch.go", - "/usr/lib/go-1.22/src/os/dir_unix.go", - "/usr/lib/go-1.22/src/debug/plan9obj/file.go", - "/home/pombreda/w421/GoReSym/goobj/builtin.go", - "/usr/lib/go-1.22/src/crypto/sha1/sha1.go", - "/usr/lib/go-1.22/src/runtime/mwbbuf.go", - "/usr/lib/go-1.22/src/debug/elf/reader.go", - "/usr/lib/go-1.22/src/internal/poll/fd_poll_runtime.go", - "/usr/lib/go-1.22/src/strings/compare.go", - "/usr/lib/go-1.22/src/runtime/tagptr_64bit.go", - "/home/pombreda/w421/GoReSym/xcoff/file.go", - "/home/pombreda/go/pkg/mod/rsc.io/binaryregexp@v0.2.0/syntax/simplify.go", - "/home/pombreda/w421/GoReSym/debug/pe/file.go", - "/usr/lib/go-1.22/src/runtime/netpoll_epoll.go", - "/usr/lib/go-1.22/src/log/log.go", - "/usr/lib/go-1.22/src/runtime/stack.go", - "/usr/lib/go-1.22/src/runtime/hash64.go", - "/usr/lib/go-1.22/src/encoding/json/encode.go", - "/usr/lib/go-1.22/src/compress/flate/huffman_code.go", - "/usr/lib/go-1.22/src/runtime/mpallocbits.go", - "/usr/lib/go-1.22/src/runtime/internal/syscall/asm_linux_amd64.s", - "/usr/lib/go-1.22/src/sort/zsortfunc.go", - "/usr/lib/go-1.22/src/math/rand/rng.go", - "/usr/lib/go-1.22/src/runtime/trace2map.go", - "/usr/lib/go-1.22/src/runtime/memclr_amd64.s", - "/usr/lib/go-1.22/src/debug/dwarf/attr_string.go", - "/usr/lib/go-1.22/src/runtime/cpuprof.go", - "/usr/lib/go-1.22/src/internal/poll/fd.go", - "/usr/lib/go-1.22/src/runtime/time_linux_amd64.s", - "/usr/lib/go-1.22/src/math/bits.go", - "/usr/lib/go-1.22/src/runtime/signal_unix.go" - ], - "UserFunctions": null, - "StdFunctions": null -} diff --git a/src/go_inspector/bin/update.sh b/src/go_inspector/bin/update.sh deleted file mode 100755 index 2451090..0000000 --- a/src/go_inspector/bin/update.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright (c) nexB Inc. and others. All rights reserved. -# SPDX-License-Identifier: Apache-2.0 -# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -# See https://github.com/nexB/go-inspector for support or download. -# See https://aboutcode.org for more information about nexB OSS projects. - -# Use this script to update GoReSym binary to a new version - -set +e -GORESYM_VERSION=v2.7.2 - -rm -rf GoReSym.zip goresymzip - -wget https://github.com/mandiant/GoReSym/releases/download/$GORESYM_VERSION/GoReSym.zip - -# recompute the sha256 by hand with: -# sha256sum GoReSym.zip > GoReSym.zip.sums -sha256sum -c GoReSym.zip.sums - -unzip -qd goresymzip GoReSym.zip -mv goresymzip/GoReSym_lin . -chmod u+x GoReSym_lin -strip GoReSym_lin - -rm -rf GoReSym.zip goresymzip - -# finally run a binary analysis on this GoReSym executable, diff and update the ABOUT files accordingly -./GoReSym_lin -p -no-functions ./GoReSym_lin > GoReSym_lin.results.json \ No newline at end of file