| 1742 | } |
| 1743 | |
| 1744 | unsigned int ExecutorX86::GetNextAddress() |
| 1745 | { |
| 1746 | if(int(callstackTop - NULLC::stackTrace) < 0) |
| 1747 | return 0; |
| 1748 | unsigned int address = 0; |
| 1749 | for(; address < instAddress.size(); address++) |
| 1750 | { |
| 1751 | if(*callstackTop < (unsigned int)(long long)instAddress[address]) |
| 1752 | break; |
| 1753 | } |
| 1754 | callstackTop--; |
| 1755 | return address - 1; |
| 1756 | } |
| 1757 | |
| 1758 | void* ExecutorX86::GetStackStart() |
| 1759 | { |