2023-06-19 15:52:21 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Decompilation Status</title>
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
background: #202020;
|
|
|
|
color: #f0f0f0;
|
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main {
|
|
|
|
width: 800px;
|
|
|
|
max-width: 100%;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background: #303030;
|
|
|
|
color: #f0f0f0;
|
|
|
|
border: 1px #f0f0f0 solid;
|
|
|
|
padding: 0.5em;
|
|
|
|
border-radius: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search::placeholder {
|
|
|
|
color: #b0b0b0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#listing {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
.funcrow:hover {
|
|
|
|
background: #404040 !important;
|
|
|
|
}
|
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
.funcrow:nth-child(odd of :not([hidden])), #listing > thead th {
|
2023-06-19 15:52:21 -04:00
|
|
|
background: #282828;
|
|
|
|
}
|
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
.funcrow:nth-child(even of :not([hidden])) {
|
2023-06-19 15:52:21 -04:00
|
|
|
background: #383838;
|
|
|
|
}
|
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
.funcrow > td, .diffRow > td, #listing > thead th {
|
2023-06-19 15:52:21 -04:00
|
|
|
border: 1px #f0f0f0 solid;
|
|
|
|
padding: 0.5em;
|
2024-02-13 18:34:14 -05:00
|
|
|
word-break: break-all !important;
|
2023-06-19 15:52:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.diffneg {
|
|
|
|
color: #FF8080;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffpos {
|
|
|
|
color: #80FF80;
|
|
|
|
}
|
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
.diffslug {
|
|
|
|
color: #8080FF;
|
|
|
|
}
|
|
|
|
|
2023-11-22 02:52:57 -05:00
|
|
|
.identical {
|
|
|
|
font-style: italic;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
sort-indicator {
|
2023-06-19 15:52:21 -04:00
|
|
|
margin: 0 0.5em;
|
|
|
|
}
|
2023-06-21 17:43:01 -04:00
|
|
|
|
|
|
|
.filters {
|
2024-02-20 02:56:33 -05:00
|
|
|
align-items: top;
|
|
|
|
display: flex;
|
2023-06-21 17:43:01 -04:00
|
|
|
font-size: 10pt;
|
2024-02-20 02:56:33 -05:00
|
|
|
justify-content: space-between;
|
2023-06-21 17:43:01 -04:00
|
|
|
margin: 0.5em 0 1em 0;
|
|
|
|
}
|
2023-06-19 15:52:21 -04:00
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
.filters > fieldset {
|
|
|
|
/* checkbox and radio buttons v-aligned with text */
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2023-11-22 02:52:57 -05:00
|
|
|
}
|
2023-06-19 15:52:21 -04:00
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
.filters > fieldset > label {
|
|
|
|
margin-right: 10px;
|
2023-11-22 02:52:57 -05:00
|
|
|
}
|
2023-06-19 15:52:21 -04:00
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
table.diffTable {
|
|
|
|
border-collapse: collapse;
|
2023-06-19 15:52:21 -04:00
|
|
|
}
|
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
table.diffTable:not(:last-child) {
|
|
|
|
/* visual gap *between* diff context groups */
|
|
|
|
margin-bottom: 40px;
|
2023-06-19 15:52:21 -04:00
|
|
|
}
|
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
table.diffTable td, table.diffTable th {
|
|
|
|
border: 0 none;
|
|
|
|
padding: 0 10px 0 0;
|
2023-06-19 15:52:21 -04:00
|
|
|
}
|
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
table.diffTable th {
|
|
|
|
/* don't break address if asm line is long */
|
|
|
|
word-break: keep-all;
|
2023-06-19 15:52:21 -04:00
|
|
|
}
|
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
diff-display[data-option="0"] th:nth-child(1) {
|
|
|
|
display: none;
|
2023-06-19 15:52:21 -04:00
|
|
|
}
|
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
diff-display[data-option="0"] th:nth-child(2),
|
|
|
|
diff-display[data-option="1"] th:nth-child(2) {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-02-13 20:25:51 -05:00
|
|
|
|
2024-02-20 02:56:33 -05:00
|
|
|
label {
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script>var data = {{{data}}};</script>
|
|
|
|
<script>{{{reccmp_js}}}</script>
|
2023-06-19 15:52:21 -04:00
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="main">
|
|
|
|
<h1>Decompilation Status</h1>
|
2024-02-20 02:56:33 -05:00
|
|
|
<listing-table>
|
|
|
|
<input id="search" type="search" placeholder="Search for offset or function name...">
|
|
|
|
<div class="filters">
|
|
|
|
<fieldset>
|
|
|
|
<legend>Options:</legend>
|
|
|
|
<input type="checkbox" id="cbHidePerfect" />
|
|
|
|
<label for="cbHidePerfect">Hide 100% match</label>
|
|
|
|
<input type="checkbox" id="cbHideStub" />
|
|
|
|
<label for="cbHideStub">Hide stubs</label>
|
|
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
|
|
<legend>Search filters on:</legend>
|
|
|
|
<input type="radio" name="filterType" id="filterName" value=1 checked />
|
|
|
|
<label for="filterName">Name/address</label>
|
|
|
|
<input type="radio" name="filterType" id="filterAsm" value=2 />
|
|
|
|
<label for="filterAsm">Asm output</label>
|
|
|
|
<input type="radio" name="filterType" id="filterDiff" value=3 />
|
|
|
|
<label for="filterDiff">Asm diffs only</label>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
<p>Results: <span id="rowcount"></span></p>
|
|
|
|
<table id="listing">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th data-col="address" style="width: 20%">Address<sort-indicator/></th>
|
|
|
|
<th data-col="name" style="width: 60%">Name<sort-indicator/></th>
|
|
|
|
<th data-col="matching" style="width: 20%">Matching<sort-indicator/></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</listing-table>
|
2023-06-19 15:52:21 -04:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|