Exploit databaseDownload repository ZIP
GH-50ee80e26410ce498b284a1b3270f257
enessar/libpng_oss-fuzz
Sources for CVE-2014-9495
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files6
enessar/libpng_oss-fuzzRevision 2551075e8ed1
- ↑..Parent directory
- src/
- directory_view_index.html
- file_view_index.html
- index.html
- report.html
- summary.json
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
part3/improve1/coverage_improve1/linux/file_view_index.html
HTML · 10,948 bytes<!doctype html>
<html>
<head>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<meta charset='UTF-8'>
<link rel='stylesheet' type='text/css' href='../style.css'>
<!-- Custom style overrides -->
<style>
/* Copyright 2018 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
th, td {
padding: 5px 16px;
}
tbody td, tfoot td {
font-size: 14px;
}
thead th {
font-size: 16px;
}
thead th, tfoot td {
background-color: #f5f5f5;
border-left: 1px solid #e4e4e4;
border-right: 1px solid #e4e4e4;
color: #484848;
text-transform: uppercase;
}
tbody tr:hover td, tfoot tr:hover td {
background-color: #f5f5f5;
border-color: #e4e4e4 !important;
}
</style>
</head>
<body>
<h2>Coverage Report</h2>
<p>
View results by:
<a href='directory_view_index.html'>Directories</a>
| <a href='file_view_index.html'>Files</a>
</p>
<div class='centered'><table>
<thead>
<tr>
<th class="column-entry-bold">Path</th>
<th class="column-entry-bold" onclick="sortTable(SORT_COLUMN.LINE)" title=
"Line coverage is the percentage of code lines which have been executed at least once. Only executable lines within function bodies are considered to be code lines.">
Line Coverage
</th>
<th class="column-entry-bold" onclick="sortTable(SORT_COLUMN.FUNCTION)" title=
"Function coverage is the percentage of functions which have been executed at least once. A function is considered to be executed if any of its instantiations are executed.">
Function Coverage
</th>
<th class="column-entry-bold" onclick="sortTable(SORT_COLUMN.REGION)" title=
"Region coverage is the percentage of code regions which have been executed at least once. A code region may span multiple lines (e.g in a large function body with no control flow). However, it's also possible for a single line to contain multiple code regions (e.g in 'return x || y && z').">
Region Coverage
</th>
</tr>
</thead>
<tbody>
<tr class="light-row">
<td>
<pre><a href='src/libpng/contrib/oss-fuzz/libpng_read_fuzzer.cc.html'>src/libpng/contrib/oss-fuzz/libpng_read_fuzzer.cc</a></pre>
</td>
<td class='column-entry-yellow'>
<pre> 84.62% (121/143)</pre>
</td>
<td class='column-entry-green'>
<pre>100.00% (5/5)</pre>
</td>
<td class='column-entry-red'>
<pre> 61.16% (148/242)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/png.c.html'>src/libpng/png.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 44.01% (750/1704)</pre>
</td>
<td class='column-entry-red'>
<pre> 56.72% (38/67)</pre>
</td>
<td class='column-entry-red'>
<pre> 43.51% (630/1448)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngerror.c.html'>src/libpng/pngerror.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 50.00% (197/394)</pre>
</td>
<td class='column-entry-red'>
<pre> 66.67% (18/27)</pre>
</td>
<td class='column-entry-red'>
<pre> 44.72% (144/322)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngget.c.html'>src/libpng/pngget.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 3.47% (26/749)</pre>
</td>
<td class='column-entry-red'>
<pre> 2.78% (2/72)</pre>
</td>
<td class='column-entry-red'>
<pre> 2.99% (26/870)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngmem.c.html'>src/libpng/pngmem.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 79.28% (88/111)</pre>
</td>
<td class='column-entry-yellow'>
<pre> 84.62% (11/13)</pre>
</td>
<td class='column-entry-red'>
<pre> 75.96% (79/104)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngread.c.html'>src/libpng/pngread.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 31.64% (712/2250)</pre>
</td>
<td class='column-entry-red'>
<pre> 52.63% (20/38)</pre>
</td>
<td class='column-entry-red'>
<pre> 31.72% (695/2191)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngrio.c.html'>src/libpng/pngrio.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 65.38% (17/26)</pre>
</td>
<td class='column-entry-green'>
<pre>100.00% (2/2)</pre>
</td>
<td class='column-entry-red'>
<pre> 61.54% (8/13)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngrtran.c.html'>src/libpng/pngrtran.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 30.73% (1044/3397)</pre>
</td>
<td class='column-entry-red'>
<pre> 54.17% (26/48)</pre>
</td>
<td class='column-entry-red'>
<pre> 33.74% (723/2143)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngrutil.c.html'>src/libpng/pngrutil.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 73.35% (1913/2608)</pre>
</td>
<td class='column-entry-yellow'>
<pre> 93.22% (55/59)</pre>
</td>
<td class='column-entry-red'>
<pre> 29.13% (1954/6707)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngset.c.html'>src/libpng/pngset.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 51.63% (587/1137)</pre>
</td>
<td class='column-entry-red'>
<pre> 48.98% (24/49)</pre>
</td>
<td class='column-entry-red'>
<pre> 53.01% (511/964)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngtrans.c.html'>src/libpng/pngtrans.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 25.51% (112/439)</pre>
</td>
<td class='column-entry-red'>
<pre> 23.81% (5/21)</pre>
</td>
<td class='column-entry-red'>
<pre> 26.73% (85/318)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngwio.c.html'>src/libpng/pngwio.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/30)</pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/3)</pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/16)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngwrite.c.html'>src/libpng/pngwrite.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/1324)</pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/42)</pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/1145)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngwtran.c.html'>src/libpng/pngwtran.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/404)</pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/5)</pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/203)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='src/libpng/pngwutil.c.html'>src/libpng/pngwutil.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/1618)</pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/54)</pre>
</td>
<td class='column-entry-red'>
<pre> 0.00% (0/1424)</pre>
</td>
</tr>
</tbody>
<tfoot>
<tr class="light-row-bold">
<td>
<pre>Totals</pre>
</td>
<td class='column-entry-red'>
<pre> 34.08% (5567/16334)</pre>
</td>
<td class='column-entry-red'>
<pre> 40.79% (206/505)</pre>
</td>
<td class='column-entry-red'>
<pre> 27.63% (5003/18110)</pre>
</td>
</tr>
</tfoot>
</table>
<script>
const SORT_COLUMN = {
LINE: 2,
FUNCTION: 3,
REGION: 4,
}
const SORT_TYPES = {
UNSET: -1,
PERCENT: 0,
AGGREGATE: 1,
}
var SORT_ORDER = {
[SORT_COLUMN.LINE]: [SORT_TYPES.UNSET],
[SORT_COLUMN.FUNCTION]: [SORT_TYPES.UNSET],
[SORT_COLUMN.REGION]: [SORT_TYPES.UNSET],
}
function sortTable(columnNumber) {
SORT_ORDER[columnNumber] = ++SORT_ORDER[columnNumber] % 2;
let columnSortOrder = SORT_ORDER[columnNumber];
let tbody = document.getElementsByTagName("tbody")[0];
[].slice.call(tbody.rows).sort(function(a, b) {
let aColumn = a.cells[columnNumber-1].textContent;
let bColumn = b.cells[columnNumber-1].textContent;
let aColumnCompare, bColumnCompare;
if (columnSortOrder == SORT_TYPES.PERCENT) {
aColumnCompare = parseFloat(/([0-9.]+)%/.exec(aColumn)[1]);
bColumnCompare = parseFloat(/([0-9.]+)%/.exec(bColumn)[1]);
} else {
aColumnCompare = parseInt(/\/(\d+)/.exec(aColumn)[1]);
bColumnCompare = parseInt(/\/(\d+)/.exec(bColumn)[1]);
}
return (
aColumnCompare < bColumnCompare ? -1:
aColumnCompare > bColumnCompare ? 1 : 0);
}).forEach(function(value, index) {
tbody.appendChild(value);
});
}
</script> </div>
</body>
</html>