Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
horsicq committed Apr 30, 2019
1 parent 1d98240 commit 40eff1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions binary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1442,8 +1442,6 @@ bool Binary::compare(QString sSignature, unsigned int nOffset)
{
return false;
}


}
else if(sSignature.left(4)=="####")
{
Expand Down Expand Up @@ -1489,7 +1487,6 @@ bool Binary::compare(QString sSignature, unsigned int nOffset)
return true;
}


sSeq=sSignature.section("$",0,0);

if(sSeq.contains("#"))
Expand Down
6 changes: 4 additions & 2 deletions elffile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,17 @@ bool ELFFile::isValid()

bool ELFFile::isELF64()
{
bool bResult=false;

if(isValid())
{
if(getElfHeader_class()==2)
{
return true;
bResult=true;
}
}

return false;
return bResult;
}

bool ELFFile::isReverse()
Expand Down

0 comments on commit 40eff1a

Please sign in to comment.