3 ms·
>Unfortunately we had a third party dependency that required a malloc implementation to be able to run, so we had to implement a simple one. We ran into the sa
by SlowRobotAhead 8y ago
>Unfortunately we had a third party dependency that required a malloc implementation to be able to run, so we had to implement a simple one.
We ran into the same thing. Some open source compression code I wanted to use had malloc, dumped it for something else that didn't. Luckily we found a protobuffers instance that didn't use malloc, that saved some time on a different project.
First thing I do now when looking at example or source we might want to use is a quick scan for malloc.
- Nursie 8y agoUnfortunately for us, this was a certified/approved EMV payment kernel, and about the only one we could get for our architecture, so we had to live with it. Sometimes you don't get to choose or do it yourself, more's the pity!