Path: blob/master/dep/zydis/include/Zydis/MetaInfo.h
4216 views
/***************************************************************************************************12Zyan Disassembler Library (Zydis)34Original Author : Florian Bernd56* Permission is hereby granted, free of charge, to any person obtaining a copy7* of this software and associated documentation files (the "Software"), to deal8* in the Software without restriction, including without limitation the rights9* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell10* copies of the Software, and to permit persons to whom the Software is11* furnished to do so, subject to the following conditions:12*13* The above copyright notice and this permission notice shall be included in all14* copies or substantial portions of the Software.15*16* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR17* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,18* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE19* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER20* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,21* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE22* SOFTWARE.2324***************************************************************************************************/2526/**27* @file28* @brief29*/3031#ifndef ZYDIS_METAINFO_H32#define ZYDIS_METAINFO_H3334#include <Zydis/Defines.h>3536#ifdef __cplusplus37extern "C" {38#endif3940/* ============================================================================================== */41/* Enums and types */42/* ============================================================================================== */4344#include <Zydis/Generated/EnumInstructionCategory.h>45#include <Zydis/Generated/EnumISASet.h>46#include <Zydis/Generated/EnumISAExt.h>4748/* ============================================================================================== */49/* Exported functions */50/* ============================================================================================== */5152/**53* Returns the specified instruction category string.54*55* @param category The instruction category.56*57* @return The instruction category string or `ZYAN_NULL`, if an invalid category was passed.58*/59ZYDIS_EXPORT const char* ZydisCategoryGetString(ZydisInstructionCategory category);6061/**62* Returns the specified isa-set string.63*64* @param isa_set The isa-set.65*66* @return The isa-set string or `ZYAN_NULL`, if an invalid isa-set was passed.67*/68ZYDIS_EXPORT const char* ZydisISASetGetString(ZydisISASet isa_set);6970/**71* Returns the specified isa-extension string.72*73* @param isa_ext The isa-extension.74*75* @return The isa-extension string or `ZYAN_NULL`, if an invalid isa-extension was passed.76*/77ZYDIS_EXPORT const char* ZydisISAExtGetString(ZydisISAExt isa_ext);7879/* ============================================================================================== */8081#ifdef __cplusplus82}83#endif8485#endif /* ZYDIS_METAINFO_H */868788