Skip to content

Conversation

aaronjeline
Copy link
Collaborator

This branch has the rewriter add I-Types to function prototypes that don't have a body

@aaronjeline
Copy link
Collaborator Author

aaronjeline commented Feb 17, 2021

Here's an example of a program it fails for, and the constraint graph generated.

#include <stddef.h>

extern _Unchecked char *strcpy(char * dest, const char * src : itype(_Nt_array_ptr<const char>));

void foo(void) {
        const char *test = "hello";
        char buf[10] = { 0 };
        strcpy(buf, test);
}

init

@mattmccutchen-cci
Copy link
Member

This PR looks like it may have been an attempt to fix #402, so I'm adding a reference.

@kyleheadley
Copy link
Member

How does this relate to #691? Is this PR still something we're pursuing?

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.

3 participants