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:
-
xed.cpp: a decoder, encoder, image file reader, etc.
-
xed-ex1.cpp: a simple decoder that prints the decode data structure
-
xed-ex2.cpp: a simple decoder with different disassmebly output formats
-
xed-ex3.cpp: an encoder (subset of the xed command line tool). Documented with "xed" on the XED command interface page.
C examples:
-
xed-ex4.c: a C version of the decoder example (xed-ex2).
The examples are described in the following subsections:
Generated on Wed Jan 21 02:18:32 2015 for XED by
1.5.1-p1