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

Define a global entropy measurement for strings and literals #835

Open
maxfisher-g opened this issue Aug 22, 2023 · 1 comment
Open

Define a global entropy measurement for strings and literals #835

maxfisher-g opened this issue Aug 22, 2023 · 1 comment

Comments

@maxfisher-g
Copy link
Contributor

Entropy calculations currently use per-file character frequency counts to define the expected probabilities for each character. It would be better to measure character frequencies on a large dataset of source files and then use the same frequency counts to analyse all packages.

@maxfisher-g
Copy link
Contributor Author

It will be easier to measure character frequencies when we have static analysis data in bigquery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant