Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MSVC solution/projects, fix many warnings, and small enhancements. #695

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    39a8ce1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    218ffc4 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. build settings

    axelriet committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    050f3de View commit details
    Browse the repository at this point in the history
  2. build settings

    axelriet committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    ab89a04 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Fix all /W4 warnings

    axelriet committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    ad00f6c View commit details
    Browse the repository at this point in the history
  2. More /W4 fixes

    axelriet committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    de11df3 View commit details
    Browse the repository at this point in the history
  3. .sln + 1 program

    axelriet committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    42d5c4f View commit details
    Browse the repository at this point in the history
  4. Tidy-up + added client.exe

    axelriet committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    8cd3892 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b185eb1 View commit details
    Browse the repository at this point in the history
  6. BUGFIX: usrsctp_getpaddrs() and usrsctp_getladdrs() must initialize t…

    …heir _Out_ parameter upon entry, and the matching free functions must be NULL-tolerant.
    axelriet committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    18b408e View commit details
    Browse the repository at this point in the history
  7. Ignore /msvc/*.vcxproj.user

    axelriet committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    2b85472 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    3d9365f View commit details
    Browse the repository at this point in the history
  2. Added more programs

    axelriet committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    bdf6443 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    808ed57 View commit details
    Browse the repository at this point in the history
  4. Added fuzzer projects

    axelriet committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    32909ad View commit details
    Browse the repository at this point in the history
  5. MSVC Tidy-up

    axelriet committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    1e79367 View commit details
    Browse the repository at this point in the history
  6. EnablePREfast

    axelriet committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    96999cd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b4883fc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    54f8f8a View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. Restore original *.nmake

    axelriet committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    f75e5f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc7984c View commit details
    Browse the repository at this point in the history
  3. Removed all calls to CreateThread() and TerminateThread() - Implement…

    …ed proper thread creation on Windows when the thread routing is using CRT functions and in particular the heap. Implemented proper (graceful) thread termination.
    
    "A thread in an executable that calls the C run-time library (CRT) should use the _beginthreadex and _endthreadex functions for thread management rather than CreateThread and ExitThread; this requires the use of the multithreaded version of the CRT." https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createthread
    
    "TerminateThread is a dangerous function that should only be used in the most extreme cases. You should call TerminateThread only if you know exactly what the target thread is doing, and you control all of the code that the target thread could possibly be running at the time of the termination. For example, TerminateThread can result in the following problems:
    
    If the target thread owns a critical section, the critical section will not be released.
    If the target thread is allocating memory from the heap, the heap lock will not be released.
    If the target thread is executing certain kernel32 calls when it is terminated, the kernel32 state for the thread's process could be inconsistent.
    If the target thread is manipulating the global state of a shared DLL, the state of the DLL could be destroyed, affecting other users of the DLL." https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-terminatethread
    axelriet committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    c322688 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. Replace loop calling rand_s() in read_random() with single call to ei…

    …ther RtlGenRandom() or BCryptGenRandom() depending on build target.
    axelriet committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    4b1e497 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Configuration menu
    Copy the full SHA
    b5a094e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b187c27 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2024

  1. Configuration menu
    Copy the full SHA
    5e79645 View commit details
    Browse the repository at this point in the history