diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-07 15:08:54 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-07 15:08:54 -0700 |
commit | 608a7fa8d0faf9a3e3d182d9eabe969804443aab (patch) | |
tree | 7e1934d9ef0e8372381c306312591235c4f27110 /html/subx/019functions.cc.html | |
parent | a6517ed821ff39fa56eb3b975799d22497d78a48 (diff) | |
download | mu-608a7fa8d0faf9a3e3d182d9eabe969804443aab.tar.gz |
4536
Diffstat (limited to 'html/subx/019functions.cc.html')
-rw-r--r-- | html/subx/019functions.cc.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/html/subx/019functions.cc.html b/html/subx/019functions.cc.html index 22830fed..bac71cb5 100644 --- a/html/subx/019functions.cc.html +++ b/html/subx/019functions.cc.html @@ -3,7 +3,7 @@ <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Mu - subx/019functions.cc</title> -<meta name="Generator" content="Vim/7.4"> +<meta name="Generator" content="Vim/8.0"> <meta name="plugin-version" content="vim7.4_v2"> <meta name="syntax" content="cpp"> <meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> @@ -15,18 +15,18 @@ body { font-size: 12pt; font-family: monospace; color: #aaaaaa; background-color a { color:#eeeeee; text-decoration: none; } a:hover { text-decoration: underline; } * { font-size: 12pt; font-size: 1em; } -.Constant { color: #00a0a0; } -.Special { color: #c00000; } -.SalientComment { color: #00ffff; } -.Delimiter { color: #800080; } -.LineNr { color: #444444; } .CommentedCode { color: #6c6c6c; } -.Comment { color: #9090ff; } -.Comment a { color:#0000ee; text-decoration:underline; } -.PreProc { color: #800080; } .traceContains { color: #008000; } +.PreProc { color: #800080; } +.LineNr { color: #444444; } +.Constant { color: #00a0a0; } +.Delimiter { color: #800080; } +.Special { color: #c00000; } .Identifier { color: #c0a020; } .Normal { color: #aaaaaa; background-color: #080808; padding-bottom: 1px; } +.Comment { color: #9090ff; } +.Comment a { color:#0000ee; text-decoration:underline; } +.SalientComment { color: #00ffff; } --> </style> @@ -72,17 +72,17 @@ if ('onhashchange' in window) { <span id="L9" class="LineNr"> 9 </span><span class="Comment"># op ModR/M SIB displacement immediate</span> <span id="L10" class="LineNr">10 </span> e8 a0 <span class="PreProc">0</span><span class="Constant">0</span> <span class="PreProc">0</span><span class="Constant">0</span> <span class="PreProc">0</span><span class="Constant">0</span> <span class="Comment"># call function offset at 0x000000a0</span> <span id="L11" class="LineNr">11 </span> <span class="Comment"># next EIP is 6</span> -<span id="L12" class="LineNr">12 </span><span class="traceContains">+run: call <a href='011run.cc.html#L292'>imm32</a> 0x000000a0</span> +<span id="L12" class="LineNr">12 </span><span class="traceContains">+run: call <a href='011run.cc.html#L299'>imm32</a> 0x000000a0</span> <span id="L13" class="LineNr">13 </span><span class="traceContains">+run: decrementing <a href='010---vm.cc.html#L17'>ESP</a> to 0x00000060</span> <span id="L14" class="LineNr">14 </span><span class="traceContains">+run: pushing value 0x00000006</span> <span id="L15" class="LineNr">15 </span><span class="traceContains">+run: jumping to 0x000000a6</span> <span id="L16" class="LineNr">16 </span> <span id="L17" class="LineNr">17 </span><span class="Delimiter">:(before "End Single-Byte Opcodes")</span> <span id="L18" class="LineNr">18 </span><span class="Normal">case</span> <span class="Constant">0xe8</span>: <span class="Delimiter">{</span> <span class="Comment">// call disp32 relative to next EIP</span> -<span id="L19" class="LineNr">19 </span> <span class="Normal">int32_t</span> offset = <a href='011run.cc.html#L292'>imm32</a><span class="Delimiter">();</span> -<span id="L20" class="LineNr">20 </span> <a href='003trace.cc.html#L196'>trace</a><span class="Delimiter">(</span><span class="Constant">90</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"call <a href='011run.cc.html#L292'>imm32</a> 0x"</span> << <a href='010---vm.cc.html#L260'>HEXWORD</a> << offset << <a href='003trace.cc.html#L222'>end</a><span class="Delimiter">();</span> +<span id="L19" class="LineNr">19 </span> <span class="Normal">int32_t</span> offset = <a href='011run.cc.html#L299'>imm32</a><span class="Delimiter">();</span> +<span id="L20" class="LineNr">20 </span> <a href='003trace.cc.html#L196'>trace</a><span class="Delimiter">(</span><span class="Constant">90</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"call <a href='011run.cc.html#L299'>imm32</a> 0x"</span> << <a href='010---vm.cc.html#L260'>HEXWORD</a> << offset << <a href='003trace.cc.html#L222'>end</a><span class="Delimiter">();</span> <span id="L21" class="LineNr">21 </span><span class="CommentedCode">//? cerr << "push: EIP: " << EIP << " => " << Reg[ESP].u << '\n';</span> -<span id="L22" class="LineNr">22 </span> <a href='013direct_addressing.cc.html#L371'>push</a><span class="Delimiter">(</span><a href='010---vm.cc.html#L29'>EIP</a><span class="Delimiter">);</span> +<span id="L22" class="LineNr">22 </span> <a href='012elf.cc.html#L85'>push</a><span class="Delimiter">(</span><a href='010---vm.cc.html#L29'>EIP</a><span class="Delimiter">);</span> <span id="L23" class="LineNr">23 </span> <a href='010---vm.cc.html#L29'>EIP</a> += offset<span class="Delimiter">;</span> <span id="L24" class="LineNr">24 </span> <a href='003trace.cc.html#L196'>trace</a><span class="Delimiter">(</span><span class="Constant">90</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jumping to 0x"</span> << <a href='010---vm.cc.html#L260'>HEXWORD</a> << <a href='010---vm.cc.html#L29'>EIP</a> << <a href='003trace.cc.html#L222'>end</a><span class="Delimiter">();</span> <span id="L25" class="LineNr">25 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> @@ -107,7 +107,7 @@ if ('onhashchange' in window) { <span id="L44" class="LineNr">44 </span><span class="Normal">case</span> <span class="Constant">2</span>: <span class="Delimiter">{</span> <span class="Comment">// call function pointer at r/m32</span> <span id="L45" class="LineNr">45 </span> <a href='003trace.cc.html#L196'>trace</a><span class="Delimiter">(</span><span class="Constant">90</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"call to r/m32"</span> << <a href='003trace.cc.html#L222'>end</a><span class="Delimiter">();</span> <span id="L46" class="LineNr">46 </span> <span class="Normal">int32_t</span>* offset = <a href='013direct_addressing.cc.html#L31'>effective_address</a><span class="Delimiter">(</span>modrm<span class="Delimiter">);</span> -<span id="L47" class="LineNr">47 </span> <a href='013direct_addressing.cc.html#L371'>push</a><span class="Delimiter">(</span><a href='010---vm.cc.html#L29'>EIP</a><span class="Delimiter">);</span> +<span id="L47" class="LineNr">47 </span> <a href='012elf.cc.html#L85'>push</a><span class="Delimiter">(</span><a href='010---vm.cc.html#L29'>EIP</a><span class="Delimiter">);</span> <span id="L48" class="LineNr">48 </span> <a href='010---vm.cc.html#L29'>EIP</a> += *offset<span class="Delimiter">;</span> <span id="L49" class="LineNr">49 </span> <a href='003trace.cc.html#L196'>trace</a><span class="Delimiter">(</span><span class="Constant">90</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jumping to 0x"</span> << <a href='010---vm.cc.html#L260'>HEXWORD</a> << <a href='010---vm.cc.html#L29'>EIP</a> << <a href='003trace.cc.html#L222'>end</a><span class="Delimiter">();</span> <span id="L50" class="LineNr">50 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> @@ -147,7 +147,7 @@ if ('onhashchange' in window) { <span id="L84" class="LineNr">84 </span><span class="Delimiter">:(before "End Single-Byte Opcodes")</span> <span id="L85" class="LineNr">85 </span><span class="Normal">case</span> <span class="Constant">0xc3</span>: <span class="Delimiter">{</span> <span class="Comment">// return from a call</span> <span id="L86" class="LineNr">86 </span> <a href='003trace.cc.html#L196'>trace</a><span class="Delimiter">(</span><span class="Constant">90</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"return"</span> << <a href='003trace.cc.html#L222'>end</a><span class="Delimiter">();</span> -<span id="L87" class="LineNr">87 </span> <a href='010---vm.cc.html#L29'>EIP</a> = <a href='013direct_addressing.cc.html#L419'>pop</a><span class="Delimiter">();</span> +<span id="L87" class="LineNr">87 </span> <a href='010---vm.cc.html#L29'>EIP</a> = <a href='013direct_addressing.cc.html#L412'>pop</a><span class="Delimiter">();</span> <span id="L88" class="LineNr">88 </span> <a href='003trace.cc.html#L196'>trace</a><span class="Delimiter">(</span><span class="Constant">90</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jumping to 0x"</span> << <a href='010---vm.cc.html#L260'>HEXWORD</a> << <a href='010---vm.cc.html#L29'>EIP</a> << <a href='003trace.cc.html#L222'>end</a><span class="Delimiter">();</span> <span id="L89" class="LineNr">89 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L90" class="LineNr">90 </span><span class="Delimiter">}</span> |