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

Overflow in TypeResolution when calculating base type (undefined behavior) #65

Closed
ahueck opened this issue Apr 6, 2021 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@ahueck
Copy link
Contributor

ahueck commented Apr 6, 2021

Querying type info has an overflow of an unsigned type in getTypeInfo when resolving internal types of structs.

Trigger example

struct Datastruct {
  int start;
  double middle;
  float end;
};  
__typeart_alloc((const void*)&data, 257, 1);
  typeart_status status = typeart_get_type((const void*)&data.middle, &id_result, &count_check);
@ahueck ahueck added the bug Something isn't working label Apr 6, 2021
@ahueck ahueck self-assigned this Apr 6, 2021
@ahueck ahueck mentioned this issue Apr 14, 2021
@ahueck ahueck mentioned this issue May 5, 2021
ahueck added a commit that referenced this issue May 5, 2021
openmp support, see #10 
- Passes: Handle OpenMP codegen in LLVM IR
- Runtime: (optional) thread-safety
- Add extended testing/CI
- Test thread-safety (with sanitizers)
- Various bug fixes/improvements: #67, #65, #63, #60, #58
@ahueck ahueck mentioned this issue Jun 18, 2021
@ahueck ahueck closed this as completed in 4491571 Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant