Parsing error in STRICT_EXPECTED_CALL(vsprintf_char("(SecPkgCred_SupportedAlgs){ .cSupportedAlgs=%u, .palgSupportedAlgs={", IGNORED_ARG));
- Dominant language
- C
- Stars
- 36
- Forks
- 27
- Avg merge
- 32m
- Merged PRs (30d)
- 3
Description
umock_c says: "Failed parsing argument va value from the call."
Here's repro: https://github.com/Azure/umock-c/tree/napo_parse_error_of_arguments
This happens when running `umock_c_int_exe_umock_c` tests. Suspicion of parser failing when confronted with an unbalanced number of curlies (in a string, so it should be fine...)
This is unexpected...
Best Regards,
Andrei Porumb
Contributor guide
No contributing guide indexed for this repository
Research direction
Check out the linked napo_parse_error_of_arguments repro branch and run the umock_c_int_exe_umock_c tests. Start with the parsing path exercised by STRICT_EXPECTED_CALL and the reported va-value error. Done means the reproduced call parses successfully and the affected tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100