From 9364642b9958c045a42dbb2d321ca39551e36389 Mon Sep 17 00:00:00 2001 From: Ruslan Akbashev Date: Wed, 4 Aug 2021 22:41:49 +0300 Subject: [PATCH] update hello_world to elfcat 0.1.5 release --- elfcat/hello_world.html | 97 +++++++++++++++++++++++++++++++++-------- 1 file changed, 78 insertions(+), 19 deletions(-) diff --git a/elfcat/hello_world.html b/elfcat/hello_world.html index 96f08a5..bd96613 100644 --- a/elfcat/hello_world.html +++ b/elfcat/hello_world.html @@ -116,14 +116,15 @@ border: 1px solid; display: inline-block; word-break: break-word; - /* 16 bytes * (2 chars per byte + 1 space) - 1 final space + 1 due to a bug in chrome, where if - * you set width to X ch and put X characters, it may or may not wrap. */ - width: 48ch; + /* 16 bytes * (2 chars per byte + 1 space) - 1 final space */ + width: 47ch; + white-space: pre; } #ascii { border: 1px solid; display: inline-block; width: 16ch; + white-space: pre; } #vmap { border: 1px solid; @@ -236,7 +237,7 @@
- generated with elfcat 0.1.4 + generated with elfcat 0.1.5
@@ -269,9 +270,60 @@ Program headers: 1 * 56 @ 64 Section headers: 6 * 64 @ 424 -
-
-7f  E  L  F 02 01 01 00 00 00 00 00 00 00 00 00 +
+ 0
+ 10
+ 20
+ 30
+ 40
+ 50
+ 60
+ 70
+ 80
+ 90
+ a0
+ b0
+ c0
+ d0
+ e0
+ f0
+ 100
+ 110
+ 120
+ 130
+ 140
+ 150
+ 160
+ 170
+ 180
+ 190
+ 1a0
+ 1b0
+ 1c0
+ 1d0
+ 1e0
+ 1f0
+ 200
+ 210
+ 220
+ 230
+ 240
+ 250
+ 260
+ 270
+ 280
+ 290
+ 2a0
+ 2b0
+ 2c0
+ 2d0
+ 2e0
+ 2f0
+ 300
+ 310
+ 320
+
+
7f  E  L  F 02 01 01 00 00 00 00 00 00 00 00 00 02 00 3e 00 01 00 00 00 80 00 01 00 00 00 00 00 40 00 00 00 00 00 00 00 a8 01 00 00 00 00 00 00 00 00 00 00 40 00 38 00 01 00 40 00 06 00 05 00 @@ -322,8 +374,7 @@ 7e 01 00 00 00 00 00 00 27 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-
-.ELF............ +
.ELF............ ..>............. @............... ....@.8...@..... @@ -371,7 +422,7 @@ ................ ................ ................ -~.......'....... +~.......'....... ................ ........
@@ -774,9 +825,12 @@ document.getElementById('offsets').innerHTML = elements; } - populateOffsets(16)