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

Wrapped libssh2 #1538

Merged
merged 2 commits into from
May 30, 2024
Merged

Wrapped libssh2 #1538

merged 2 commits into from
May 30, 2024

Conversation

zohanzephyr
Copy link
Contributor

No description provided.

@ptitSeb
Copy link
Owner

ptitSeb commented May 30, 2024

No need for wrapped function here? What's the use case?

@zohanzephyr
Copy link
Contributor Author

No need for wrapped function here? What's the use case?

I test an application when used libssh2 library, which many functions are relocated, but the function of the real implementation of the library is wrapped so I have to wrap the libssh2 to be able to find the actual address of the function, the subsequent increase in functions I will add!

@ptitSeb
Copy link
Owner

ptitSeb commented May 30, 2024

No need for wrapped function here? What's the use case?

I test an application when used libssh2 library, which many functions are relocated, but the function of the real implementation of the library is wrapped so I have to wrap the libssh2 to be able to find the actual address of the function, the subsequent increase in functions I will add!

you can do something like nm -D /PATH/TO/libssh2.so.1 | grep " [DBTIW] " to get the name of the function available in the lib to pre-fill the _private.h

@zohanzephyr
Copy link
Contributor Author

No need for wrapped function here? What's the use case?

I test an application when used libssh2 library, which many functions are relocated, but the function of the real implementation of the library is wrapped so I have to wrap the libssh2 to be able to find the actual address of the function, the subsequent increase in functions I will add!

you can do something like nm -D /PATH/TO/libssh2.so.1 | grep " [DBTIW] " to get the name of the function available in the lib to pre-fill the _private.h

Okay, I'll add to that.

@ptitSeb ptitSeb merged commit 19ca787 into ptitSeb:main May 30, 2024
31 of 34 checks passed
Javier97sm pushed a commit to Javier97sm/box64 that referenced this pull request Aug 16, 2024
* Wrapped libssh2

* Add more libssh2 wrapped functions
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.

2 participants