90 lines
2.8 KiB
HTML
90 lines
2.8 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
||
|
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||
|
<meta name="generator" content="AsciiDoc 8.6.9" />
|
||
|
<title>Shellcode Compiler Runtime</title>
|
||
|
<link rel="stylesheet" href="lib/v35.css" type="text/css" />
|
||
|
<link rel="stylesheet" href="lib/layout2v35.css" type="text/css" />
|
||
|
<script type="text/javascript" src="lib/asciidoc.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
/*<![CDATA[*/
|
||
|
asciidoc.install();
|
||
|
/*]]>*/
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="layout-menu-box">
|
||
|
<div id="layout-menu">
|
||
|
<div>»<a href="index.html">Home</a></div>
|
||
|
<div>»<a href="examples.html">Examples</a></div>
|
||
|
<div>»<a href="scc.html">Invocation</a></div>
|
||
|
<div>»<a href="runtime.html">Runtime Library</a></div>
|
||
|
<div>»<a href="python.html">Python Bindings</a></div>
|
||
|
<div>»<a href="issues.html">Known Issues</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="layout-content-box">
|
||
|
<div id="layout-banner">
|
||
|
<div id="layout-title">Shellcode Compiler</div>
|
||
|
<div id="layout-description">A custom shellcode compiler for Binary Ninja</div>
|
||
|
</div>
|
||
|
<div id="layout-content">
|
||
|
<div id="header">
|
||
|
<h1>Format specifier reference</h1>
|
||
|
</div>
|
||
|
<div id="content">
|
||
|
<div id="preamble">
|
||
|
<div class="sectionbody">
|
||
|
<div class="paragraph"><p>The Shellcode Compiler supports a subset of the standard <span class="monospaced">printf</span> format specifiers. The following
|
||
|
specifiers are supported:</p></div>
|
||
|
<div class="ulist"><ul>
|
||
|
<li>
|
||
|
<p>
|
||
|
<span class="monospaced">%s</span>: String argument
|
||
|
</p>
|
||
|
</li>
|
||
|
<li>
|
||
|
<p>
|
||
|
<span class="monospaced">%d</span>: 32-bit signed integer argument (decimal)
|
||
|
</p>
|
||
|
</li>
|
||
|
<li>
|
||
|
<p>
|
||
|
<span class="monospaced">%u</span>: 32-bit unsigned integer argument (decimal)
|
||
|
</p>
|
||
|
</li>
|
||
|
<li>
|
||
|
<p>
|
||
|
<span class="monospaced">%x</span>: Native integer in lowercase hexadecimal
|
||
|
</p>
|
||
|
</li>
|
||
|
<li>
|
||
|
<p>
|
||
|
<span class="monospaced">%X</span>: Native integer in uppercase hexadecimal
|
||
|
</p>
|
||
|
</li>
|
||
|
</ul></div>
|
||
|
<div class="paragraph"><p>Field width specifiers are supported, along with the "<span class="monospaced">-</span>" sign for left alignment. No other modifiers are supported.</p></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="sect1">
|
||
|
<h2 id="_see_also">See also</h2>
|
||
|
<div class="sectionbody">
|
||
|
<div class="paragraph"><p><a href="fprintf.html">fprintf</a>,
|
||
|
<a href="printf.html">printf</a>,
|
||
|
<a href="sprintf.html">sprintf</a>,
|
||
|
<a href="snprintf.html">snprintf</a>,
|
||
|
<a href="vfprintf.html">vfprintf</a>,
|
||
|
<a href="vsprintf.html">vfprintf</a>,
|
||
|
<a href="vsnprintf.html">vfprintf</a></p></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="footnotes"><hr /></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|