Prettier ppc disasm.

This commit is contained in:
Ben Vanik
2013-12-22 13:06:15 -08:00
parent de6dc92663
commit d861ef8aab
11 changed files with 311 additions and 21 deletions

View File

@@ -20,6 +20,11 @@ namespace ppc {
class PPCFrontend;
typedef struct BlockInfo_t {
uint64_t start_address;
uint64_t end_address;
} BlockInfo;
class PPCScanner {
public:
@@ -28,6 +33,8 @@ public:
int FindExtents(runtime::FunctionInfo* symbol_info);
std::vector<BlockInfo> FindBlocks(runtime::FunctionInfo* symbol_info);
private:
bool IsRestGprLr(uint64_t address);