A forum for reverse engineering, OS internals and malware analysis 

Ask your beginner questions here.
 #16827  by EP_X0FF
 Sat Nov 24, 2012 5:03 pm
kmd wrote:@EP_X0FF

do we really need such threads here?
Nope. Moved.
 #16828  by R00tKit
 Sat Nov 24, 2012 5:15 pm
MinPagingFileSize.QuadPart := $10000000000 * 20;
MaxPagingFileSize.QuadPart := $10000000000 * 20;
Soooo 400 gb PAge FIle
XDDDDDD
:mrgreen:
 #16832  by EP_X0FF
 Sun Nov 25, 2012 2:59 am
NtCl0$e wrote:MinPagingFileSize.QuadPart := $10000000000 * 20;
MaxPagingFileSize.QuadPart := $10000000000 * 20;
Soooo 400 gb PAge FIle
XDDDDDD
:mrgreen:
To be correct it's (2^40) * 20 = 20 Tib which is also amusing.

You know some sort of this old comedy :D
One guy asked how to calculate next date. The answer was genuis:
Code: Select all
void get_tomorrow_date (stuct timeval *date)
{
     sleep( 86400 ); //60 * 60 * 24
     gettimeofdate( date, 0);
}