aboutsummaryrefslogtreecommitdiffhomepage
path: root/binary
diff options
context:
space:
mode:
Diffstat (limited to 'binary')
-rw-r--r--binary/index.html6
-rw-r--r--binary/nm.html6
-rw-r--r--binary/objdump.html6
-rw-r--r--binary/od.html6
-rw-r--r--binary/readelf.html6
-rw-r--r--binary/xxd.html6
6 files changed, 30 insertions, 6 deletions
diff --git a/binary/index.html b/binary/index.html
index fdb346d..563fbd6 100644
--- a/binary/index.html
+++ b/binary/index.html
@@ -32,6 +32,7 @@
</head>
<body>
+ <div id="body-container">
<!-- Provide site root to javascript -->
<script>
var path_to_root = "../";
@@ -69,10 +70,12 @@
<!-- Hide / unhide sidebar before it is displayed -->
<script>
var html = document.querySelector('html');
- var sidebar = 'hidden';
+ var sidebar = null;
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
+ } else {
+ sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
@@ -201,5 +204,6 @@
<!-- Custom JS scripts -->
+ </div>
</body>
</html>
diff --git a/binary/nm.html b/binary/nm.html
index 5e34def..c06cdb8 100644
--- a/binary/nm.html
+++ b/binary/nm.html
@@ -32,6 +32,7 @@
</head>
<body>
+ <div id="body-container">
<!-- Provide site root to javascript -->
<script>
var path_to_root = "../";
@@ -69,10 +70,12 @@
<!-- Hide / unhide sidebar before it is displayed -->
<script>
var html = document.querySelector('html');
- var sidebar = 'hidden';
+ var sidebar = null;
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
+ } else {
+ sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
@@ -198,5 +201,6 @@
<!-- Custom JS scripts -->
+ </div>
</body>
</html>
diff --git a/binary/objdump.html b/binary/objdump.html
index e97b853..f84c054 100644
--- a/binary/objdump.html
+++ b/binary/objdump.html
@@ -32,6 +32,7 @@
</head>
<body>
+ <div id="body-container">
<!-- Provide site root to javascript -->
<script>
var path_to_root = "../";
@@ -69,10 +70,12 @@
<!-- Hide / unhide sidebar before it is displayed -->
<script>
var html = document.querySelector('html');
- var sidebar = 'hidden';
+ var sidebar = null;
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
+ } else {
+ sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
@@ -240,5 +243,6 @@ objdump -D -b binary -m i386:x86-64 test-bin
<!-- Custom JS scripts -->
+ </div>
</body>
</html>
diff --git a/binary/od.html b/binary/od.html
index 763b7d7..e0645f1 100644
--- a/binary/od.html
+++ b/binary/od.html
@@ -32,6 +32,7 @@
</head>
<body>
+ <div id="body-container">
<!-- Provide site root to javascript -->
<script>
var path_to_root = "../";
@@ -69,10 +70,12 @@
<!-- Hide / unhide sidebar before it is displayed -->
<script>
var html = document.querySelector('html');
- var sidebar = 'hidden';
+ var sidebar = null;
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
+ } else {
+ sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
@@ -234,5 +237,6 @@ the <code>.rodata</code> section as follows:</p>
<!-- Custom JS scripts -->
+ </div>
</body>
</html>
diff --git a/binary/readelf.html b/binary/readelf.html
index dad429c..db05bfc 100644
--- a/binary/readelf.html
+++ b/binary/readelf.html
@@ -32,6 +32,7 @@
</head>
<body>
+ <div id="body-container">
<!-- Provide site root to javascript -->
<script>
var path_to_root = "../";
@@ -69,10 +70,12 @@
<!-- Hide / unhide sidebar before it is displayed -->
<script>
var html = document.querySelector('html');
- var sidebar = 'hidden';
+ var sidebar = null;
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
+ } else {
+ sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
@@ -204,5 +207,6 @@
<!-- Custom JS scripts -->
+ </div>
</body>
</html>
diff --git a/binary/xxd.html b/binary/xxd.html
index 0b187c3..fe6d9ad 100644
--- a/binary/xxd.html
+++ b/binary/xxd.html
@@ -32,6 +32,7 @@
</head>
<body>
+ <div id="body-container">
<!-- Provide site root to javascript -->
<script>
var path_to_root = "../";
@@ -69,10 +70,12 @@
<!-- Hide / unhide sidebar before it is displayed -->
<script>
var html = document.querySelector('html');
- var sidebar = 'hidden';
+ var sidebar = null;
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
+ } else {
+ sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
@@ -219,5 +222,6 @@
<!-- Custom JS scripts -->
+ </div>
</body>
</html>