Displaying 2 results from an estimated 2 matches for "x7felf".
Did you mean:
177elf
2008 Oct 26
1
[LLVMdev] Problem executing code with lli...
Hey all,
I am getting this weird error which suddenly popped up today.
Whenever I am trying to execute a piece of code using lli I get this following error.
Error loading program 'sample.bc': Invalid bytecode signature: 464C457F (Vers=0, Pos=4)
I dont know what to do..Please reply to this question. Please...
--
Abhinav Karhu
MS Computer Science
Georgia Institute of Technology
2005 Mar 06
1
testers sought for script to interpret ELF/klibc executables
...;
if (! open ($fh, "<", "$path")) {
print "$path: cant open\n";
return;
}
my $magic;
my $rc = read ($fh, $magic, 10);
if (! defined ($rc) || $rc != 10) {
print "$path: short header\n";
return;
}
if ($magic !~ /^\x7fELF(.)/) {
print "$path: bad magic\n";
return;
}
my $class = ord($1);
my ($ehdrPat, $ehdrSize, $phdrPat, $phdrSize, $phdrFields);
my $ehdrFields = [qw{
ident type machine version entry
phoff shoff flags ehsize
phentsize phnum shentsize
shnum shstrndx
}];
if ($class ==...