Skip to content

Commit

Permalink
Add all memory allocation ucrtbase APIs to the hardbound list (#73190)
Browse files Browse the repository at this point in the history
* Add all memory allocation ucrtbase APIs to the hardbound list

Also included basic memory manipulation APIs for a good measure.

Fixes #73143
  • Loading branch information
jkotas authored Aug 2, 2022
1 parent d074561 commit 3f7e4b9
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion src/coreclr/nativeaot/BuildIntegration/WindowsAPIs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2334,9 +2334,35 @@ ws2_32!WSCUnInstallNameSpace
ws2_32!WSCUpdateProvider
ws2_32!WSCWriteNameSpaceOrder
ws2_32!WSCWriteProviderOrder
ucrtbase!_aligned_malloc

#
# Include all memory allocation APIs from ucrt to ensure that all of them use allocator
# from the same ucrt copy. Also include the frequently used basic memory manipulation APIs.
#
ucrtbase!_aligned_free
ucrtbase!_aligned_malloc
ucrtbase!_aligned_msize
ucrtbase!_aligned_offset_malloc
ucrtbase!_aligned_offset_realloc
ucrtbase!_aligned_offset_recalloc
ucrtbase!_aligned_realloc
ucrtbase!_aligned_recalloc
ucrtbase!_calloc_base
ucrtbase!_free_base
ucrtbase!_malloc_base
ucrtbase!_msize
ucrtbase!_realloc_base
ucrtbase!_recalloc
ucrtbase!calloc
ucrtbase!free
ucrtbase!malloc
ucrtbase!memchr
ucrtbase!memcmp
ucrtbase!memcpy
ucrtbase!memcpy_s
ucrtbase!memmove
ucrtbase!memmove_s
ucrtbase!memset
ucrtbase!realloc
ucrtbase!wmemcpy_s
ucrtbase!wmemmove_s

0 comments on commit 3f7e4b9

Please sign in to comment.