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

What is this? #1

Open
xcvista opened this issue Apr 19, 2013 · 4 comments
Open

What is this? #1

xcvista opened this issue Apr 19, 2013 · 4 comments

Comments

@xcvista
Copy link

xcvista commented Apr 19, 2013

I tried to read the code of this libmstring.1.so and I cannot understand it. Can you, more or less, document it?

@0xabad1dea
Copy link
Owner

Hi, I do not distribute this as "libmstring", that is probably a different project. In my case the m is for my first name as this was a personal project. Perhaps you are looking for http://nomoretears.org/projects/libmstring/

@xcvista
Copy link
Author

xcvista commented Apr 20, 2013

I intended for this project actually. As it is obvious that this project is called mstring and it is a library, I called it libmstring and assumed the soname libmstring.1.so (libmstring.1.dylib on OS X, mstring.dll on Windows).

I would like to know 1) what is it and 2) what does it do and 3) what is the license term or public use is prohibited (assuming I can always fair use)

And a little tip, can you read a little bit about assert.h?

@0xabad1dea
Copy link
Owner

Oh, okay. It's simply an experiment in a string library that tries to be more buffer overflow resistant with cute tricks, but I was unsure if the idea was sound, so I posted it to share with my peers. I just didn't want anyone thinking it was already in a usable state and using it when it may be completely flawed.

@xcvista
Copy link
Author

xcvista commented Apr 20, 2013

Hmm... Actually there are already existing solutions in C. Apple's CoreFoundation is partially open-sourced and you can use their CFString, and GNUstep project have one implementation as well in library CoreBase too (but using that one would require a full Objective-C environment and can be a little tricky to set up)

And you can check out my universal linear array libvector https://github.com/xcvista/libvector and extend it to support string manipulation.

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

No branches or pull requests

2 participants