mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 23:00:17 +02:00
The ELF tracking thing has an expectation that only portions of ELF files that are described in the program headers will be mapped executable. This doesn't hold true as programs will remap random portions of ELF files as executable. In the case that this occurs, don't assert out and instead print a warning. This was discovered as Node.js remaps a portion of itself executable that isn't described as such in the program headers. I also have a local unittest that exposes the same problem. I had discovered same problem in some other program with #5038. Also fixes a bug where sometimes completely anonymously mapped executable sneak in and cause a crash, which is kind of silly.