Files
archived-xed/examples
Mark Charney a20deac7ef examples/xed-disas-elf.c: mmap() limit check before disassembly.
* limit checks on disasm region cut all but 16 of 397 fails
     reported from ELF fuzzer
     https://github.com/intelxed/xed/issues/20

   * symbol table and string table pointer checks remove the rest.

Change-Id: I712f613dca5fecfe94082a3d1b6b06b142a0b6bc
(cherry picked from commit 9597d6b97c9b54ca51bc2aabfb3db23d87e4d461)
2016-12-23 10:33:32 -05:00
..
2016-12-16 16:09:38 -05:00
2016-12-16 16:09:38 -05:00
2016-12-16 16:09:38 -05:00
2016-12-16 16:09:38 -05:00
2016-12-16 16:09:38 -05:00
2016-12-16 16:09:38 -05:00
2016-12-16 16:09:38 -05:00
2016-12-16 16:09:38 -05:00


To build the examples, a relatively recent version of python 2.7 is required.

================================
STATIC LIBRARY XED BUILD:
================================

  Linux or Mac:

    % ./mfile.py

  Windows:

   % C:/python27/python mfile.py

================================
DYNAMIC  LIBRARY XED BUILD:
================================

If you have a a shared-object (or DLL build on windows) you must also include
"--shared" on the command line:

  Linux or Mac:

    % ./mfile.py --shared

  Windows:

   % C:/python27/python mfile.py --shared
 
Add "--help" (no quotes) for more build options.