Skip to content

Port of changes to test-gen-support to master (2) #1124

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

Conversation

tautschnig
Copy link
Collaborator

This was originally reviewed/merged as #580, and now depends on #1123. The actual diff is just b1348d0.

dcattaruzza and others added 17 commits July 13, 2017 16:02
to_ulong() will negate a negative number, rather than returning its
two's complement representation as an unsigned type as we might
reasonably suppose. Instead use to_long() everywhere to preserve the
bitwise representation and then use sign-bit filling to make sure the
value is correctly re-encoded as mp_integer.
This code was originally in the `dump_ct` class but it is useful in
other places (specifically when generating stubs we don't want to
include any of these).
The existing symbols were missing a few symbols from the files they were
supposed to be symbols for. Further, for some reason the math functions
were sometimes used with a double underscore prefix. Some included files
were missed (fenv.h, errno.c, noop.c). There were some other prefixes
that clearly have internal meaning (__VERIFIER, nondet_). Also asserts
weren't being included.

These problems were discovered by running the make and seeing which
tests failed and what functions were being stubbed. It is therefore not
necessarily exhaustive. Perhaps there is a better approach to this
problem.
See documentation in scripts/bash-autocomplete/Readme.md
@tautschnig tautschnig requested a review from mgudemann July 13, 2017 16:14
@tautschnig tautschnig closed this Jul 14, 2017
@tautschnig tautschnig deleted the java_bytecode-01-from-test-gen-support branch July 14, 2017 07:28
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

Successfully merging this pull request may close these issues.

5 participants