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