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

simplify building on unix systems #4

Merged
merged 2 commits into from Jul 26, 2022

Conversation

john-tornblom
Copy link
Contributor

Invoking functions on the ps5 works fine, but what is returned from API.call(...)? Invoking "getpid" returns a valid pointer, but what is it pointing at?

@TheOfficialFloW TheOfficialFloW merged commit 49610fd into TheOfficialFloW:master Jul 26, 2022
@TheOfficialFloW
Copy link
Owner

It should return the value not pointer.

@john-tornblom
Copy link
Contributor Author

Alright, I will investigate further, thanks.

@john-tornblom
Copy link
Contributor Author

I have been investigating further (see https://github.com/john-tornblom/bdj-sdk/tree/master/samples/ps5-invoke-native).
It seems the return value from the gadget is not what I expedited it to be. For example, when I invoke getpid", I get a very large number back.

@TheOfficialFloW
Copy link
Owner

Well, then just use the API from my repo? Why do you reimplement it and then complain here?

@john-tornblom
Copy link
Contributor Author

You are right, I'll try to reproducer my problem from your code base instead...

TheOfficialFloW added a commit that referenced this pull request Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants