ROSE 0.11.145.247
SgAsmElfRelocEntry.h
1
2#ifndef ROSE_SgAsmElfRelocEntry_H
3#define ROSE_SgAsmElfRelocEntry_H
4#include <RoseFirst.h>
5#include <Cxx_GrammarDeclarations.h>
6#include <SgAsmExecutableFileFormat.h>
7
8
9
10/* #line 1 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro" */
11
12// WARNING -- GENERATED CODE -- DO NOT MODIFY THIS CODE -- WARNING!
13// This code is automatically generated for each
14// terminal and non-terminal within the defined
15// grammar. There is a simple way to change the
16// code to fix bugs etc. See the ROSE README file
17// for directions.
18
19// tps: (02/22/2010): Adding DLL export requirements
20#include "rosedll.h"
21
22// predeclarations for SgAsmElfRelocEntry
23
24/* #line 25 "../../../src/frontend/SageIII//SgAsmElfRelocEntry.h" */
25/* #line 21031 "/workspace/src/ROSETTA/src/binaryInstruction.C" */
26
27#include <Rose/BinaryAnalysis/Address.h>
28#include <Rose/BinaryAnalysis/ByteOrder.h>
29#include <sageContainer.h>
30
31
32/* #line 13 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro after subst for $PREDECLARATIONS" */
33
34/* #line 14 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro" */
35
36#if !defined(DOCUMENTATION)
37// Class Definition for SgAsmElfRelocEntry
38class ROSE_DLL_API SgAsmElfRelocEntry : public SgAsmExecutableFileFormat
39 {
40 public:
41
42
43/* #line 44 "../../../src/frontend/SageIII//SgAsmElfRelocEntry.h" */
44
45 virtual SgNode* copy ( SgCopyHelp& help) const override;
46// Start of memberFunctionString
47/* #line 21073 "/workspace/src/ROSETTA/src/binaryInstruction.C" */
48
49
50 //----------------------- Boost serialization for SgAsmElfRelocEntry -----------------------
51#ifdef ROSE_ENABLE_BOOST_SERIALIZATION
52private:
53 friend class boost::serialization::access;
54
55 template<class S>
56 void serialize(S &s, const unsigned /*version*/) {
57 debugSerializationBegin("SgAsmElfRelocEntry");
58 s & BOOST_SERIALIZATION_BASE_OBJECT_NVP(SgAsmExecutableFileFormat);
59 s & BOOST_SERIALIZATION_NVP(p_r_offset);
60 s & BOOST_SERIALIZATION_NVP(p_r_addend);
61 s & BOOST_SERIALIZATION_NVP(p_sym);
62 s & BOOST_SERIALIZATION_NVP(p_type);
63 s & BOOST_SERIALIZATION_NVP(p_extra);
64 debugSerializationEnd("SgAsmElfRelocEntry");
65 }
66#endif // ROSE_ENABLE_BOOST_SERIALIZATION
68 // Local types
70public:
72 enum RelocType{
73 // Intel 80386 specific definitions.
74 R_386_NONE =0,
75 R_386_32 =1,
76 R_386_PC32 =2,
77 R_386_GOT32 =3,
78 R_386_PLT32 =4,
79 R_386_COPY =5,
80 R_386_GLOB_DAT =6,
81 R_386_JMP_SLOT =7,
82 R_386_RELATIVE =8,
83 R_386_GOTOFF =9,
84 R_386_GOTPC =10,
85 R_386_32PLT =11,
86 R_386_TLS_TPOFF =14,
87 R_386_TLS_IE =15,
88 R_386_TLS_GOTIE =16,
89 R_386_TLS_LE =17,
90 R_386_TLS_GD =18,
91 R_386_TLS_LDM =19,
92 R_386_16 =20,
93 R_386_PC16 =21,
94 R_386_8 =22,
95 R_386_PC8 =23,
96 R_386_TLS_GD_32 =24,
97 R_386_TLS_GD_PUSH =25,
98 R_386_TLS_GD_CALL =26,
99 R_386_TLS_GD_POP =27,
100 R_386_TLS_LDM_32 =28,
101 R_386_TLS_LDM_PUSH =29,
102 R_386_TLS_LDM_CALL =30,
103 R_386_TLS_LDM_POP =31,
104 R_386_TLS_LDO_32 =32,
105 R_386_TLS_IE_32 =33,
106 R_386_TLS_LE_32 =34,
107 R_386_TLS_DTPMOD32 =35,
108 R_386_TLS_DTPOFF32 =36,
109 R_386_TLS_TPOFF32 =37,
111 // First Entry for X86-64
112 R_X86_64_NONE =100,
113 R_X86_64_64 =101,
114 R_X86_64_PC32 =102,
115 R_X86_64_GOT32 =103,
116 R_X86_64_PLT32 =104,
117 R_X86_64_COPY =105,
118 R_X86_64_GLOB_DAT =106,
119 R_X86_64_JUMP_SLOT=107,
120 R_X86_64_RELATIVE =108,
121 R_X86_64_GOTPCREL =109,
122 R_X86_64_32 =110,
123 R_X86_64_32S =111,
124 R_X86_64_16 =112,
125 R_X86_64_PC16 =113,
126 R_X86_64_8 =114,
127 R_X86_64_PC8 =115,
128 R_X86_64_DTPMOD64 =116,
129 R_X86_64_DTPOFF64 =117,
130 R_X86_64_TPOFF64 =118,
131 R_X86_64_TLSGD =119,
132 R_X86_64_TLSLD =120,
133 R_X86_64_DTPOFF32 =121,
134 R_X86_64_GOTTPOFF =122,
135 R_X86_64_TPOFF32 =123
136 };
137
138#ifdef _MSC_VER
139# pragma pack (1)
140#endif
141
142 struct Elf32RelaEntry_disk {
143 uint32_t r_offset;
144 uint32_t r_info;
145 uint32_t r_addend;
146 }
147#if !defined(SWIG) && !defined(_MSC_VER)
148 __attribute__((packed))
149#endif
150 ;
151
152 struct Elf64RelaEntry_disk {
153 uint64_t r_offset;
154 uint64_t r_info;
155 uint64_t r_addend;
156 }
157#if !defined(SWIG) && !defined(_MSC_VER)
158 __attribute__((packed))
159#endif
160 ;
161
162 struct Elf32RelEntry_disk {
163 uint32_t r_offset;
164 uint32_t r_info;
165 }
166#if !defined(SWIG) && !defined(_MSC_VER)
167 __attribute__((packed))
168#endif
169 ;
170
171 struct Elf64RelEntry_disk {
172 uint64_t r_offset;
173 uint64_t r_info;
174 }
175#if !defined(SWIG) && !defined(_MSC_VER)
176 __attribute__((packed))
177#endif
178 ;
179
180#ifdef _MSC_VER
181# pragma pack ()
182#endif
183
185 // Properties
187public:
188public:
194 Rose::BinaryAnalysis::Address const& get_r_offset() const;
195 void set_r_offset(Rose::BinaryAnalysis::Address const&);
198public:
204 Rose::BinaryAnalysis::Address const& get_r_addend() const;
205 void set_r_addend(Rose::BinaryAnalysis::Address const&);
208public:
214 unsigned long const& get_sym() const;
215 void set_sym(unsigned long const&);
218public:
224 SgAsmElfRelocEntry::RelocType const& get_type() const;
225 void set_type(SgAsmElfRelocEntry::RelocType const&);
228public:
232 SgUnsignedCharList const& get_extra() const;
233 SgUnsignedCharList& get_extra();
234 void set_extra(SgUnsignedCharList const&);
237 // Functions
239public:
242
264 void dump(FILE *f, const char *prefix, ssize_t idx, SgAsmElfSymbolSection *symtab) const;
265 virtual void dump(FILE *f, const char *prefix, ssize_t idx) const {
266 dump(f, prefix, idx, NULL);
267 }
271 std::string toString() const;
272
274 // Deprecated 2023-11
276public:
277 std::string reloc_name() const ROSE_DEPRECATED("use toString");
278public:
280 virtual ~SgAsmElfRelocEntry();
281
282public:
285
286protected:
293 void initializeProperties();
294
295
296// End of memberFunctionString
297// Start of memberFunctionString
298/* #line 1 "/workspace/src/ROSETTA/Grammar/Common.code" */
299
300// *** COMMON CODE SECTION BEGINS HERE ***
301
302 public:
303
304 // DQ (3/25/3006): I put this back in because it had the logic for where the copy function required
305 // and not required which is required to match the other aspects of the copy mechanism code generation.
306 // Specifically it is a problem to declare the copy function everywhere because it is not implemented
307 // for the SgSymbol IR nodes. I'm not clear why it is not implemented for these IR nodes.
308 /* \brief Copies AST (whole subtree, depending on the SgCopyHelp class */
309 // virtual SgNode* copy ( const SgCopyHelp & help) const;
310
312 virtual std::string class_name() const override;
313
315 virtual VariantT variantT() const override; // MS: new variant used in tree traversal
316
318 // King84 (2010.08.16): Moved this to an enum to save space, since it's only used at compiler-time anyway.
319 // static const VariantT static_variant = V_SgAsmElfRelocEntry;
320 enum { static_variant = V_SgAsmElfRelocEntry };
321
322 /* the generated cast function */
324 ROSE_DLL_API friend SgAsmElfRelocEntry* isSgAsmElfRelocEntry( SgNode * s );
325
327 ROSE_DLL_API friend const SgAsmElfRelocEntry* isSgAsmElfRelocEntry( const SgNode * s );
328
329 // ******************************************
330 // * Memory Pool / New / Delete
331 // ******************************************
332
333 public:
335 static const unsigned pool_size; //
337 static std::vector<unsigned char *> pools; //
339 static SgAsmElfRelocEntry * next_node; //
340
342 static unsigned long initializeStorageClassArray(SgAsmElfRelocEntryStorageClass *); //
343
345 static void clearMemoryPool(); //
346 static void deleteMemoryPool(); //
347
349 static void extendMemoryPoolForFileIO(); //
350
352 static SgAsmElfRelocEntry * getPointerFromGlobalIndex(unsigned long); //
354 static SgAsmElfRelocEntry * getPointerFromGlobalIndex(AstSpecificDataManagingClass *, unsigned long); //
355
357 static unsigned long getNumberOfValidNodesAndSetGlobalIndexInFreepointer(unsigned long); //
359 static void resetValidFreepointers(); //
361 static unsigned long getNumberOfLastValidPointer(); //
362
363
364#if defined(INLINE_FUNCTIONS)
366 inline void *operator new (size_t size);
367#else
369 void *operator new (size_t size);
370#endif
372 void operator delete (void* pointer, size_t size);
373
374 // DQ (4/5/2007): This is not the correct operator that we want, but appears to be required to compile ROSE with ROSE.
375 void operator delete (void* pointer)
376 {
377 // This is the generated delete operator...
378 SgAsmElfRelocEntry::operator delete (pointer,sizeof(SgAsmElfRelocEntry));
379 }
380
382 static size_t numberOfNodes();
383
385 static size_t memoryUsage();
386
387 // End of scope which started in IR nodes specific code
388 /* */
389
390 /* name Internal Functions
391 \brief Internal functions ... incomplete-documentation
392
393 These functions have been made public as part of the design, but they are suggested for internal use
394 or by particularly knowledgeable users for specialized tools or applications.
395
396 \internal We could not make these private because they are required by user for special purposes. And
397 it would be unwieldy to have many of the internal classes in ROSE be explicitly defined as friends.
398
399 */
400
401 // MS: 02/12/02 container of pointers to AST successor nodes used in the traversal
402 // overridden in every class by *generated* implementation
404 virtual std::vector<SgNode*> get_traversalSuccessorContainer() const override;
405 // MS: 06/28/02 container of names of variables or container indices
406 // used used in the traversal to access AST successor nodes
407 // overridden in every class by *generated* implementation
410 virtual std::vector<std::string> get_traversalSuccessorNamesContainer() const override;
411
412 // GB (09/25/2007): Functions for index-based access to traversal successors; these are hopefully a lot faster
413 // than all the vector copies. The implementation for these functions is generated for each class.
415 virtual size_t get_numberOfTraversalSuccessors() const override;
417 virtual SgNode *get_traversalSuccessorByIndex(size_t idx) const override;
419 virtual size_t get_childIndex(SgNode *child) const override;
420
421#ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
422 // MS: 08/16/2002 method for generating RTI information
424 virtual RTIReturnType roseRTI() override;
425#endif
426 /* */
427
428
429
430 /* name Deprecated Functions
431 \brief Deprecated functions ... incomplete-documentation
432
433 These functions have been deprecated from use.
434 */
435 /* */
436
438 virtual const char* sage_class_name() const override ROSE_DEPRECATED_FUNCTION;
439
440 // JJW (10/16/2008): Changed to a single function in Node.code, and put
441 // getVariant() in #if 0 block to prevent confusing Doxygen
442#if 0
444 virtual int variant() const ROSE_DEPRECATED_FUNCTION;
446 // virtual int getVariant() const ROSE_DEPRECATED_FUNCTION;
447#endif
448 /* */
449
450
451
452
453 public:
454 /* name Traversal Support Functions
455 \brief Traversal support functions ... incomplete-documentation
456
457 These functions have been made public as part of the design, but they are suggested for internal use
458 or by particularly knowledgable users for specialized tools or applications.
459 */
460 /* */
461
462 // DQ (11/26/2005): Support for visitor pattern mechanims
463 // (inferior to ROSE traversal mechanism, experimental).
467
468 /* DXN (08/09/2010): support for the classic visitor pattern done in GoF */
470 virtual void accept (ROSE_VisitorPattern & visitor) override;
471
472 // DQ (12/26/2005): Support for traversal based on the memory pool
475 static void traverseMemoryPoolNodes(ROSE_VisitTraversal & visit);
476
480
481 // DQ (2/9/2006): Added to support traversal over single representative of each IR node
482 // This traversal helps support internal tools that call static member functions.
483 // note: this function operates on the memory pools.
486 static void visitRepresentativeNode (ROSE_VisitTraversal & visit);
487 /* */
488
489 public:
490 /* NodeId support functions */
492 static SgNode* getNodeByNodeId(VariantT variantT, size_t poolIdx, size_t itemIdx);
495 static SgAsmElfRelocEntry* getNodeByNodeIdInternal(size_t poolIdx, size_t itemIdx);
498 static std::string getNodeIdString(SgAsmElfRelocEntry* sgnode);
499 static std::string getNodeIdStringInternal(SgAsmElfRelocEntry* sgnode);
500
501 public:
502 /* name Memory Allocation Functions
503 \brief Memory allocations functions ... incomplete-documentation
504
505 These functions have been made public as part of the design, but they are suggested for internal use
506 or by particularly knowledgable users for specialized tools or applications.
507 */
508 /* */
509
520 virtual bool isInMemoryPool() override;
521
532 virtual void checkDataMemberPointersIfInMemoryPool() override;
533
534 // DQ (4/30/2006): Modified to be a const function.
549 virtual std::vector<std::pair<SgNode*,std::string> > returnDataMemberPointers() const override;
550
561
573 virtual long getChildIndex( SgNode* childNode ) const override;
574
575 // DQ (9/2/2015): Since this function is generated by ROSETTA, we can't define the
576 // comment here (changed to be a C style comment and not be a doxygen comment).
577 /* \brief Constructor for use by AST File I/O Mechanism
578
579 This constructor permits the IR node to be rebuilt from the contiguously arranged data in memory
580 which obtained via fast binary file I/O from disk.
581 */
582 // SgAsmElfRelocEntry( SgAsmElfRelocEntryStorageClass& source );
583
584
585
586
587
588 // JH (10/24/2005): methods added to support the ast file IO
589 private:
590
591 /* name AST Memory Allocation Support Functions
592 \brief Memory allocations support....
593
594 These functions handle the low leve support of the memory allocation scheme which permits IR nodes to be allocated
595 in large contiguous blocks to reduce memory fragmentation, improve performance, support specialized access (AST traversals),
596 and support the AST File I/O Mechanism.
597 */
598 /* */
599
600 /* JH (10/24/2005): Two typedefs. The TestType notes the type every pointer is cast to before
601 we compare them. Since I had several problems with this, I decided to make a typdef to ensure
602 that I use the same type everywhere, if any changes are made. THe second one declares the type
603 (actually unsigned long) where teh pointer address gets converted to. On 64 bit platforms this
604 might got changed, but unfortunatly, the return types are still unsigned longs. There exists
605 a correspinding one in the AST_FILE_IO class!
606 */
607 // DQ (9/2/2015): This typedef is no longer used, we can't define the
608 // comment here (changed to be a C style comment and not be a doxygen comment).
609 /* \brief Typedef used for low level memory access.
610 */
611 // typedef unsigned char* TestType;
612
613 // DQ (9/2/2015): This typedef is no longer used, we can't define the
614 // comment here (changed to be a C style comment and not be a doxygen comment).
615 /* \brief Typedef used to hold memory addresses as values.
616 */
617 // typedef unsigned long AddressType;
618
619
620
621 // necessary, to have direct access to the p_freepointer and the private methods !
623 friend class AST_FILE_IO;
624
626 friend class SgAsmElfRelocEntryStorageClass;
627
629 friend class AstSpecificDataManagingClass;
630
632 friend class AstSpecificDataManagingClassStorageClass;
633 public:
635 SgAsmElfRelocEntry( const SgAsmElfRelocEntryStorageClass& source );
636
637 // private: // JJW hack
638 /*
639 name AST Memory Allocation Support Variables
640 Memory allocations support variables
641
642 These variables handle the low level support of the memory allocation scheme which permits IR nodes to be allocated
643 in large contiguous blocks to reduce memory fragmentation, improve performance, support specialized access (AST traversals),
644 and support the AST File I/O Mechanism.
645 */
646 /* */
647
648 public:
649
650 // DQ (11/21/2009): Added function to add new Regular Expression attributes and return pointer
651 // to current node (so that it will work cleanly with build functions to specify patterns).
652 // virtual SgNode* addRegExpAttribute();
659
660#ifndef _MSC_VER
661// Rasmussen (04/17/2019): Support for ATerms has been deprecated as it is no longer needed
662// and likely never fully implemented nor tested. Files remain in the src tree but are no
663// longer built.
664#define BUILD_ATERM_SUPPORT 0
665 #if BUILD_ATERM_SUPPORT
666 #ifdef ROSE_USE_ROSE_ATERM_SUPPORT
667 // DQ (10/4/2014): Adding ATerm support to ROSE.
677 // Rasmussen (1/7/2019): Added override to kill warning messages of overridden virtual function
678 virtual ATerm generate_ATerm() override;
679
681 virtual void generate_ATerm_Annotation(ATerm & term) override;
682 #endif
683 #endif // BUILD_ATERM_SUPPORT
684#endif
685 // These can't be virtual functions since we don't yet know what IR node to build (until we have read the aterm).
686 // virtual generate_AST(ATerm & term);
687 // virtual void read_ATerm_Annotation(ATerm & term);
688
689// *** COMMON CODE SECTION ENDS HERE ***
690
691
692// End of memberFunctionString
693// Start of memberFunctionString
694/* #line 710 "/workspace/src/ROSETTA/Grammar/Node.code" */
695
696 // the generated cast function
697 // friend ROSE_DLL_API SgAsmElfRelocEntry* isSgAsmElfRelocEntry ( SgNode* s );
698
699 typedef SgAsmExecutableFileFormat base_node_type;
700
701
702// End of memberFunctionString
703
704
705
706
707
708
709 protected:
710// Start of memberFunctionString
712
713// End of memberFunctionString
714// Start of memberFunctionString
716
717// End of memberFunctionString
718// Start of memberFunctionString
719unsigned long p_sym;
720
721// End of memberFunctionString
722// Start of memberFunctionString
724
725// End of memberFunctionString
726// Start of memberFunctionString
727SgUnsignedCharList p_extra;
728
729// End of memberFunctionString
730
732 friend struct Rose::Traits::generated::describe_field_t<SgAsmElfRelocEntry, Rose::BinaryAnalysis::Address,&SgAsmElfRelocEntry::p_r_offset>;
733 friend struct Rose::Traits::generated::describe_field_t<SgAsmElfRelocEntry, Rose::BinaryAnalysis::Address,&SgAsmElfRelocEntry::p_r_addend>;
734 friend struct Rose::Traits::generated::describe_field_t<SgAsmElfRelocEntry, unsigned long,&SgAsmElfRelocEntry::p_sym>;
735 friend struct Rose::Traits::generated::describe_field_t<SgAsmElfRelocEntry, SgAsmElfRelocEntry::RelocType,&SgAsmElfRelocEntry::p_type>;
736 friend struct Rose::Traits::generated::describe_field_t<SgAsmElfRelocEntry, SgUnsignedCharList,&SgAsmElfRelocEntry::p_extra>;
737
738/* #line 21 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro" */
739
740
741 };
742#endif
743
744// postdeclarations for SgAsmElfRelocEntry
745
746/* #line 747 "../../../src/frontend/SageIII//SgAsmElfRelocEntry.h" */
747
748/* #line 27 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro after subst for $POSTDECLARATIONS" */
749
750/* #line 28 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro" */
751
752
753/* #line 754 "../../../src/frontend/SageIII//SgAsmElfRelocEntry.h" */
754
755#endif // ROSE_SgAsmElfRelocEntry_H
756
Class holding static data and functions supporting File I/O.
Definition AST_FILE_IO.h:19
Attribute containing a regex expression as a string.
One entry of an ELF relocation table.
RelocType
Relocation Type.
Represents an ELF relocation section.
ELF file section containing symbols.
Base class for many binary analysis nodes.
Supporting class from copy mechanism within ROSE.
Definition sageCopy.h:26
This class represents the base class for all IR nodes within Sage III.
virtual RTIReturnType roseRTI()
return C++ Runtime-Time-Information
virtual size_t get_numberOfTraversalSuccessors() const
return number of children in the traversal successor list
virtual std::vector< std::string > get_traversalSuccessorNamesContainer() const
container of names of variables or container indices used used in the traversal to access AST success...
virtual void debugSerializationEnd(const char *className)
Called by generated serializers.
static std::string getNodeIdString(SgNode *sgnode)
compute the NodeId for a particular SgNode*.
virtual bool isInMemoryPool()
FOR INTERNAL USE This is used in internal tests to verify that all IR nodes are allocated from the he...
int variant() const
Older version function returns enum value "NODE".
virtual void processDataMemberReferenceToPointers(ReferenceToPointerHandler *)
FOR INTERNAL USE Processes pairs of references to SgNode* and strings for use in AST tools
virtual size_t get_childIndex(SgNode *child) const
index-based access to traversal successors by child node
virtual std::vector< SgNode * > get_traversalSuccessorContainer() const
container of pointers to AST successor nodes used in the traversal overridden in every class by gener...
virtual long getChildIndex(SgNode *childNode) const
FOR INTERNAL USE Returns a unique index value for the childNode in the list of children at this IR no...
virtual void debugSerializationBegin(const char *className)
Called by generated serializers.
virtual SgNode * get_traversalSuccessorByIndex(size_t idx) const
index-based access to traversal successors by index number
static void visitRepresentativeNode(ROSE_VisitTraversal &visit)
FOR INTERNAL USE Support for type-based traversal.
virtual void checkDataMemberPointersIfInMemoryPool()
FOR INTERNAL USE This is used in internal tests to verify that all IR nodes are allocated from the he...
static size_t numberOfNodes()
Returns the total number of IR nodes of this type.
virtual void accept(ROSE_VisitorPattern &visitor)
support for the classic visitor pattern done in GoF
static void traverseMemoryPoolVisitorPattern(ROSE_VisitorPattern &visitor)
FOR INTERNAL USE Support for visitor pattern.
void executeVisitorMemberFunction(ROSE_VisitorPattern &visitor)
FOR INTERNAL USE Support for visitor pattern.
static SgNode * getNodeByNodeId(VariantT variantT, size_t poolIdx, size_t itemIdx)
Find a node by its variant type, pool index, and item index.
static size_t memoryUsage()
Returns the size in bytes of the total memory allocated for all IR nodes of this type.
static void traverseMemoryPoolNodes(ROSE_VisitTraversal &visit)
FOR INTERNAL USE Support for visitor pattern over all IR nodes by type of IR node.
virtual const char * sage_class_name() const
generates string representing the class name: (e.g. for SgNode returns "SgNode").
virtual std::vector< std::pair< SgNode *, std::string > > returnDataMemberPointers() const
FOR INTERNAL USE Returns STL vector of pairs of SgNode* and strings for use in AST tools
static SgNode * getNodeByNodeIdInternal(size_t poolIdx, size_t itemIdx)
FOR INTERNAL USE Find an SgNode from its memory pool and location therin.
SgNode * addRegExpAttribute(std::string s, AstRegExAttribute *a)
Support for AST matching using regular expression.
void parse(SgAsmGenericFile *)
Main function to parse DWARF information.
std::uint64_t Address
Address.
Definition Address.h:11
ROSE_UTIL_API std::string toString(const Path &)
Convert a path to a string.
void serialize(std::ostream &output, Graph &graph)
Serialize a graph into a stream of bytes.
The ROSE library.
void copy(const Word *src, const BitRange &srcRange, Word *dst, const BitRange &dstRange)
Copy some bits.
const char * RelocType(int64_t)
Convert Rose::BinaryAnalysis::CodeInserter::RelocType enum constant to a string.