1 #ifndef INCLUDE__BasicBlock_hxx
2 #define INCLUDE__BasicBlock_hxx
15 uint64_t getStartAddress() const {
19 uint64_t getEndAddress() const {
23 uint64_t getNextBlock(size_t index) const {
25 return next_blocks[index];
28 void setNextBlock(size_t index, uint64_t address) {
30 next_blocks[index] = address;
33 void setStartAddress(uint64_t address) {
34 start_address = address;
37 void setEndAddress(uint64_t address) {
38 end_address = address;
41 std::string getName() {
43 s << "BLOCK_" << std::hex << start_address << '_' << end_address;
48 uint64_t start_address;
51 uint64_t next_blocks[2];