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

 

相关文章:

  • 2021-11-09
  • 2021-07-29
  • 2021-12-06
  • 2021-06-20
  • 2022-12-23
  • 2021-09-02
  • 2021-11-18
  • 2022-12-23
猜你喜欢
  • 2022-02-23
  • 2021-11-25
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
相关资源
相似解决方案