gottfriedleibniz

Results 7 issues of gottfriedleibniz

Two small libc typos I have come across while experimenting with this awesome project: 1. `COSMOPOLITAN_C_START_` is [placed](https://github.com/jart/cosmopolitan/blob/master/libc/calls/struct/sigaction.h#L24-L25) inside the `GNU && !ANSI` check while `COSMOPOLITAN_C_END_` is [placed](https://github.com/jart/cosmopolitan/blob/master/libc/calls/struct/sigaction.h#L77-L79) outside. 1....

Hi, was experimenting with this library and noticed some issues w/ the benchmarking code: Per the documentation of [luaL_loadstring](https://www.lua.org/manual/5.4/manual.html#luaL_loadstring): "This function returns the same results as lua\_load", which, if there...

I noticed mp_buf_append and mp_buf_new are not sanitizing the result to [mp_realloc](https://github.com/antirez/lua-cmsgpack/blob/master/lua_cmsgpack.c#L122). The Lua documentation states that when the pointer is non-null is must behave like realloc (and in the...

The current implementation of `quat_conjugate` is quite slow when compiled with SSE. For reference, here is clang's [output](https://godbolt.org/z/rG6G7e64o). Included in this link are alternate implementations, one of which can be...

enhancement
feedback wanted

In certain places through this library, I've noticed the [branching](https://github.com/recp/cglm/blob/530ec2d0f89a34887448adcd92f8ea9e5982ef33/include/cglm/vec3.h#L563) from the internal/implicit normalization can cause a pretty big hit in otherwise pipeline-friendly code. For example: - [glm_quatv](https://github.com/recp/cglm/blob/530ec2d0f89a34887448adcd92f8ea9e5982ef33/include/cglm/quat.h#L158) - [glm_quat_for](https://github.com/recp/cglm/blob/530ec2d0f89a34887448adcd92f8ea9e5982ef33/include/cglm/quat.h#L774)...

enhancement
feedback wanted
optimization

Returns a raw pointer that can be used to expose the ASLR base address. Since these values are not sanitized by PAS it is also possible for arbitrary reads/writes (+...

2699.16 modified some update routines to include an additional "Dependency" thread check. Some additional obfuscation was added in 2944.0 and is now causing weird interactions with FiveM. [Related](https://forum.cfx.re/t/game-crash-with-signature-gta5-b2944-exe-3d766a8-gta5-b2944-exe-sub-143d7661d/5158101) forum thread....