/extra/elf/nm/nm-docs.factor
http://github.com/abeaumont/factor · Factor · 23 lines · 17 code · 4 blank · 2 comment · 0 complexity · 4b8bc9c551f343d1299759bd325ab374 MD5 · raw file
- ! Copyright (C) 2010 Erik Charlebois.
- ! See http://factorcode.org/license.txt for BSD license.
- USING: elf help.markup help.syntax ;
- IN: elf.nm
- HELP: elf-nm
- { $values
- { "path" "a pathname string" }
- }
- { $description "Prints information about the symbols in the ELF object at the given path." } ;
- HELP: print-symbol
- { $values
- { "sections" "sequence of section" } { "symbol" symbol }
- }
- { $description "Prints the value, section and name of the given symbol." } ;
- ARTICLE: "elf.nm" "ELF nm"
- "The " { $vocab-link "elf.nm" } " vocab prints the values, sections and names of the symbols in a given ELF file. In an ELF executable or shared library, the symbol values are typically their virtual addresses. In a relocatable ELF object, they are section-relative offsets."
- { $subsections elf-nm }
- ;
- ABOUT: "elf.nm"