Something went wrong. Try again.
Reactos
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492/* * PROJECT: ReactOS PSDK * LICENSE: MIT (https://spdx.org/licenses/MIT) * PURPOSE: Undefines SAL definitions * COPYRIGHT: Copyright 2020 Timo Kreuzer <timo.kreuzer@reactos.org> */
#pragma once
#undef __ecount#undef __bcount#undef __xcount#undef __in#undef __in_ecount#undef __in_bcount#undef __in_xcount#undef __in_z#undef __in_ecount_z#undef __in_bcount_z#undef __out#undef __out_ecount#undef __out_bcount#undef __out_xcount#undef __out_ecount_part#undef __out_bcount_part#undef __out_xcount_part#undef __out_ecount_full#undef __out_bcount_full#undef __out_xcount_full#undef __out_z#undef __out_ecount_z#undef __out_bcount_z#undef __inout#undef __inout_ecount#undef __inout_bcount#undef __inout_xcount#undef __inout_ecount_part#undef __inout_bcount_part#undef __inout_xcount_part#undef __inout_ecount_full#undef __inout_bcount_full#undef __inout_xcount_full#undef __inout_z#undef __inout_ecount_z#undef __inout_bcount_z#undef __ecount_opt#undef __bcount_opt#undef __xcount_opt#undef __in_opt#undef __in_ecount_opt#undef __in_bcount_opt#undef __in_z_opt#undef __in_ecount_z_opt#undef __in_bcount_z_opt#undef __in_xcount_opt#undef __out_opt#undef __out_ecount_opt#undef __out_bcount_opt#undef __out_xcount_opt#undef __out_ecount_part_opt#undef __out_bcount_part_opt#undef __out_xcount_part_opt#undef __out_ecount_full_opt#undef __out_bcount_full_opt#undef __out_xcount_full_opt#undef __out_ecount_z_opt#undef __out_bcount_z_opt#undef __inout_opt#undef __inout_ecount_opt#undef __inout_bcount_opt#undef __inout_xcount_opt#undef __inout_ecount_part_opt#undef __inout_bcount_part_opt#undef __inout_xcount_part_opt#undef __inout_ecount_full_opt#undef __inout_bcount_full_opt#undef __inout_xcount_full_opt#undef __inout_z_opt#undef __inout_ecount_z_opt#undef __inout_ecount_z_opt#undef __inout_bcount_z_opt#undef __deref_ecount#undef __deref_bcount#undef __deref_xcount#undef __deref_in#undef __deref_in_ecount#undef __deref_in_bcount#undef __deref_in_xcount#undef __deref_out#undef __deref_out_ecount#undef __deref_out_bcount#undef __deref_out_xcount#undef __deref_out_ecount_part#undef __deref_out_bcount_part#undef __deref_out_xcount_part#undef __deref_out_ecount_full#undef __deref_out_bcount_full#undef __deref_out_xcount_full#undef __deref_out_z#undef __deref_out_ecount_z#undef __deref_out_bcount_z#undef __deref_inout#undef __deref_inout_ecount#undef __deref_inout_bcount#undef __deref_inout_xcount#undef __deref_inout_ecount_part#undef __deref_inout_bcount_part#undef __deref_inout_xcount_part#undef __deref_inout_ecount_full#undef __deref_inout_bcount_full#undef __deref_inout_xcount_full#undef __deref_inout_z#undef __deref_inout_ecount_z#undef __deref_inout_bcount_z#undef __deref_ecount_opt#undef __deref_bcount_opt#undef __deref_xcount_opt#undef __deref_in_opt#undef __deref_in_opt_out#undef __deref_in_ecount_opt#undef __deref_in_bcount_opt#undef __deref_in_xcount_opt#undef __deref_out_opt#undef __deref_out_ecount_opt#undef __deref_out_bcount_opt#undef __deref_out_xcount_opt#undef __deref_out_ecount_part_opt#undef __deref_out_bcount_part_opt#undef __deref_out_xcount_part_opt#undef __deref_out_ecount_full_opt#undef __deref_out_bcount_full_opt#undef __deref_out_xcount_full_opt#undef __deref_out_z_opt#undef __deref_out_ecount_z_opt#undef __deref_out_bcount_z_opt#undef __deref_inout_opt#undef __deref_inout_ecount_opt#undef __deref_inout_bcount_opt#undef __deref_inout_xcount_opt#undef __deref_inout_ecount_part_opt#undef __deref_inout_bcount_part_opt#undef __deref_inout_xcount_part_opt#undef __deref_inout_ecount_full_opt#undef __deref_inout_bcount_full_opt#undef __deref_inout_xcount_full_opt#undef __deref_inout_z_opt#undef __deref_inout_ecount_z_opt#undef __deref_inout_bcount_z_opt#undef __deref_opt_ecount#undef __deref_opt_bcount#undef __deref_opt_xcount#undef __deref_opt_in#undef __deref_opt_in_ecount#undef __deref_opt_in_bcount#undef __deref_opt_in_xcount#undef __deref_opt_out#undef __deref_opt_out_ecount#undef __deref_opt_out_bcount#undef __deref_opt_out_xcount#undef __deref_opt_out_ecount_part#undef __deref_opt_out_bcount_part#undef __deref_opt_out_xcount_part#undef __deref_opt_out_ecount_full#undef __deref_opt_out_bcount_full#undef __deref_opt_out_xcount_full#undef __deref_opt_inout#undef __deref_opt_inout_ecount#undef __deref_opt_inout_bcount#undef __deref_opt_inout_xcount#undef __deref_opt_inout_ecount_part#undef __deref_opt_inout_bcount_part#undef __deref_opt_inout_xcount_part#undef __deref_opt_inout_ecount_full#undef __deref_opt_inout_bcount_full#undef __deref_opt_inout_xcount_full#undef __deref_opt_inout_z#undef __deref_opt_inout_ecount_z#undef __deref_opt_inout_bcount_z#undef __deref_opt_ecount_opt#undef __deref_opt_bcount_opt#undef __deref_opt_xcount_opt#undef __deref_opt_in_opt#undef __deref_opt_in_ecount_opt#undef __deref_opt_in_bcount_opt#undef __deref_opt_in_xcount_opt#undef __deref_opt_out_opt#undef __deref_opt_out_ecount_opt#undef __deref_opt_out_bcount_opt#undef __deref_opt_out_xcount_opt#undef __deref_opt_out_ecount_part_opt#undef __deref_opt_out_bcount_part_opt#undef __deref_opt_out_xcount_part_opt#undef __deref_opt_out_ecount_full_opt#undef __deref_opt_out_bcount_full_opt#undef __deref_opt_out_xcount_full_opt#undef __deref_opt_out_z_opt#undef __deref_opt_out_ecount_z_opt#undef __deref_opt_out_bcount_z_opt#undef __deref_opt_inout_opt#undef __deref_opt_inout_ecount_opt#undef __deref_opt_inout_bcount_opt#undef __deref_opt_inout_xcount_opt#undef __deref_opt_inout_ecount_part_opt#undef __deref_opt_inout_bcount_part_opt#undef __deref_opt_inout_xcount_part_opt#undef __deref_opt_inout_ecount_full_opt#undef __deref_opt_inout_bcount_full_opt#undef __deref_opt_inout_xcount_full_opt#undef __deref_opt_inout_z_opt#undef __deref_opt_inout_ecount_z_opt#undef __deref_opt_inout_bcount_z_opt#undef __deref_in_ecount_iterator#undef __deref_out_ecount_iterator#undef __deref_inout_ecount_iterator#undef __deref_realloc_bcount
/************************************************************************* SAL 2 _Ouptr_ family of annotations************************************************************************/
#undef _Outptr_#undef _Outptr_result_maybenull_#undef _Outptr_opt_#undef _Outptr_opt_result_maybenull_#undef _Outptr_result_z_#undef _Outptr_opt_result_z_#undef _Outptr_result_maybenull_z_#undef _Outptr_opt_result_maybenull_z_#undef _Outptr_result_nullonfailure_#undef _Outptr_opt_result_nullonfailure_#undef _COM_Outptr_#undef _COM_Outptr_result_maybenull_#undef _COM_Outptr_opt_#undef _COM_Outptr_opt_result_maybenull_#undef _Outptr_result_buffer_#undef _Outptr_opt_result_buffer_#undef _Outptr_result_buffer_to_#undef _Outptr_opt_result_buffer_to_#undef _Outptr_result_buffer_all_#undef _Outptr_opt_result_buffer_all_#undef _Outptr_result_buffer_maybenull_#undef _Outptr_opt_result_buffer_maybenull_#undef _Outptr_result_buffer_to_maybenull_#undef _Outptr_opt_result_buffer_to_maybenull_#undef _Outptr_result_buffer_all_maybenull_#undef _Outptr_opt_result_buffer_all_maybenull_#undef _Outptr_result_bytebuffer_#undef _Outptr_opt_result_bytebuffer_#undef _Outptr_result_bytebuffer_to_#undef _Outptr_opt_result_bytebuffer_to_#undef _Outptr_result_bytebuffer_all_#undef _Outptr_opt_result_bytebuffer_all_#undef _Outptr_result_bytebuffer_maybenull_#undef _Outptr_opt_result_bytebuffer_maybenull_#undef _Outptr_result_bytebuffer_to_maybenull_#undef _Outptr_opt_result_bytebuffer_to_maybenull_#undef _Outptr_result_bytebuffer_all_maybenull_#undef _Outptr_opt_result_bytebuffer_all_maybenull_
/************************************************************************* Orcas SAL************************************************************************/#undef _Deref_out_#undef _Deref_out_opt_#undef _Deref_opt_out_#undef _Deref_opt_out_opt_#undef _In_count_#undef _In_opt_count_#undef _In_bytecount_#undef _In_opt_bytecount_#undef _Out_cap_#undef _Out_opt_cap_#undef _Out_bytecap_#undef _Out_opt_bytecap_#undef _Deref_post_count_#undef _Deref_post_opt_count_#undef _Deref_post_bytecount_#undef _Deref_post_opt_bytecount_#undef _Deref_post_cap_#undef _Deref_post_opt_cap_#undef _Deref_post_bytecap_#undef _Deref_post_opt_bytecap_
/************************************************************************* Advanced Annotations************************************************************************/#undef _At_#undef _When_#undef __success#undef __out_awcount#undef __in_awcount#undef __nullterminated#undef __nullnullterminated#undef __reserved#undef __checkReturn#undef __typefix#undef __override#undef __callback#undef __format_string#undef __blocksOn#undef __fallthrough#undef __range#undef __in_range#undef __out_range#undef __deref_in_range#undef __deref_out_range#undef __deref_inout_range#undef __field_range#undef __range_max#undef __range_min#undef __bound#undef __in_bound#undef __out_bound#undef __deref_out_bound#undef __assume_bound#undef __analysis_assume_nullterminated#undef __allocator#undef __deallocate#undef __deallocate_opt#undef __post_invalid#undef __post_nullnullterminated/**************************************************************************** Expert Macros***************************************************************************/#undef __null#undef __notnull#undef __maybenull#undef __exceptthat/**************************************************************************** Macros to classify fields of structures.****************************************************************************/#undef __field_ecount#undef __field_bcount#undef __field_xcount#undef __field_ecount_opt#undef __field_bcount_opt#undef __field_xcount_opt#undef __field_ecount_part#undef __field_bcount_part#undef __field_xcount_part#undef __field_ecount_part_opt#undef __field_bcount_part_opt#undef __field_xcount_part_opt#undef __field_ecount_full#undef __field_bcount_full#undef __field_xcount_full#undef __field_ecount_full_opt#undef __field_bcount_full_opt#undef __field_xcount_full_opt#undef __field_nullterminated#undef __struct_bcount#undef __struct_xcount
/**************************************************************************** Macros to classify the entrypoints and indicate their category.***************************************************************************/#undef __control_entrypoint#undef __rpc_entry#undef __kernel_entry#undef __gdi_entry
/**************************************************************************** Macros to track untrusted data and their validation.***************************************************************************/#undef __in_data_source#undef __out_data_source#undef __field_data_source#undef __this_out_data_source
/*************************************************************************** Macros to tag file parsing code.**************************************************************************/#undef __out_validated#undef __this_out_validated#undef __file_parser#undef __file_parser_class#undef __file_parser_library
/**************************************************************************** Macros to track the code content in the file.***************************************************************************/#undef __source_code_content
/**************************************************************************** Macros to track the code content in the class.***************************************************************************/#undef __class_code_content
/************************************************************************** Macros to tag encoded function pointers**************************************************************************/#undef __encoded_pointer#undef __encoded_array#undef __field_encoded_pointer#undef __field_encoded_array
#undef __transfer#undef __assume_validated
/************************************************************************** __analysis_assume*************************************************************************/#undef __analysis_assume#undef __analysis_assert
/************************************************************************** __analysis_hint*************************************************************************/#undef __analysis_hint
/************************************************************************** Macros to encode abstract properties of values. Used by SALadt.h*************************************************************************/#undef __type_has_adt_prop#undef __out_has_adt_prop#undef __out_not_has_adt_prop#undef __out_transfer_adt_prop#undef __out_has_type_adt_props
/************************************************************************** Macros used by Prefast for Drivers*************************************************************************/#undef __possibly_notnullterminated
/************************************************************************** Advanced macros*************************************************************************/#undef __volatile#undef __deref_volatile#undef __nonvolatile#undef __deref_nonvolatile
/************************************************************************** Macros deprecated with strict level greater then 1.**************************************************************************/#undef __in_nz#undef __in_ecount_nz#undef __in_bcount_nz#undef __out_nz#undef __out_nz_opt#undef __out_ecount_nz#undef __out_bcount_nz#undef __inout_nz#undef __inout_ecount_nz#undef __inout_bcount_nz#undef __in_nz_opt#undef __in_ecount_nz_opt#undef __in_bcount_nz_opt#undef __out_ecount_nz_opt#undef __out_bcount_nz_opt#undef __inout_nz_opt#undef __inout_ecount_nz_opt#undef __inout_bcount_nz_opt#undef __deref_out_nz#undef __deref_out_ecount_nz#undef __deref_out_bcount_nz#undef __deref_inout_nz#undef __deref_inout_ecount_nz#undef __deref_inout_bcount_nz#undef __deref_out_nz_opt#undef __deref_out_ecount_nz_opt#undef __deref_out_bcount_nz_opt#undef __deref_inout_nz_opt#undef __deref_inout_ecount_nz_opt#undef __deref_inout_bcount_nz_opt#undef __deref_opt_inout_nz#undef __deref_opt_inout_ecount_nz#undef __deref_opt_inout_bcount_nz#undef __deref_opt_out_nz_opt#undef __deref_opt_out_ecount_nz_opt#undef __deref_opt_out_bcount_nz_opt#undef __deref_opt_inout_nz_opt#undef __deref_opt_inout_ecount_nz_opt#undef __deref_opt_inout_bcount_nz_opt#undef __deref#undef __pre#undef __post#undef __readableTo#undef __writableTo#undef __maybevalid#undef __inexpressible_readableTo#undef __data_entrypoint#undef __readonly#undef __byte_writableTo#undef __byte_readableTo#undef __elem_readableTo#undef __elem_writableTo#undef __valid#undef __notvalid#undef __refparam#undef __precond