| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (18) --> |
| <title>CorruptImagePointer (OpenJ9 JDK 18)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: module: openj9.dtfj, package: com.ibm.dtfj.image.j9.corrupt, class: CorruptImagePointer"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <meta name="keywords" content="com.ibm.dtfj.image.j9.corrupt.CorruptImagePointer class"> |
| <meta name="keywords" content="add()"> |
| <meta name="keywords" content="getAddress()"> |
| <meta name="keywords" content="getAddressSpace()"> |
| <meta name="keywords" content="toString()"> |
| <meta name="keywords" content="getByteAt()"> |
| <meta name="keywords" content="getDoubleAt()"> |
| <meta name="keywords" content="getFloatAt()"> |
| <meta name="keywords" content="getIntAt()"> |
| <meta name="keywords" content="getLongAt()"> |
| <meta name="keywords" content="getPointerAt()"> |
| <meta name="keywords" content="getShortAt()"> |
| <meta name="keywords" content="isExecutable()"> |
| <meta name="keywords" content="isReadOnly()"> |
| <meta name="keywords" content="isShared()"> |
| <meta name="keywords" content="getProperties()"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../../script-dir/jquery-3.5.1.min.js"></script> |
| <script type="text/javascript" src="../../../../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"></span><span class="nav-bar-toggle-icon"></span><span class="nav-bar-toggle-icon"></span></button> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <div class="about-language"><div style="margin-top: 9px;"><strong>OpenJ9 JDK 18</strong></div></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../../../../index.html">Overview</a></li> |
| <li><a href="../../../../../../module-summary.html">Module</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="class-use/CorruptImagePointer.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| <ul class="sub-nav-list-small"> |
| <li> |
| <p>Summary:</p> |
| <ul> |
| <li>Nested</li> |
| <li>Field</li> |
| <li><a href="#constructor-summary">Constr</a></li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| </li> |
| <li> |
| <p>Detail:</p> |
| <ul> |
| <li>Field</li> |
| <li><a href="#constructor-detail">Constr</a></li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div id="navbar-sub-list"> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" disabled placeholder="Search"> |
| <input type="reset" id="reset-button" disabled value="reset"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="module-label-in-type">Module</span> <a href="../../../../../../module-summary.html">openj9.dtfj</a></div> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">com.ibm.dtfj.image.j9.corrupt</a></div> |
| <h1 title="Class CorruptImagePointer" class="title">Class CorruptImagePointer</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">java.lang.Object</a> |
| <div class="inheritance">com.ibm.dtfj.image.j9.corrupt.CorruptImagePointer</div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">CorruptImagePointer</span> |
| <span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a> |
| implements <a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></span></div> |
| <div class="block">Class to represent a corrupt pointer and can be used to populate a corrupt data exception. |
| It will throw exceptions if an attempt is made to read data using it.</div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(long,com.ibm.dtfj.image.ImageAddressSpace)" class="member-name-link">CorruptImagePointer</a><wbr>(long address, |
| <a href="../../ImageAddressSpace.html" title="interface in com.ibm.dtfj.image">ImageAddressSpace</a> memory)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#add(long)" class="member-name-link">add</a><wbr>(long offset)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Build a new image pointer offset from this one by the given amount.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAddress()" class="member-name-link">getAddress</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the unwrapped address, represented as a Java long.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../ImageAddressSpace.html" title="interface in com.ibm.dtfj.image">ImageAddressSpace</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAddressSpace()" class="member-name-link">getAddressSpace</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the address space to which this pointer belongs.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>byte</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getByteAt(long)" class="member-name-link">getByteAt</a><wbr>(long index)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDoubleAt(long)" class="member-name-link">getDoubleAt</a><wbr>(long index)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>float</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFloatAt(long)" class="member-name-link">getFloatAt</a><wbr>(long index)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntAt(long)" class="member-name-link">getIntAt</a><wbr>(long index)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLongAt(long)" class="member-name-link">getLongAt</a><wbr>(long index)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPointerAt(long)" class="member-name-link">getPointerAt</a><wbr>(long index)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/util/Properties.html" title="class or interface in java.util" class="external-link" target="_blank">Properties</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getProperties()" class="member-name-link">getProperties</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the OS-specific properties for this address</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>short</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getShortAt(long)" class="member-name-link">getShortAt</a><wbr>(long index)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isExecutable()" class="member-name-link">isExecutable</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Tests memory execute permission.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isReadOnly()" class="member-name-link">isReadOnly</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Tests memory read/write permission.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isShared()" class="member-name-link">isShared</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Tests memory shared permission.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods declared in class java.lang.<a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link" target="_blank">clone</a>, <a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link" target="_blank">equals</a>, <a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link" target="_blank">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link" target="_blank">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link" target="_blank">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link" target="_blank">notify</a>, <a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link" target="_blank">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link" target="_blank">toString</a>, <a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link" target="_blank">wait</a>, <a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link" target="_blank">wait</a>, <a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link" target="_blank">wait</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-com.ibm.dtfj.image.ImagePointer">Methods declared in interface com.ibm.dtfj.image.<a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></h3> |
| <code><a href="../../ImagePointer.html#equals(java.lang.Object)">equals</a>, <a href="../../ImagePointer.html#hashCode()">hashCode</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(long,com.ibm.dtfj.image.ImageAddressSpace)"> |
| <h3>CorruptImagePointer</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CorruptImagePointer</span><wbr><span class="parameters">(long address, |
| <a href="../../ImageAddressSpace.html" title="interface in com.ibm.dtfj.image">ImageAddressSpace</a> memory)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="add(long)"> |
| <h3>add</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></span> <span class="element-name">add</span><wbr><span class="parameters">(long offset)</span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#add(long)">ImagePointer</a></code></span></div> |
| <div class="block">Build a new image pointer offset from this one by the given amount.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#add(long)">add</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>offset</code> - Offset in bytes.</dd> |
| <dt>Returns:</dt> |
| <dd>a new ImagePointer based at getAddress() + offset</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getAddress()"> |
| <h3>getAddress</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getAddress</span>()</div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#getAddress()">ImagePointer</a></code></span></div> |
| <div class="block"><p>Get the unwrapped address, represented as a Java long.</p> |
| <p> Use caution when comparing addresses, as some addresses may be |
| negative. </p> |
| <p>Note that, on segmented memory architectures, it may not be |
| possible to represent all addresses accurately as integers.</p></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#getAddress()">getAddress</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>the unwrapped address, represented as a 64-bit integer.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getAddressSpace()"> |
| <h3>getAddressSpace</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../ImageAddressSpace.html" title="interface in com.ibm.dtfj.image">ImageAddressSpace</a></span> <span class="element-name">getAddressSpace</span>()</div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#getAddressSpace()">ImagePointer</a></code></span></div> |
| <div class="block">Get the address space to which this pointer belongs.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#getAddressSpace()">getAddressSpace</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>the address space to which this pointer belongs.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getByteAt(long)"> |
| <h3>getByteAt</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">byte</span> <span class="element-name">getByteAt</span><wbr><span class="parameters">(long index)</span> |
| throws <span class="exceptions"><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>, |
| <a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#getByteAt(long)">ImagePointer</a></code></span></div> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#getByteAt(long)">getByteAt</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>index</code> - an offset (in bytes) from the current position</dd> |
| <dt>Returns:</dt> |
| <dd>the 8-bit byte stored at getAddress() + index</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd> |
| <dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getDoubleAt(long)"> |
| <h3>getDoubleAt</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">double</span> <span class="element-name">getDoubleAt</span><wbr><span class="parameters">(long index)</span> |
| throws <span class="exceptions"><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>, |
| <a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#getDoubleAt(long)">ImagePointer</a></code></span></div> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#getDoubleAt(long)">getDoubleAt</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>index</code> - an offset (in bytes) from the current position</dd> |
| <dt>Returns:</dt> |
| <dd>the 64-bit double stored at getAddress() + index</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd> |
| <dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getFloatAt(long)"> |
| <h3>getFloatAt</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">float</span> <span class="element-name">getFloatAt</span><wbr><span class="parameters">(long index)</span> |
| throws <span class="exceptions"><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>, |
| <a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#getFloatAt(long)">ImagePointer</a></code></span></div> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#getFloatAt(long)">getFloatAt</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>index</code> - an offset (in bytes) from the current position</dd> |
| <dt>Returns:</dt> |
| <dd>the 32-bit float stored at getAddress() + index</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd> |
| <dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getIntAt(long)"> |
| <h3>getIntAt</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getIntAt</span><wbr><span class="parameters">(long index)</span> |
| throws <span class="exceptions"><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>, |
| <a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#getIntAt(long)">ImagePointer</a></code></span></div> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#getIntAt(long)">getIntAt</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>index</code> - an offset (in bytes) from the current position</dd> |
| <dt>Returns:</dt> |
| <dd>the 32-bit int stored at getAddress() + index</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd> |
| <dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getLongAt(long)"> |
| <h3>getLongAt</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getLongAt</span><wbr><span class="parameters">(long index)</span> |
| throws <span class="exceptions"><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>, |
| <a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#getLongAt(long)">ImagePointer</a></code></span></div> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#getLongAt(long)">getLongAt</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>index</code> - an offset (in bytes) from the current position</dd> |
| <dt>Returns:</dt> |
| <dd>the 64-bit long stored at getAddress() + index</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd> |
| <dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getPointerAt(long)"> |
| <h3>getPointerAt</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></span> <span class="element-name">getPointerAt</span><wbr><span class="parameters">(long index)</span> |
| throws <span class="exceptions"><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>, |
| <a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#getPointerAt(long)">ImagePointer</a></code></span></div> |
| <div class="block">Get the value at the given offset from this pointer. To determine the number of bytes to skip after this |
| call to read the next value, use <code>ImageProcess.getPointerSize()</code>. Note: to create an |
| ImagePointer using an absolute address use <code>com.ibm.dtfj.image.ImageAddressSpace.getPointer()</code></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#getPointerAt(long)">getPointerAt</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>index</code> - an offset (in bytes) from the current position</dd> |
| <dt>Returns:</dt> |
| <dd>the 32 or 64-bit pointer stored at getAddress() + index</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd> |
| <dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="../../ImageProcess.html#getPointerSize()"><code>ImageProcess.getPointerSize()</code></a></li> |
| <li><a href="../../ImageAddressSpace.html#getPointer(long)"><code>ImageAddressSpace.getPointer(long)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getShortAt(long)"> |
| <h3>getShortAt</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">short</span> <span class="element-name">getShortAt</span><wbr><span class="parameters">(long index)</span> |
| throws <span class="exceptions"><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>, |
| <a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#getShortAt(long)">ImagePointer</a></code></span></div> |
| <div class="block">Get the value at the given offset from this pointer.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#getShortAt(long)">getShortAt</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>index</code> - an offset (in bytes) from the current position</dd> |
| <dt>Returns:</dt> |
| <dd>the 16-bit short stored at getAddress() + index</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="../../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd> |
| <dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isExecutable()"> |
| <h3>isExecutable</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isExecutable</span>() |
| throws <span class="exceptions"><a href="../../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#isExecutable()">ImagePointer</a></code></span></div> |
| <div class="block">Tests memory execute permission.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#isExecutable()">isExecutable</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if this memory address is within an executable page.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="../../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isReadOnly()"> |
| <h3>isReadOnly</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isReadOnly</span>() |
| throws <span class="exceptions"><a href="../../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#isReadOnly()">ImagePointer</a></code></span></div> |
| <div class="block">Tests memory read/write permission.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#isReadOnly()">isReadOnly</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if this memory address is read-only. False otherwise.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="../../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isShared()"> |
| <h3>isShared</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isShared</span>() |
| throws <span class="exceptions"><a href="../../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#isShared()">ImagePointer</a></code></span></div> |
| <div class="block">Tests memory shared permission.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#isShared()">isShared</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if this memory address is shared between processes.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="../../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getProperties()"> |
| <h3>getProperties</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/util/Properties.html" title="class or interface in java.util" class="external-link" target="_blank">Properties</a></span> <span class="element-name">getProperties</span>()</div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="../../ImagePointer.html#getProperties()">ImagePointer</a></code></span></div> |
| <div class="block">Get the OS-specific properties for this address</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../../ImagePointer.html#getProperties()">getProperties</a></code> in interface <code><a href="../../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>a table of OS-specific properties for this address. |
| Values which are commonly available include |
| <ul> |
| <li>"readable" -- whether the memory address can be read from</li> |
| <li>"writable" -- whether the memory address can be written to</li> |
| <li>"executable" -- whether data in the memory address can be executed</li> |
| </ul></dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small><a href="https://www.eclipse.org/openj9/" target="_blank">Eclipse OpenJ9 website.</a><br> To raise a bug report or suggest an improvement create an <a href="https://github.com/eclipse-openj9/openj9/issues" target="_blank">Eclipse Openj9 issue.</a><br> Copyright © 1998, 2022 IBM Corp. and others.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |