ROSE 0.11.145.192
AsmUnparser_compat.h
1/* Old functions for backward compatitility, reimplemented in terms of AsmUnparser. */
2#ifndef ROSE_ASM_UNPARSER_COMPAT_H
3#define ROSE_ASM_UNPARSER_COMPAT_H
4
5#include <featureTests.h>
6#ifdef ROSE_ENABLE_BINARY_ANALYSIS
7#include <Rose/BinaryAnalysis/BasicTypes.h>
8#include "AsmUnparser.h"
9
10// [Robb Matzke 2024-10-18]: Deprecated
11ROSE_DLL_API std::string unparseInstruction(SgAsmInstruction*, const Rose::BinaryAnalysis::AsmUnparser::LabelMap *labels = nullptr)
12 ROSE_DEPRECATED("use SgAsmInstruction::toStringNoAddr instead");
13ROSE_DLL_API std::string unparseInstruction(SgAsmInstruction*, const Rose::BinaryAnalysis::AsmUnparser::LabelMap *labels,
14 const Rose::BinaryAnalysis::RegisterDictionaryPtr &registers)
15 ROSE_DEPRECATED("use SgAsmInstruction::toStringNoAddr instead");
16ROSE_DLL_API std::string unparseInstructionWithAddress(SgAsmInstruction*,
17 const Rose::BinaryAnalysis::AsmUnparser::LabelMap *labels = nullptr)
18 ROSE_DEPRECATED("use SgAsmInstruction::toString instead");
19ROSE_DLL_API std::string unparseInstructionWithAddress(SgAsmInstruction*,
20 const Rose::BinaryAnalysis::AsmUnparser::LabelMap *labels,
21 const Rose::BinaryAnalysis::RegisterDictionaryPtr &registers)
22 ROSE_DEPRECATED("use SgAsmInstruction::toString instead");
23ROSE_DLL_API std::string unparseExpression(SgAsmExpression*, const Rose::BinaryAnalysis::AsmUnparser::LabelMap*,
24 const Rose::BinaryAnalysis::RegisterDictionaryPtr&)
25 ROSE_DEPRECATED("use SgAsmExpression::toString instead");
26
27#endif
28#endif
Base class for expressions.
Base class for machine instructions.
The ROSE library.