#pragma comment(linker, "/STACK:102400000,102400000")

G++

  int size = 256 << 20; // 256MB  
    char *p = (char*)malloc(size) + size;  
    __asm__("movl %0, %%esp\n" :: "r"(p));

 

相关文章:

  • 2022-12-23
  • 2021-07-30
  • 2021-06-21
  • 2021-12-06
  • 2021-09-21
  • 2021-10-20
  • 2021-08-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案