Commit Graph

172 Commits (b531dfc6fa0a50f106f16e0c34e7020416373f9c)

Author SHA1 Message Date
David Hall 37c943fe4a Completed unit tests and fixes for threadpoolapiset.h 2019-07-17 15:27:05 -06:00
David Hall 7746a986bf Updated dump and custom constraints test helpers 2019-07-17 13:58:43 -06:00
David Hall 4bb12ff369 Completed unit tests and corrections to systemtopologyapi.h 2019-07-16 21:30:16 -06:00
David Hall e194fed546 Completed unit tests and corrections for sysinfo.h 2019-07-16 21:09:40 -06:00
David Hall 8212255858 Completed unit testing and fixes for synchapi.h 2019-07-16 13:32:53 -06:00
David Hall cb3465e603 Fixed ValueConstraint having success factor flipped 2019-07-16 12:19:40 -06:00
David Hall bcac2e835b Completed work on Value constraint 2019-07-16 07:43:56 -06:00
David Hall 94f1fdb9cb Updated and corrected code from StringApiSet.h with unit tests 2019-07-13 17:07:35 -06:00
David Hall 676598db55 Converted test dumper for ObjectDumper to Json serialization 2019-07-13 16:28:44 -06:00
David Hall e63b1b3a47 Rearranged unit testing helper methods into Shared test project. Pulled all shared code into new project. 2019-07-12 16:58:24 -06:00
David Hall 64b2911d5e BREAKING CHANGE: Changed CorrepsondingAction to CorrespondingAction due to misspelling. 2019-07-12 09:49:54 -06:00
David Hall 3df4a4af97 BREAKING CHANGE: Renamed SafeSECURITY_DESCRIPTOR to SafePrivateObjectSecurity and SafeSecurityDescriptor to SafePSECURITY_DESCRIPTOR due to inconsistency in framework leading to numerous misuse instances. Sorry! 2019-07-12 09:47:46 -06:00
David Hall 5fed9eda66 Updated GetAppContainerNamedObjectPath with better params, docs, unit test and error 2019-07-11 15:13:00 -06:00
David Hall db7652bc21 Made unit tests for and fixed all functions from rtlsupportapi.h 2019-07-11 14:52:17 -06:00
David Hall 15fe2603ff Added and moved unit tests 2019-07-10 15:34:48 -06:00
David Hall 40db674d11 Added custom NUnit constraint to handle looking at functions that return HRESULT, Win32Error, NTStatus or bool with GetLastError. 2019-07-10 15:33:58 -06:00
David Hall 029c35262e Fixed and updated functions in realtimeapiset.h
Added unit tests
2019-07-10 15:32:02 -06:00
David Hall 6404870776 Added unit tests for psapi.h
Fixed functions that were broken or incomplete
Added helper methods for enumerations
2019-07-10 11:30:10 -06:00
David Hall 0905e01329 Updated docs and added unit tests for profileapi.h 2019-07-10 11:28:36 -06:00
David Hall dedf7742df Updated docs and unit tests for processtopologyapi.h 2019-07-09 14:59:50 -06:00
David Hall 846518843b Major rework of all process and thread functions with full unit testing. Many breaking changes. 2019-07-09 14:49:40 -06:00
David Hall 96998e7c82 Added SafeAUTHZ_SOURCE_SCHEMA_REGISTRATION to support new AuthzEnumerateSecurityEventSources overload. Removed AUTHZ_SOURCE_SCHEMA_REGISTRATION_IN in lieu of better use of AUTHZ_SOURCE_SCHEMA_REGISTRATION. 2019-07-03 14:47:25 -06:00
David Hall c3dac3adc6 Major overhaul (BREAKING) and fixes of functions in ProcessSnapshot.h 2019-06-26 13:49:19 -06:00
David Hall da3fac4ae4 Fixed and enhanced processenv.h functions 2019-06-25 20:07:28 -06:00
David Hall 6649425ebb Fixed and extended functions from PathCch.h 2019-06-25 19:00:24 -06:00
David Hall 369f22fae7 Updated unit tests 2019-06-25 17:14:17 -06:00
David Hall e109316787 Added project to run code in or out of process 2019-06-25 17:13:32 -06:00
David Hall f4110f89d5 Fixed build issue 2019-06-25 17:07:36 -06:00
David Hall 6b5cea3719 Exposed TempFile to all tests in Kernel32 2019-06-22 14:19:16 -06:00
David Hall 8e103fb92b Fixed a number of parameters and attributes 2019-06-22 14:18:14 -06:00
David Hall c2507e539e Fixed page frame function params 2019-06-22 14:17:29 -06:00
David Hall cd71160495 Corrected bug in AdjustTokenPrivileges and dependent code 2019-06-19 14:44:05 -06:00
David Hall 9914ab53c1 Improved parameters on LibLoaderApi functions. Converted SafeResourceDataHandle to HRSRCDATA since it does not need disposal. 2019-06-19 10:06:37 -06:00
David Hall 70cb69039a Added support methods, better attributes, tests to JobApi 2019-06-18 18:59:17 -06:00
David Hall 18514d09e2 Change IO completion port handle references to HANDLE instead of IntPtr. 2019-06-18 13:22:18 -06:00
David Hall cdde65e3ca Renamed tests for better descriptions 2019-06-18 12:55:20 -06:00
David Hall f679e75e88 Major overhaul to fix problem in InterlockedApi functions. All work now. See unit test for example of use. 16-bit structure alignment is critical. 2019-06-18 12:54:41 -06:00
David Hall ceff427cb9 Breaking fixes on heap functions. Added helper methods and prevented use of raw pointer for heap allocation to prevent memory leaks. Fixed bugs on function definitions. 2019-06-17 13:47:28 -06:00
David Hall 36c5b82f91 Updated and fixed file functions in Kernel32. Changed WIN32_FIND_DATA back to a structure and corrected IShellLinkW reference. Added EnumFilesEx and EnumVolumes to simplify related functions. Fixed search handles so they dispose without error. Changed GetFullPathName, GetLongPathName and GetShortPathName to exclusively use the Unicode instance to avoid filename length restrictions. 2019-06-16 15:07:59 -06:00
David Hall 1f79a47573 Attempt 2019-06-15 14:10:16 -06:00
David Hall 5ca88029be Added SEM enum and updated dependent functions. Improved formatting and docs. 2019-06-15 14:09:57 -06:00
David Hall d4d3743e4c Fixed CreateEnclave signature by added SafeEnclaveHandle return value. 2019-06-15 14:08:36 -06:00
David Hall 2a78f2735f Improved docs and function definitions 2019-06-15 14:06:58 -06:00
David Hall 64d6a2f4f7 BREAKING CHANGE: Fixed #57 and all other CreateProcessXX references. Changed managed PROCESS_INFORMATION to SafePROCESS_INFORMATION and exposed native PROCESS_INFORMATION. If you were using PROCESS_INFORMATION before, please check it's use. It has changed now to SafePROCESS_INFORMATION. 2019-06-15 13:48:50 -06:00
David Hall 49f249104a Added some Shell32 method tests 2019-06-10 15:30:03 -06:00
David Hall 84f2765b20 Updated unit tests to indicate where tests were not complete by adding tasks 2019-06-09 09:58:51 -06:00
David Hall 3917d01d59 Updated NUnit reference 2019-06-07 19:03:58 -06:00
David Hall a055a0d6fa Update NUnit references in unit test projects 2019-06-07 12:49:41 -06:00
David Hall da8b40b1b9 Corrected more blittability problems 2019-06-07 11:51:47 -06:00
David Hall 138412c3a4 Fixed problem with CREDENTIAL layout, added managed equivalent and fixed CredEnum #54 2019-06-04 16:01:09 -06:00