DynamoRIO / DynamoRIO/drmemory

4 GB memory allocation crash (VS2015)

Open
#2,071 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

Hi,

Dr. Memory crashes when code allocates ~4 gb. Tested on VS2015 Debug x64 default empty project.
0x00000000FFFFFFD1 and more leads to crash
0x00000000FFFFFFD0 and less works

````
#include

int main()
{
auto* p = new char[0x00000000FFFFFFD1];
std::printf("1");
}
````

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.