<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, &quot;EmojiFont&quot;, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0">Hi all,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">I want to get the base address (and possibly the total offset) of a pe loaded into memory. I noted that the &quot;osi_proc_struct&quot; doesn't have any field for this so the only solution I can figure out (at the moment) is to
 get all the memory pages related to the process I want to study and then extract the start of the first page from this list of pages. The pages can be accessed using the pointer &quot;OsiPage*&quot; which is a field of the struct &quot;osi_proc_struct&quot;, but I don't know
 if this method is correct and/or if other possible solutions exist.&nbsp;<span>Is there any way to do this?</span></p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Thanks,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Alessandro<br>
</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
</div>
</body>
</html>