Looks like this is how you identify executables in ELF.
llvm-svn: 110641
This commit is contained in:
@@ -148,8 +148,7 @@ ObjectFileELF::~ObjectFileELF()
|
||||
bool
|
||||
ObjectFileELF::IsExecutable() const
|
||||
{
|
||||
// FIXME: How is this marked in ELF?
|
||||
return false;
|
||||
return m_header.e_type == ET_EXEC;
|
||||
}
|
||||
|
||||
ByteOrder
|
||||
|
||||
Reference in New Issue
Block a user