{"action":"created","issue":{"url":"https://api.github.com/repos/comprakt/comprakt-fuzz/issues/1","repository_url":"https://api.github.com/repos/comprakt/comprakt-fuzz","labels_url":"https://api.github.com/repos/comprakt/comprakt-fuzz/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/comprakt/comprakt-fuzz/issues/1/comments","events_url":"https://api.github.com/repos/comprakt/comprakt-fuzz/issues/1/events","html_url":"https://github.com/comprakt/comprakt-fuzz/issues/1","id":374044732,"node_id":"MDU6SXNzdWUzNzQwNDQ3MzI=","number":1,"title":"Fuzzer can generate keywords as identifiers","user":{"login":"bitowl","id":1002285,"node_id":"MDQ6VXNlcjEwMDIyODU=","avatar_url":"https://avatars2.githubusercontent.com/u/1002285?v=4","gravatar_id":"","url":"https://api.github.com/users/bitowl","html_url":"https://github.com/bitowl","followers_url":"https://api.github.com/users/bitowl/followers","following_url":"https://api.github.com/users/bitowl/following{/other_user}","gists_url":"https://api.github.com/users/bitowl/gists{/gist_id}","starred_url":"https://api.github.com/users/bitowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitowl/subscriptions","organizations_url":"https://api.github.com/users/bitowl/orgs","repos_url":"https://api.github.com/users/bitowl/repos","events_url":"https://api.github.com/users/bitowl/events{/privacy}","received_events_url":"https://api.github.com/users/bitowl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-25T17:06:17Z","updated_at":"2018-10-25T17:08:28Z","closed_at":null,"author_association":"NONE","body":"In the grammar, IDENT can be any kind of characters, so the fuzzer generated this:\r\n```\r\npublic if bSO(c P4ZIcme)  {\r\n```\r\n\r\nWhich resulted in the tokens:\r\n```\r\npublic\r\nidentifier if\r\nidentifier bSO\r\n(\r\nidentifier c\r\nidentifier P4ZIcme\r\n)\r\n{ \r\n```\r\n\r\nAs `if` is a keyword in MiniJava the Lexer should not parse it as an identifier.\r\n\r\nSame could happen with other keywords that have ten characters or less.\r\n"},"comment":{"url":"https://api.github.com/repos/comprakt/comprakt-fuzz/issues/comments/433131439","html_url":"https://github.com/comprakt/comprakt-fuzz/issues/1#issuecomment-433131439","issue_url":"https://api.github.com/repos/comprakt/comprakt-fuzz/issues/1","id":433131439,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzEzMTQzOQ==","user":{"login":"flip1995","id":9744647,"node_id":"MDQ6VXNlcjk3NDQ2NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/9744647?v=4","gravatar_id":"","url":"https://api.github.com/users/flip1995","html_url":"https://github.com/flip1995","followers_url":"https://api.github.com/users/flip1995/followers","following_url":"https://api.github.com/users/flip1995/following{/other_user}","gists_url":"https://api.github.com/users/flip1995/gists{/gist_id}","starred_url":"https://api.github.com/users/flip1995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flip1995/subscriptions","organizations_url":"https://api.github.com/users/flip1995/orgs","repos_url":"https://api.github.com/users/flip1995/repos","events_url":"https://api.github.com/users/flip1995/events{/privacy}","received_events_url":"https://api.github.com/users/flip1995/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T17:08:28Z","updated_at":"2018-10-25T17:08:28Z","author_association":"CONTRIBUTOR","body":"Thanks for pointing that out! I don't think this can be fixed here, but I can hack this in my fork of the gram fuzz lib. "}}
{"actor":{"display_login":"flip1995"}}