Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • e32b42b
  • /
  • test
  • /
  • Object
  • /
  • objdump-symbol-table.test
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge
swh:1:cnt:8a0f44042d9881ba2773d6d33f100a33c7afbc54
directory badge
swh:1:dir:bcca216e52302883322237b7fdeb2f02010a97b4

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
objdump-symbol-table.test
RUN: llvm-objdump -t %p/Inputs/trivial-object-test.coff-i386 \
RUN:              | FileCheck %s -check-prefix COFF-i386
RUN: llvm-objdump -t %p/Inputs/trivial-object-test.elf-i386 \
RUN:              | FileCheck %s -check-prefix ELF-i386
RUN: llvm-objdump -t %p/Inputs/trivial-object-test.macho-i386 \
RUN:              | FileCheck %s -check-prefix macho-i386

COFF-i386: trivial-object-test.coff-i386:     file format
COFF-i386: SYMBOL TABLE:
COFF-i386: [  0](sec  1)(fl 0x00)(ty   0)(scl   3) (nx 1) 0x00000000 .text
COFF-i386: AUX scnlen 0x24 nreloc 3 nlnno 0 checksum 0x0 assoc 1 comdat 0
COFF-i386: [  2](sec  2)(fl 0x00)(ty   0)(scl   3) (nx 1) 0x00000000 .data
COFF-i386: AUX scnlen 0xd nreloc 0 nlnno 0 checksum 0x0 assoc 2 comdat 0
COFF-i386: [  4](sec  1)(fl 0x00)(ty 200)(scl   2) (nx 0) 0x00000000 _main
COFF-i386: [  5](sec  2)(fl 0x00)(ty   0)(scl   3) (nx 0) 0x00000000 L_.str
COFF-i386: [  6](sec  0)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x00000000 _puts
COFF-i386: [  7](sec  0)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x00000000 _SomeOtherFunction

ELF-i386: trivial-object-test.elf-i386:     file format
ELF-i386: SYMBOL TABLE:
ELF-i386: 00000000 l    df *ABS*  00000000 trivial-object-test.s
ELF-i386: 00000000 l    d  .text  00000000 .text
ELF-i386: 00000024 l    d  .rodata.str1.1 00000000 .rodata.str1.1
ELF-i386: 00000031 l    d  .note.GNU-stack        00000000 .note.GNU-stack
ELF-i386: 00000000 g     F .text  00000024 main
ELF-i386: 00000000         *UND*  00000000 SomeOtherFunction
ELF-i386: 00000000         *UND*  00000000 puts

macho-i386: trivial-object-test.macho-i386:        file format Mach-O 32-bit i386
macho-i386: SYMBOL TABLE:
macho-i386: 00000000 g     F __TEXT,__text  00000024 _main
macho-i386: 00000000         *UND*  00000000 _SomeOtherFunction
macho-i386: 00000000         *UND*  00000000 _puts

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API