PeterJohnson edited this page Jun 24, 2011 · 2 revisions

The Yasm "Core" Library: Libyasm

Libyasm provides all of the core functionality for manipulating machine instructions and object file constructs such as symbol tables and sections. Its functions are relatively well-documented through the use of Doxygen, and online references generated by Doxygen are available from ProgrammerReferences. Libyasm is written in portable ANSI C.

Major provided functionality:

  • LoadableModules interfaces
  • Bytecode core and common bytecodes (declare data, reserve data, align)
  • Error and warning reporting
  • Complex expression handling
  • Endian-sensitive read and write
  • Large integer support
  • Floating point support
  • Symbol table
  • Section (or segment) handling
  • Virtual line mapping to source line mapping
  • Core types and utility functions