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

Too big a chunk of refactoring and portability fix. #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kennethho
Copy link

Added gcc and clang build support for Ubuntu (tested with 17.04).
Added gcc/c4droid build support (tested with Marshmallow).
Added clang/termux build support (tested with marshmallow).
Added command line rewrite driver for testing.
Hopefully, Mac build is fine. I don't have the environment to verify.
Fixed a few potential buffer overrun (I vaguely remember a command could be up to 4k (?) (I could very well be wrong) and strncpy doesn't always NULL-end the string, ref manpage).

I was actually planning/researching on a similar tool, but for native environment. Thanks to this great template, a working prototype took only a few hours. It would most likely end up as a magisk module. Though it wasn't my plan to contribute to termux when I started, but I am a grateful user, so why not.

If ppl like what I did to it, there is more to come. If not, that fine, too. The code and updates will be on github, I just won't be actively sending pull requests.

Cheers,

  • kenneth

Added gcc and clang build support for Ubuntu (tested with 17.04).
Added gcc/c4droid build support (tested with Marshmallow).
Added clang/termux build support (tested with marshmallow).
Added command line rewrite driver for testing.
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.

1 participant