7 #ifndef OTAWA_PROG_PROG_ITEM_H
8 #define OTAWA_PROG_PROG_ITEM_H
10 #include <elm/assert.h>
11 #include <elm/string.h>
12 #include <elm/inhstruct/DLList.h>
42 #endif // OTAWA_PROG_PROG_ITEM_H
void insertPseudo(ProgItem *pos)
Definition: ProgItem.h:36
ProgItem * next(void) const
Get the next program item.
Definition: prog_ProgItem.cpp:44
In usual file format like ELF, COFF and so on, the program file is divided in segment according platf...
Definition: Segment.h:40
virtual Inst * toInst(void)
Return the instruction matching the current item.
Definition: prog_ProgItem.cpp:95
address_t topAddress(void) const
Compute the address of the item immediately following the current item.
Definition: ProgItem.h:30
ProgItem * previous(void) const
Get the previous program item.
Definition: prog_ProgItem.cpp:57
The representation of an address in OTAWA.
Definition: base.h:54
virtual address_t address(void) const =0
Get the address of the item .
virtual t::uint32 size(void) const =0
Get the size of the item in bytes.
This class represents assembly instruction of a piece of code.
Definition: Inst.h:62
This a list of properties.
Definition: PropList.h:63
Base class of the components of a program file segment.
Definition: ProgItem.h:23
void insertBefore(DLNode *node)
virtual ~ProgItem(void)
Protected destructor for avoiding implementation unexpected deletion.
Definition: prog_ProgItem.cpp:36