Skip to content
Snippets Groups Projects
Commit fbcde6bd authored by clc5q's avatar clc5q
Browse files

Increase x86-64 entropy to 52 bits.

Former-commit-id: c42b557c83c2007d6e1a04696e2513ebb2810d33
parent 312a8378
No related branches found
No related tags found
No related merge requests found
......@@ -195,10 +195,11 @@ void a2bspri(const vector<string> &input,const string &outFilename, const string
else
srand(getpid());
/* make start at 0xff00000000000000 for x86-64 */
/* make start at FF0xxxxxxxxxxxxxxxxx for x86-64 */
if(elfiop.get_class()==ELFCLASS64)
{
bits=64;
vpc += (rand() & 0x000fffff);
vpc<<=32;
vpc += rand();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment