1.9.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.


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


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 100073_0608_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.