mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Added tests for ELF-Info
This commit is contained in:
parent
1ab444bda2
commit
64eae37788
3 changed files with 442 additions and 1 deletions
|
@ -125,7 +125,7 @@ class ELFInfo extends Operation {
|
|||
ehResult.push("Format:".padEnd(align) + `${format === 1 ? "32-bit" : "64-bit"}`);
|
||||
|
||||
endianness = stream.readInt(1) === 1 ? "le" : "be";
|
||||
ehResult.push("Endianness:".padEnd(align) + `${endianness === 1 ? "Little" : "Big"}`);
|
||||
ehResult.push("Endianness:".padEnd(align) + `${endianness === "le" ? "Little" : "Big"}`);
|
||||
|
||||
ehResult.push("Version:".padEnd(align) + `${stream.readInt(1).toString()}`);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue