1.7.7 Using low-level functions when exploiting the C library

If you are using the libraries in an application that does not have a main() function, you must re-implement some functions in the library.

CAUTION:

__rt_raise() is essential if you are using the heap.

Note:

If rand() is called, srand() must be called first. This is done automatically during library initialization but not when you avoid the library initialization.

Non-ConfidentialPDF file icon PDF versionARM DUI0475M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.