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

Functions that receive user input? #17

Closed
qhdwns123 opened this issue Jul 11, 2017 · 6 comments
Closed

Functions that receive user input? #17

qhdwns123 opened this issue Jul 11, 2017 · 6 comments

Comments

@qhdwns123
Copy link

I would like to test my files as input.

Can someone help me?

test uses a fixed file.

I have difficulty because there is no guide.

@tomleavy
Copy link
Contributor

hey @qhdwns123 can you give me more specifics about what you would like to do? Are you trying to generate test message data to test encryption / decryption or are you trying to test a specific function input for stability?

@qhdwns123
Copy link
Author

qhdwns123 commented Jul 11, 2017

@tomleavy

I want to test certain functions for stability.
I want to test the stability of a function that receives user input.
I do not have a guide specifically for APIs.

@tomleavy
Copy link
Contributor

sure no problem, there are a few functions that could take user input from the various versions of the UI that exist. Take a look at wickr_ctx.h, there are comments in the header that explain it's functionality, and that is the API that the Wickr apps use internally to interact with this library

@tomleavy tomleavy changed the title Hello. Functions that receive user input? Jul 11, 2017
@qhdwns123
Copy link
Author

Have you ever made a fuzzing source for stability testing?

@tomleavy
Copy link
Contributor

I have not personally done that, but others have run a fuzzing utility against the code before. Any contributions would be appreciated since it's something I've been looking to get into CI automation. I would like to use AFL

@qhdwns123
Copy link
Author

@ tomleavy

In general, the AFL runs in a binary environment.

I think you should use libfuzzer for testing.

I'm not a Wickr developer, so I think testing will be difficult right now.

I will take a look if I have spare time.

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