-
Notifications
You must be signed in to change notification settings - Fork 11
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
Counting number of TNT bits in Long TNT packets #10
Comments
Hmm... I see. I'm currently working on refactoring some of the above codebase. I'll add the above change to my list for the PR. Thanks for the quick response. ~Kunal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was going through the source code for your proxy fast implementation (for both Edge-PT and PTrix), and I came upon something that seemed odd to me: the case for a Long TNT packet [1] does not update the
ctx_tnt_counter
variable. From the comments, it seems like thectx_tnt_counter
variable is supposed to keep track of the number of TNT bits seen in the current program slice. This checks out as the case for a Short TNT packet updates it with the number of valid TNT bits. Am I misunderstanding what the variable is used for or is was this an engineering design decision?Thanks
[1]: https://github.com/junxzm1990/afl-pt/blob/master/afl-2.42b/pt_mode/pt_proxy/pt_parser_fast.h#L518
The text was updated successfully, but these errors were encountered: