I am trying to do some tests on X86_64 Linux, and I want to know how to make malloc() allocate return addresses in the range higher than 4 GiB
Do I have to override malloc with a separate/custom library or is there any other simple way to do this?
感谢。
页: 1
What I am interested is in the address when taken as value (uintptr_t
)
and it does not matter whether its virtual or physical address, because, all
that I want is the address must be a value greater than 4GiB
我正在使用gcc/code>(4.2.1)和
-m64
,分别使用:
(我明确指出了问题)