ROSE 0.11.145.192
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 20751 "/workspace/src/ROSETTA/src/binaryInstruction.C" */
26
27#include <Rose/BinaryAnalysis/ByteOrder.h>
28#include <sageContainer.h>
29
30
31/* #line 13 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro after subst for $PREDECLARATIONS" */
32
33/* #line 14 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro" */
34
35#if !defined(DOCUMENTATION)
36// Class Definition for SgAsmElfRelocEntry
37class ROSE_DLL_API SgAsmElfRelocEntry : public SgAsmExecutableFileFormat
38 {
39 public:
40
41
42/* #line 43 "../../../src/frontend/SageIII//SgAsmElfRelocEntry.h" */
43
44 virtual SgNode* copy ( SgCopyHelp& help) const override;
45// Start of memberFunctionString
46/* #line 20792 "/workspace/src/ROSETTA/src/binaryInstruction.C" */
47
48
49 //----------------------- Boost serialization for SgAsmElfRelocEntry -----------------------
50#ifdef ROSE_HAVE_BOOST_SERIALIZATION_LIB
51private:
52 friend class boost::serialization::access;
53
54 template<class S>
55 void serialize(S &s, const unsigned /*version*/) {
56 debugSerializationBegin("SgAsmElfRelocEntry");
57 s & BOOST_SERIALIZATION_BASE_OBJECT_NVP(SgAsmExecutableFileFormat);
58 s & BOOST_SERIALIZATION_NVP(p_r_offset);
59 s & BOOST_SERIALIZATION_NVP(p_r_addend);
60 s & BOOST_SERIALIZATION_NVP(p_sym);
61 s & BOOST_SERIALIZATION_NVP(p_type);
62 s & BOOST_SERIALIZATION_NVP(p_extra);
63 debugSerializationEnd("SgAsmElfRelocEntry");
64 }
65#endif // ROSE_HAVE_BOOST_SERIALIZATION_LIB
67 // Local types
69public:
71 enum RelocType{
72 // Intel 80386 specific definitions.
73 R_386_NONE =0,
74 R_386_32 =1,
75 R_386_PC32 =2,
76 R_386_GOT32 =3,
77 R_386_PLT32 =4,
78 R_386_COPY =5,
79 R_386_GLOB_DAT =6,
80 R_386_JMP_SLOT =7,
81 R_386_RELATIVE =8,
82 R_386_GOTOFF =9,
83 R_386_GOTPC =10,
84 R_386_32PLT =11,
85 R_386_TLS_TPOFF =14,
86 R_386_TLS_IE =15,
87 R_386_TLS_GOTIE =16,
88 R_386_TLS_LE =17,
89 R_386_TLS_GD =18,
90 R_386_TLS_LDM =19,
91 R_386_16 =20,
92 R_386_PC16 =21,
93 R_386_8 =22,
94 R_386_PC8 =23,
95 R_386_TLS_GD_32 =24,
96 R_386_TLS_GD_PUSH =25,
97 R_386_TLS_GD_CALL =26,
98 R_386_TLS_GD_POP =27,
99 R_386_TLS_LDM_32 =28,
100 R_386_TLS_LDM_PUSH =29,
101 R_386_TLS_LDM_CALL =30,
102 R_386_TLS_LDM_POP =31,
103 R_386_TLS_LDO_32 =32,
104 R_386_TLS_IE_32 =33,
105 R_386_TLS_LE_32 =34,
106 R_386_TLS_DTPMOD32 =35,
107 R_386_TLS_DTPOFF32 =36,
108 R_386_TLS_TPOFF32 =37,
110 // First Entry for X86-64
111 R_X86_64_NONE =100,
112 R_X86_64_64 =101,
113 R_X86_64_PC32 =102,
114 R_X86_64_GOT32 =103,
115 R_X86_64_PLT32 =104,
116 R_X86_64_COPY =105,
117 R_X86_64_GLOB_DAT =106,
118 R_X86_64_JUMP_SLOT=107,
119 R_X86_64_RELATIVE =108,
120 R_X86_64_GOTPCREL =109,
121 R_X86_64_32 =110,
122 R_X86_64_32S =111,
123 R_X86_64_16 =112,
124 R_X86_64_PC16 =113,
125 R_X86_64_8 =114,
126 R_X86_64_PC8 =115,
127 R_X86_64_DTPMOD64 =116,
128 R_X86_64_DTPOFF64 =117,
129 R_X86_64_TPOFF64 =118,
130 R_X86_64_TLSGD =119,
131 R_X86_64_TLSLD =120,
132 R_X86_64_DTPOFF32 =121,
133 R_X86_64_GOTTPOFF =122,
134 R_X86_64_TPOFF32 =123
135 };
136
137#ifdef _MSC_VER
138# pragma pack (1)
139#endif
140
141 struct Elf32RelaEntry_disk {
142 uint32_t r_offset;
143 uint32_t r_info;
144 uint32_t r_addend;
145 }
146#if !defined(SWIG) && !defined(_MSC_VER)
147 __attribute__((packed))
148#endif
149 ;
150
151 struct Elf64RelaEntry_disk {
152 uint64_t r_offset;
153 uint64_t r_info;
154 uint64_t r_addend;
155 }
156#if !defined(SWIG) && !defined(_MSC_VER)
157 __attribute__((packed))
158#endif
159 ;
160
161 struct Elf32RelEntry_disk {
162 uint32_t r_offset;
163 uint32_t r_info;
164 }
165#if !defined(SWIG) && !defined(_MSC_VER)
166 __attribute__((packed))
167#endif
168 ;
169
170 struct Elf64RelEntry_disk {
171 uint64_t r_offset;
172 uint64_t r_info;
173 }
174#if !defined(SWIG) && !defined(_MSC_VER)
175 __attribute__((packed))
176#endif
177 ;
178
179#ifdef _MSC_VER
180# pragma pack ()
181#endif
182
184 // Properties
186public:
187public:
193 rose_addr_t const& get_r_offset() const;
194 void set_r_offset(rose_addr_t const&);
197public:
203 rose_addr_t const& get_r_addend() const;
204 void set_r_addend(rose_addr_t const&);
207public:
213 unsigned long const& get_sym() const;
214 void set_sym(unsigned long const&);
217public:
223 SgAsmElfRelocEntry::RelocType const& get_type() const;
224 void set_type(SgAsmElfRelocEntry::RelocType const&);
227public:
231 SgUnsignedCharList const& get_extra() const;
232 SgUnsignedCharList& get_extra();
233 void set_extra(SgUnsignedCharList const&);
236 // Functions
238public:
241
263 void dump(FILE *f, const char *prefix, ssize_t idx, SgAsmElfSymbolSection *symtab) const;
264 virtual void dump(FILE *f, const char *prefix, ssize_t idx) const {
265 dump(f, prefix, idx, NULL);
266 }
270 std::string toString() const;
271
273 // Deprecated 2023-11
275public:
276 std::string reloc_name() const ROSE_DEPRECATED("use toString");
277public:
279 virtual ~SgAsmElfRelocEntry();
280
281public:
284
285protected:
292 void initializeProperties();
293
294
295// End of memberFunctionString
296// Start of memberFunctionString
297/* #line 1 "/workspace/src/ROSETTA/Grammar/Common.code" */
298
299// *** COMMON CODE SECTION BEGINS HERE ***
300
301 public:
302
303 // DQ (3/25/3006): I put this back in because it had the logic for where the copy function required
304 // and not required which is required to match the other aspects of the copy mechanism code generation.
305 // Specifically it is a problem to declare the copy function everywhere because it is not implemented
306 // for the SgSymbol IR nodes. I'm not clear why it is not implemented for these IR nodes.
307 /* \brief Copies AST (whole subtree, depending on the SgCopyHelp class */
308 // virtual SgNode* copy ( const SgCopyHelp & help) const;
309
311 virtual std::string class_name() const override;
312
314 virtual VariantT variantT() const override; // MS: new variant used in tree traversal
315
317 // King84 (2010.08.16): Moved this to an enum to save space, since it's only used at compiler-time anyway.
318 // static const VariantT static_variant = V_SgAsmElfRelocEntry;
319 enum { static_variant = V_SgAsmElfRelocEntry };
320
321 /* the generated cast function */
323 ROSE_DLL_API friend SgAsmElfRelocEntry* isSgAsmElfRelocEntry( SgNode * s );
324
326 ROSE_DLL_API friend const SgAsmElfRelocEntry* isSgAsmElfRelocEntry( const SgNode * s );
327
328 // ******************************************
329 // * Memory Pool / New / Delete
330 // ******************************************
331
332 public:
334 static const unsigned pool_size; //
336 static std::vector<unsigned char *> pools; //
338 static SgAsmElfRelocEntry * next_node; //
339
341 static unsigned long initializeStorageClassArray(SgAsmElfRelocEntryStorageClass *); //
342
344 static void clearMemoryPool(); //
345 static void deleteMemoryPool(); //
346
348 static void extendMemoryPoolForFileIO(); //
349
351 static SgAsmElfRelocEntry * getPointerFromGlobalIndex(unsigned long); //
353 static SgAsmElfRelocEntry * getPointerFromGlobalIndex(AstSpecificDataManagingClass *, unsigned long); //
354
356 static unsigned long getNumberOfValidNodesAndSetGlobalIndexInFreepointer(unsigned long); //
358 static void resetValidFreepointers(); //
360 static unsigned long getNumberOfLastValidPointer(); //
361
362
363#if defined(INLINE_FUNCTIONS)
365 inline void *operator new (size_t size);
366#else
368 void *operator new (size_t size);
369#endif
371 void operator delete (void* pointer, size_t size);
372
373 // DQ (4/5/2007): This is not the correct operator that we want, but appears to be required to compile ROSE with ROSE.
374 void operator delete (void* pointer)
375 {
376 // This is the generated delete operator...
377 SgAsmElfRelocEntry::operator delete (pointer,sizeof(SgAsmElfRelocEntry));
378 }
379
381 static size_t numberOfNodes();
382
384 static size_t memoryUsage();
385
386 // End of scope which started in IR nodes specific code
387 /* */
388
389 /* name Internal Functions
390 \brief Internal functions ... incomplete-documentation
391
392 These functions have been made public as part of the design, but they are suggested for internal use
393 or by particularly knowledgeable users for specialized tools or applications.
394
395 \internal We could not make these private because they are required by user for special purposes. And
396 it would be unwieldy to have many of the internal classes in ROSE be explicitly defined as friends.
397
398 */
399
400 // MS: 02/12/02 container of pointers to AST successor nodes used in the traversal
401 // overridden in every class by *generated* implementation
403 virtual std::vector<SgNode*> get_traversalSuccessorContainer() override;
404 // MS: 06/28/02 container of names of variables or container indices
405 // used used in the traversal to access AST successor nodes
406 // overridden in every class by *generated* implementation
409 virtual std::vector<std::string> get_traversalSuccessorNamesContainer() override;
410
411 // GB (09/25/2007): Functions for index-based access to traversal successors; these are hopefully a lot faster
412 // than all the vector copies. The implementation for these functions is generated for each class.
414 virtual size_t get_numberOfTraversalSuccessors() override;
416 virtual SgNode *get_traversalSuccessorByIndex(size_t idx) override;
418 virtual size_t get_childIndex(SgNode *child) override;
419
420#ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
421 // MS: 08/16/2002 method for generating RTI information
423 virtual RTIReturnType roseRTI() override;
424#endif
425 /* */
426
427
428
429 /* name Deprecated Functions
430 \brief Deprecated functions ... incomplete-documentation
431
432 These functions have been deprecated from use.
433 */
434 /* */
435
437 virtual const char* sage_class_name() const override ROSE_DEPRECATED_FUNCTION;
438
439 // JJW (10/16/2008): Changed to a single function in Node.code, and put
440 // getVariant() in #if 0 block to prevent confusing Doxygen
441#if 0
443 virtual int variant() const ROSE_DEPRECATED_FUNCTION;
445 // virtual int getVariant() const ROSE_DEPRECATED_FUNCTION;
446#endif
447 /* */
448
449
450
451
452 public:
453 /* name Traversal Support Functions
454 \brief Traversal support functions ... incomplete-documentation
455
456 These functions have been made public as part of the design, but they are suggested for internal use
457 or by particularly knowledgable users for specialized tools or applications.
458 */
459 /* */
460
461 // DQ (11/26/2005): Support for visitor pattern mechanims
462 // (inferior to ROSE traversal mechanism, experimental).
466
467 /* DXN (08/09/2010): support for the classic visitor pattern done in GoF */
469 virtual void accept (ROSE_VisitorPattern & visitor) override;
470
471 // DQ (12/26/2005): Support for traversal based on the memory pool
474 static void traverseMemoryPoolNodes(ROSE_VisitTraversal & visit);
475
479
480 // DQ (2/9/2006): Added to support traversal over single representative of each IR node
481 // This traversal helps support internal tools that call static member functions.
482 // note: this function operates on the memory pools.
485 static void visitRepresentativeNode (ROSE_VisitTraversal & visit);
486 /* */
487
488 public:
489 /* NodeId support functions */
491 static SgNode* getNodeByNodeId(VariantT variantT, size_t poolIdx, size_t itemIdx);
494 static SgAsmElfRelocEntry* getNodeByNodeIdInternal(size_t poolIdx, size_t itemIdx);
497 static std::string getNodeIdString(SgAsmElfRelocEntry* sgnode);
498 static std::string getNodeIdStringInternal(SgAsmElfRelocEntry* sgnode);
499
500 public:
501 /* name Memory Allocation Functions
502 \brief Memory allocations functions ... incomplete-documentation
503
504 These functions have been made public as part of the design, but they are suggested for internal use
505 or by particularly knowledgable users for specialized tools or applications.
506 */
507 /* */
508
519 virtual bool isInMemoryPool() override;
520
531 virtual void checkDataMemberPointersIfInMemoryPool() override;
532
533 // DQ (4/30/2006): Modified to be a const function.
548 virtual std::vector<std::pair<SgNode*,std::string> > returnDataMemberPointers() const override;
549
560
572 virtual long getChildIndex( SgNode* childNode ) const override;
573
574 // DQ (9/2/2015): Since this function is generated by ROSETTA, we can't define the
575 // comment here (changed to be a C style comment and not be a doxygen comment).
576 /* \brief Constructor for use by AST File I/O Mechanism
577
578 This constructor permits the IR node to be rebuilt from the contiguously arranged data in memory
579 which obtained via fast binary file I/O from disk.
580 */
581 // SgAsmElfRelocEntry( SgAsmElfRelocEntryStorageClass& source );
582
583
584
585
586
587 // JH (10/24/2005): methods added to support the ast file IO
588 private:
589
590 /* name AST Memory Allocation Support Functions
591 \brief Memory allocations support....
592
593 These functions handle the low leve support of the memory allocation scheme which permits IR nodes to be allocated
594 in large contiguous blocks to reduce memory fragmentation, improve performance, support specialized access (AST traversals),
595 and support the AST File I/O Mechanism.
596 */
597 /* */
598
599 /* JH (10/24/2005): Two typedefs. The TestType notes the type every pointer is cast to before
600 we compare them. Since I had several problems with this, I decided to make a typdef to ensure
601 that I use the same type everywhere, if any changes are made. THe second one declares the type
602 (actually unsigned long) where teh pointer address gets converted to. On 64 bit platforms this
603 might got changed, but unfortunatly, the return types are still unsigned longs. There exists
604 a correspinding one in the AST_FILE_IO class!
605 */
606 // DQ (9/2/2015): This typedef is no longer used, we can't define the
607 // comment here (changed to be a C style comment and not be a doxygen comment).
608 /* \brief Typedef used for low level memory access.
609 */
610 // typedef unsigned char* TestType;
611
612 // DQ (9/2/2015): This typedef is no longer used, we can't define the
613 // comment here (changed to be a C style comment and not be a doxygen comment).
614 /* \brief Typedef used to hold memory addresses as values.
615 */
616 // typedef unsigned long AddressType;
617
618
619
620 // necessary, to have direct access to the p_freepointer and the private methods !
622 friend class AST_FILE_IO;
623
625 friend class SgAsmElfRelocEntryStorageClass;
626
628 friend class AstSpecificDataManagingClass;
629
631 friend class AstSpecificDataManagingClassStorageClass;
632 public:
634 SgAsmElfRelocEntry( const SgAsmElfRelocEntryStorageClass& source );
635
636 // private: // JJW hack
637 /*
638 name AST Memory Allocation Support Variables
639 Memory allocations support variables
640
641 These variables handle the low level support of the memory allocation scheme which permits IR nodes to be allocated
642 in large contiguous blocks to reduce memory fragmentation, improve performance, support specialized access (AST traversals),
643 and support the AST File I/O Mechanism.
644 */
645 /* */
646
647 public:
648
649 // DQ (11/21/2009): Added function to add new Regular Expression attributes and return pointer
650 // to current node (so that it will work cleanly with build functions to specify patterns).
651 // virtual SgNode* addRegExpAttribute();
658
659#ifndef _MSC_VER
660// Rasmussen (04/17/2019): Support for ATerms has been deprecated as it is no longer needed
661// and likely never fully implemented nor tested. Files remain in the src tree but are no
662// longer built.
663#define BUILD_ATERM_SUPPORT 0
664 #if BUILD_ATERM_SUPPORT
665 #ifdef ROSE_USE_ROSE_ATERM_SUPPORT
666 // DQ (10/4/2014): Adding ATerm support to ROSE.
676 // Rasmussen (1/7/2019): Added override to kill warning messages of overridden virtual function
677 virtual ATerm generate_ATerm() override;
678
680 virtual void generate_ATerm_Annotation(ATerm & term) override;
681 #endif
682 #endif // BUILD_ATERM_SUPPORT
683#endif
684 // These can't be virtual functions since we don't yet know what IR node to build (until we have read the aterm).
685 // virtual generate_AST(ATerm & term);
686 // virtual void read_ATerm_Annotation(ATerm & term);
687
688// *** COMMON CODE SECTION ENDS HERE ***
689
690
691// End of memberFunctionString
692// Start of memberFunctionString
693/* #line 706 "/workspace/src/ROSETTA/Grammar/Node.code" */
694
695 // the generated cast function
696 // friend ROSE_DLL_API SgAsmElfRelocEntry* isSgAsmElfRelocEntry ( SgNode* s );
697
698 typedef SgAsmExecutableFileFormat base_node_type;
699
700
701// End of memberFunctionString
702
703
704
705
706
707
708 protected:
709// Start of memberFunctionString
710rose_addr_t p_r_offset;
711
712// End of memberFunctionString
713// Start of memberFunctionString
714rose_addr_t p_r_addend;
715
716// End of memberFunctionString
717// Start of memberFunctionString
718unsigned long p_sym;
719
720// End of memberFunctionString
721// Start of memberFunctionString
723
724// End of memberFunctionString
725// Start of memberFunctionString
726SgUnsignedCharList p_extra;
727
728// End of memberFunctionString
729
731 friend struct Rose::Traits::generated::describe_field_t<SgAsmElfRelocEntry, rose_addr_t,&SgAsmElfRelocEntry::p_r_offset>;
732 friend struct Rose::Traits::generated::describe_field_t<SgAsmElfRelocEntry, rose_addr_t,&SgAsmElfRelocEntry::p_r_addend>;
733 friend struct Rose::Traits::generated::describe_field_t<SgAsmElfRelocEntry, unsigned long,&SgAsmElfRelocEntry::p_sym>;
735 friend struct Rose::Traits::generated::describe_field_t<SgAsmElfRelocEntry, SgUnsignedCharList,&SgAsmElfRelocEntry::p_extra>;
736
737/* #line 21 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro" */
738
739
740 };
741#endif
742
743// postdeclarations for SgAsmElfRelocEntry
744
745/* #line 746 "../../../src/frontend/SageIII//SgAsmElfRelocEntry.h" */
746
747/* #line 27 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro after subst for $POSTDECLARATIONS" */
748
749/* #line 28 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro" */
750
751
752/* #line 753 "../../../src/frontend/SageIII//SgAsmElfRelocEntry.h" */
753
754#endif // ROSE_SgAsmElfRelocEntry_H
755
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 size_t get_numberOfTraversalSuccessors()
return number of children in the traversal successor list
virtual RTIReturnType roseRTI()
return C++ Runtime-Time-Information
virtual std::vector< std::string > get_traversalSuccessorNamesContainer()
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 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 size_t get_childIndex(SgNode *child)
index-based access to traversal successors by child node
virtual void debugSerializationBegin(const char *className)
Called by generated serializers.
virtual std::vector< SgNode * > get_traversalSuccessorContainer()
container of pointers to AST successor nodes used in the traversal overridden in every class by gener...
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
virtual SgNode * get_traversalSuccessorByIndex(size_t idx)
index-based access to traversal successors by index number
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.
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.
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.