Loading CodeΒΆ

The basic tutorial covers loading code from a raw byte stream. SmallWorld also supports loading and linking several common object file formats.

  • Loading an ELF
    • Using the ELF Loader
    • Finding the entrypoint
    • Adding Bounds
    • Putting it all together
  • Loading a PE
    • Using the PE loader
    • Finding main()
    • Stubbing out the runtime
    • Putting it all together
  • Loading a core dump
    • Loading a core dump
    • Applying registers
    • Avoiding the trap
      • Stepping past the trap
      • Removing the trap
    • Putting it all together
    • Handling missing segments
    • Known Limitations
  • Loading a VXWorks image
    • Using the VXWorks loader
  • Linking an ELF
    • Specifying dynamic dependencies
    • Loading multiple ELFs
    • Linking ELFs
    • Finding main()
    • Putting it all together
  • Linking a PE
    • Specifying dynamic dependencies
    • Loading multiple PEs
    • Linking PEs
    • Putting it all together

SmallWorld

Navigation

Contents:

  • Getting Started
  • Concepts
  • Tutorials
    • Mapping Memory
    • Loading Code
    • Local Types and the Heap
    • Modeling and Hooking
    • Analyses
    • Fuzzing
  • Reference
  • Contributing
  • About

Related Topics

  • Documentation overview
    • Tutorials
      • Previous: Mapping Memory
      • Next: Loading an ELF
©1980, MIT Lincoln Laboratory.