search for: ehsize

Displaying 1 result from an estimated 1 matches for "ehsize".

Did you mean: hsize
2005 Mar 06
1
testers sought for script to interpret ELF/klibc executables
...;$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 == ELFCLASS32) { $ehdrSize = SZ_ELF32HDR; $ehdrPat = "a[16] SS LL LL L SSSSSS"; $phdrSize = SZ_ELF32PHDR; $phdrPat = "LL LL LL LL"; $phdrFields = [qw{ type offset vaddr paddr filesz memsz flags ali...