eo - callstack. realloc is a bad idea. use mmap and keep addr fixed
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 22 Apr 2014 10:17:26 +0000 (19:17 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 22 Apr 2014 10:19:24 +0000 (19:19 +0900)
commitf21cfc0554820f6eccad780ddbf4958d28364b3b
treec258dd49123f9d3f5e240c0c85ff6ecda59e302f
parent59b660aae9a912eee8e0bd458352fba435943284
eo - callstack. realloc is a bad idea. use mmap and keep addr fixed

this fixes and eo2 problem where when callstack grows (or shrinks)
and realloc nas to relocate memory, the frame ptrs like fptr become
invalid and all sorts of hell ensues.

this uses mmap so blowing the stack will segv, not scribble over
memory, also its separated from malloc heap, and now big enough to not
need to size ... ever (1024 entries).
src/lib/eo/eo.c