Displaying 1 result from an estimated 1 matches for "bqn_exec".
Did you mean:
aqm_exec
2023 Feb 22
1
dyn.load loads libraries/symbols at high addresses.
...qn_init")|
immediately fails on the BQN side, viz.
|Failed to allocate memory for JIT 200 times; stopping trying||
||CBQN interpreter entered unexpected state, exiting.
|This is because BQN tries to allocate memory for a JIT near itself and
also in the lower 32 bits.|
u64 near = (u64)&bqn_exec;
u64 MAX_DIST = 1ULL<<30;
mmap(NULL, sz, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_NORESERVE|MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, -1, 0);
|However, |&bqn_exec| seems to be 0x7...||i.e. libcbqn.so is being
loaded to a high address. Why is this? Is there some way to request that
it and its sy...