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

Fix multiple memory alignment issues. #1724

Merged
merged 12 commits into from
Jun 7, 2022
Merged

Fix multiple memory alignment issues. #1724

merged 12 commits into from
Jun 7, 2022

Commits on May 3, 2022

  1. Fix dereference of pointers that are not aligned to the size of their…

    … data.
    
    This is an issue with certain microprocessors like SPARC and ARM.
    plusvic committed May 3, 2022
    Configuration menu
    Copy the full SHA
    2287f03 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2022

  1. Make yr_notebook_alloc return buffers that are aligned to 8-byte boun…

    …daries.
    
    This fixes alignment issues in some platforms.
    plusvic committed May 11, 2022
    Configuration menu
    Copy the full SHA
    568bdd3 View commit details
    Browse the repository at this point in the history
  2. Fix issue with Bison versions older than 3.6.

    "%define parse.error detailed" is changed to "%define parse.error verbose" as the former is not supported by Bison versions older than 3.6, while the latter produces good enough syntax error messages.
    plusvic committed May 11, 2022
    Configuration menu
    Copy the full SHA
    c272969 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2022

  1. Fix more alignment issues.

    plusvic committed May 12, 2022
    Configuration menu
    Copy the full SHA
    a06b98e View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. Add option for enabling undefined behaviour sanitizer.

    Build automated tests with that option.
    plusvic committed May 13, 2022
    Configuration menu
    Copy the full SHA
    e3e9e87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7bd2cf8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ca50d9 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2022

  1. Fix more alignment issues.

    plusvic committed May 16, 2022
    Configuration menu
    Copy the full SHA
    ee6e5c0 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2022

  1. Fix potential issue with jump instructions in regular expressions (RE…

    …_OPCODE_JUMP).
    
    While copying larger types into an `*int16_t` using memcpy we may have been copying only the most significant bytes.
    plusvic committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    8546232 View commit details
    Browse the repository at this point in the history
  2. Reduce number of calls to yr_arena_get_current_offset.

    Also remove the current_re_node_offset macro.
    plusvic committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    a8344ab View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. Configuration menu
    Copy the full SHA
    733d0ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65c9d8e View commit details
    Browse the repository at this point in the history