Karl Zhang | 3de5ab1 | 2021-05-31 11:45:48 +0800 | [diff] [blame] | 1 | ##################### |
| 2 | 'lib'-directory guide |
| 3 | ##################### |
| 4 | |
| 5 | ************ |
| 6 | Introduction |
| 7 | ************ |
| 8 | |
| 9 | This directory contains the customizable "boilerplate" code snippets used to |
| 10 | write out C source code. The file in this directory currently, is that for |
| 11 | TF-M, but other comparable frameworks could be addressed with equivalent files |
Nik Dewally | bc9e194 | 2024-07-02 17:00:15 +0100 | [diff] [blame] | 12 | tailored for the required syntax of that other framework. |
Karl Zhang | 3de5ab1 | 2021-05-31 11:45:48 +0800 | [diff] [blame] | 13 | |
| 14 | Which file to use for this process is selected by setting two environment |
| 15 | variables pointing to that file: One for the ``lib`` directory and one for the |
| 16 | file itself within that directory. In ``bash`` syntax, |
| 17 | |
| 18 | .. code-block:: bash |
| 19 | |
| 20 | export TF_FUZZ_LIB_DIR=<path to this TF-M installation>/tools/tf_fuzz/lib |
| 21 | export TF_FUZZ_BPLATE=tfm_boilerplate.txt |
| 22 | |
| 23 | |
Nik Dewally | bc9e194 | 2024-07-02 17:00:15 +0100 | [diff] [blame] | 24 | ********************************** |
| 25 | ``tf_fuzz/lib`` directory contents |
| 26 | ********************************** |
Karl Zhang | 3de5ab1 | 2021-05-31 11:45:48 +0800 | [diff] [blame] | 27 | .. code-block:: bash |
| 28 | |
| 29 | tfm_boilerplate.txt |
| 30 | |
| 31 | -------------- |
| 32 | |
| 33 | *Copyright (c) 2020, Arm Limited. All rights reserved.* |