Per-Function flag to prevent decompilation/disassembly
For now it just sets PROC_ISLIB flag
This commit is contained in:
parent
d22624a99b
commit
0391f67109
@ -210,6 +210,7 @@ public:
|
|||||||
|
|
||||||
// bool anyFlagsSet(uint32_t t) { return (flg&t)!=0;}
|
// bool anyFlagsSet(uint32_t t) { return (flg&t)!=0;}
|
||||||
bool hasRegArgs() const { return (flg & REG_ARGS)!=0;}
|
bool hasRegArgs() const { return (flg & REG_ARGS)!=0;}
|
||||||
|
void markDoNotDecompile() { flg |= PROC_ISLIB; }
|
||||||
bool isLibrary() const { return (flg & PROC_ISLIB)!=0;}
|
bool isLibrary() const { return (flg & PROC_ISLIB)!=0;}
|
||||||
void compoundCond();
|
void compoundCond();
|
||||||
void writeProcComments();
|
void writeProcComments();
|
||||||
@ -277,7 +278,7 @@ protected:
|
|||||||
bool findDerivedSeq(derSeq &derivedGi);
|
bool findDerivedSeq(derSeq &derivedGi);
|
||||||
bool nextOrderGraph(derSeq &derivedGi);
|
bool nextOrderGraph(derSeq &derivedGi);
|
||||||
void addOutEdgesForConditionalJump(BB* pBB, int next_ip, LLInst *ll);
|
void addOutEdgesForConditionalJump(BB* pBB, int next_ip, LLInst *ll);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool decodeIndirectJMP(ICODE &pIcode, STATE *pstate, CALL_GRAPH *pcallGraph);
|
bool decodeIndirectJMP(ICODE &pIcode, STATE *pstate, CALL_GRAPH *pcallGraph);
|
||||||
bool decodeIndirectJMP2(ICODE &pIcode, STATE *pstate, CALL_GRAPH *pcallGraph);
|
bool decodeIndirectJMP2(ICODE &pIcode, STATE *pstate, CALL_GRAPH *pcallGraph);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user