util: integrate LLVM-based Disassembler
The LLVM Disassembler infrastructure can be used to analyze many kinds of ELF Binaries. For every instruction the used and defined registers is available as well as information about the instruction itself. Change-Id: I9cc89b6c116ceff7b5143a6f179ae31c4e994d2d
This commit is contained in:
19
src/core/util/llvmdisassembler/LLVMtoFailGem5.hpp
Normal file
19
src/core/util/llvmdisassembler/LLVMtoFailGem5.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef __LLVMTOFAILGEM5_HPP_
|
||||
#define __LLVMTOFAILGEM5_HPP_
|
||||
|
||||
#include "LLVMtoFailTranslator.hpp"
|
||||
#include <stdlib.h>
|
||||
#include <iostream>
|
||||
|
||||
namespace fail {
|
||||
|
||||
class LLVMtoFailGem5 : public LLVMtoFailTranslator {
|
||||
|
||||
public:
|
||||
|
||||
LLVMtoFailGem5();
|
||||
|
||||
};
|
||||
} // end of namespace
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user