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

Interface-independent wrapping #77

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

mplegendre
Copy link
Member

An initial implementation of interface-independent wrapping, for feedback purposes. Use the new gotcha_sigfree_wrap() to wrap with pre/post wrappers that are independent of a function's signature, as discussed in #55.

Before merging this needs debugging prints, more tests, ppc64 support, and documentation.

This will also be complimented with a new gotcha query interface for listing libraries/symbols, which will allow one to do operations like wrap all functions exported from an arbitrary library.

@mplegendre mplegendre added the WIP Work In Progress label Jul 26, 2018
@codecov-io
Copy link

codecov-io commented Jul 26, 2018

Codecov Report

Merging #77 into develop will increase coverage by 0.67%.
The diff coverage is 91%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop     #77      +/-   ##
==========================================
+ Coverage    82.42%   83.1%   +0.67%     
==========================================
  Files           10      11       +1     
  Lines         1064    1160      +96     
==========================================
+ Hits           877     964      +87     
- Misses         187     196       +9
Impacted Files Coverage Δ
src/tool.c 58.33% <100%> (+0.78%) ⬆️
src/gotcha.c 90.49% <100%> (+0.54%) ⬆️
src/thin.c 89.02% <89.02%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0ec062b...89a05a0. Read the comment docs.

@mplegendre
Copy link
Member Author

Added ppc64le support and tests, but still need documentation on new interfaces

@mplegendre mplegendre removed the WIP Work In Progress label Aug 27, 2018
@mplegendre mplegendre changed the title WIP: Initial implementation on interface-independent wrapping Interface-independent wrapping Aug 27, 2018
@mplegendre
Copy link
Member Author

This should be ready for review

@DavidPoliakoff
Copy link
Contributor

Cool. It'll probably be a couple of weeks before I can really give it a look, but thanks for putting it together

@DavidPoliakoff
Copy link
Contributor

@mplegendre , last I looked I thought I had approved this? Oops. I'll approve it in a review now

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