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

2-argument FFI calls #313

Merged
merged 28 commits into from Oct 4, 2017
Merged

2-argument FFI calls #313

merged 28 commits into from Oct 4, 2017

Conversation

IlmariReissumies
Copy link
Member

Make FFI calls take two arguments -- one immutable string and one mutable bytearray --- rather than one as previously.

@tanyongkiam I tagged you as suggested reviewer because I've changed the register mappings for most architectures (to make them agree with C calling conventions in the first 4 args), but I have only tried out the generated binaries for x86. It would be reassuring if you could check that I haven't done anything obviously insane, and perhaps even check that the generated binaries for other architectures do not segfault :)

@xrchz
Copy link
Member

xrchz commented Sep 20, 2017

The regression test seems still to be stuck around mips_configProof - let me know if you think it actually gets past this.

@xrchz
Copy link
Member

xrchz commented Sep 20, 2017

@SOwens might like to review the changes to the .lem files

@IlmariReissumies
Copy link
Member Author

@xrchz I've been busy with other stuff so have dropped the ball on this for the last few days, sorry. Anyway, I'm a bit flummoxed by the failures; on my machine I get past mips_configProof.

needed EXPLODE rewrite
Add IMPLODE_EXPLODE_I to FFI case
@xrchz xrchz merged commit 4d99a5c into master Oct 4, 2017
@xrchz xrchz deleted the ffi_immut branch October 4, 2017 10:42
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.

None yet

3 participants