]>
Commit | Line | Data |
---|---|---|
d7a09cb8 SB |
1 | ## @file\r |
2 | # Safe Integer Library\r | |
3 | #\r | |
4 | # This library provides helper functions to prevent integer overflow during\r | |
5 | # type conversion, addition, subtraction, and multiplication.\r | |
6 | #\r | |
3cb0a311 | 7 | # Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r |
d7a09cb8 SB |
8 | # Copyright (c) 2017, Microsoft Corporation\r |
9 | #\r | |
10 | # All rights reserved.\r | |
11 | # Redistribution and use in source and binary forms, with or without\r | |
12 | # modification, are permitted provided that the following conditions are met:\r | |
13 | # 1. Redistributions of source code must retain the above copyright notice,\r | |
14 | # this list of conditions and the following disclaimer.\r | |
15 | # 2. Redistributions in binary form must reproduce the above copyright notice,\r | |
16 | # this list of conditions and the following disclaimer in the documentation\r | |
17 | # and/or other materials provided with the distribution.\r | |
18 | #\r | |
19 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND\r | |
20 | # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\r | |
21 | # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\r | |
22 | # IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\r | |
23 | # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\r | |
24 | # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r | |
25 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\r | |
26 | # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\r | |
27 | # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\r | |
28 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r | |
29 | #\r | |
30 | ##\r | |
31 | \r | |
32 | [Defines]\r | |
33 | INF_VERSION = 0x00010005\r | |
34 | BASE_NAME = BaseSafeIntLib\r | |
35 | FILE_GUID = 4EA91BFA-3482-4930-B136-70679C6CE489\r | |
36 | MODULE_TYPE = BASE\r | |
37 | VERSION_STRING = 1.0\r | |
38 | LIBRARY_CLASS = SafeIntLib\r | |
39 | \r | |
40 | #\r | |
41 | # The following information is for reference only and not required by the build tools.\r | |
42 | #\r | |
43 | # VALID_ARCHITECTURES = IA32 X64\r | |
44 | #\r | |
45 | \r | |
46 | [Sources]\r | |
47 | SafeIntLib.c\r | |
48 | \r | |
49 | [Sources.Ia32, Sources.ARM]\r | |
50 | SafeIntLib32.c\r | |
51 | \r | |
3cb0a311 | 52 | [Sources.X64, Sources.AARCH64]\r |
d7a09cb8 SB |
53 | SafeIntLib64.c\r |
54 | \r | |
55 | [Sources.EBC]\r | |
56 | SafeIntLibEbc.c\r | |
57 | \r | |
58 | [Packages]\r | |
59 | MdePkg/MdePkg.dec\r | |
dc9b2a57 DB |
60 | \r |
61 | [LibraryClasses]\r | |
62 | BaseLib\r |