Examples of using XED

The source code for the examples is in the "examples" subdirectory.

There is a makefile that will build all the examples on linux or windows.

There are several examples:

C++ examples:

  1. xed.cpp: a decoder, encoder, image file reader, etc.
  2. xed-ex1.cpp: a simple decoder that prints the decode data structure
  3. xed-ex2.cpp: a simple decoder with different disassmebly output formats
  4. xed-ex3.cpp: an encoder (subset of the xed command line tool). Documented with "xed" on the XED command interface page.

C examples:

  1. xed-ex4.c: a C version of the decoder example (xed-ex2).

The examples are described in the following subsections:

=======================================================================


Generated on Thu May 15 03:15:09 2008 for XED2 by  doxygen 1.4.6