-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
index.html
48 lines (45 loc) · 2.47 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>visulator</title>
<!-- Use minified version with shitload of stuff we don't need until we figure out why build.py fails
at least on OSX.
We cannot use the capstone package for node since that uses native bindings.
Additionally that server side module isn't working properly ATM due to ffi compatibility problems.
ffi isn't properly listed as a dependency and installing it causes errors most likely due to
function signature changes.
Instead we use lib/capstone as a wrapper to load it server side and browser side the same way.
We modified the minified capstone a bit to export itself whenever `module` exists.
-->
<script src="deps/capstone.js"></script>
<link rel="stylesheet" href="web/css/index.css" type="text/css" media="screen" charset="utf-8">
<link rel="stylesheet" href="web/css/odometer.css" type="text/css" media="screen" charset="utf-8">
</head>
<body>
<h2>visulator</h2>
<div class="content-left">
<span>Move the cursor below (↑ or ↓) to step</span>
<section id="asm-editor" class="asm-editor"></section>
<div class="opcodes">
<span>Opcodes</span>
<section id="byte-editor" class="byte-editor"></section>
</div>
</div>
<div class="content-right">
<section id="cpu" class="cpu"></section>
<section id="docs" class="docs"></section>
</div>
<script type="text/javascript" src="web/js/bundle.js"></script>
<!--<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-32151587-13', 'auto');
ga('send', 'pageview');
</script>
<a href="https://github.com/thlorenz/visulator"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a> -->
</body>
</html>