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 issues with printf tests. #714

Open
Rekt3421 opened this issue Aug 14, 2024 · 0 comments
Open

Fix issues with printf tests. #714

Rekt3421 opened this issue Aug 14, 2024 · 0 comments

Comments

@Rekt3421
Copy link
Contributor

Right now the majority of conformance tests for printf related to strings are failing, there are about 11 tests and 10 fail. It mostly has to do with how we process the strings in printf.cpp and also how kernel descriptors are setup here is an example of issues related to printf.cpp

1)testing printf("%s","")
terminate called after throwing an instance of 'std::out_of_range'

and here is an example of issues to due to kernel descriptors not setup properly

12)testing printf("%s","foo\0foo")
No data read from analysis buffer
verifyOutputBuffer failed with kernel: 
__kernel void test9(void)
{
   printf("%s\n","foo\0foo");
}

 expected: foo
 got:     
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant