{"action":"created","comment":{"url":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/comments/231124270","pull_request_review_id":172019742,"id":231124270,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMTEyNDI3MA==","diff_hunk":"@@ -90,19 +90,23 @@ def get_word_at(self, index: int):\n \n     def __getitem__(self, item):\n         if isinstance(item, slice):\n+            start, step, stop = item.start, item.step, item.stop\n             try:\n+                if start is None:","path":"mythril/laser/ethereum/state.py","position":6,"original_position":6,"commit_id":"3356b4c02dbf90397249553ebb61cfa575bde073","original_commit_id":"3356b4c02dbf90397249553ebb61cfa575bde073","user":{"login":"JoranHonig","id":8710366,"node_id":"MDQ6VXNlcjg3MTAzNjY=","avatar_url":"https://avatars0.githubusercontent.com/u/8710366?v=4","gravatar_id":"","url":"https://api.github.com/users/JoranHonig","html_url":"https://github.com/JoranHonig","followers_url":"https://api.github.com/users/JoranHonig/followers","following_url":"https://api.github.com/users/JoranHonig/following{/other_user}","gists_url":"https://api.github.com/users/JoranHonig/gists{/gist_id}","starred_url":"https://api.github.com/users/JoranHonig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoranHonig/subscriptions","organizations_url":"https://api.github.com/users/JoranHonig/orgs","repos_url":"https://api.github.com/users/JoranHonig/repos","events_url":"https://api.github.com/users/JoranHonig/events{/privacy}","received_events_url":"https://api.github.com/users/JoranHonig/received_events","type":"User","site_admin":false},"body":"You could even make a oneliner:\r\n```\r\nstart, step, stop = item.start or 0, item.step or 1, item.stop or self.calldatasize\r\n```","created_at":"2018-11-06T13:39:04Z","updated_at":"2018-11-06T13:39:04Z","html_url":"https://github.com/ConsenSys/mythril-classic/pull/664#discussion_r231124270","pull_request_url":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/664","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/comments/231124270"},"html":{"href":"https://github.com/ConsenSys/mythril-classic/pull/664#discussion_r231124270"},"pull_request":{"href":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/664"}},"in_reply_to_id":231123795},"pull_request":{"url":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/664","id":228141491,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MTQxNDkx","html_url":"https://github.com/ConsenSys/mythril-classic/pull/664","diff_url":"https://github.com/ConsenSys/mythril-classic/pull/664.diff","patch_url":"https://github.com/ConsenSys/mythril-classic/pull/664.patch","issue_url":"https://api.github.com/repos/ConsenSys/mythril-classic/issues/664","number":664,"state":"open","locked":false,"title":"Add EnvironmentInfo tests","user":{"login":"norhh","id":15844703,"node_id":"MDQ6VXNlcjE1ODQ0NzAz","avatar_url":"https://avatars1.githubusercontent.com/u/15844703?v=4","gravatar_id":"","url":"https://api.github.com/users/norhh","html_url":"https://github.com/norhh","followers_url":"https://api.github.com/users/norhh/followers","following_url":"https://api.github.com/users/norhh/following{/other_user}","gists_url":"https://api.github.com/users/norhh/gists{/gist_id}","starred_url":"https://api.github.com/users/norhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norhh/subscriptions","organizations_url":"https://api.github.com/users/norhh/orgs","repos_url":"https://api.github.com/users/norhh/repos","events_url":"https://api.github.com/users/norhh/events{/privacy}","received_events_url":"https://api.github.com/users/norhh/received_events","type":"User","site_admin":false},"body":"- Added EnvironmentalInfo tests\r\n- Made some fixes in the corresponding places like the Calldata class and few instructions like calldataload etc","created_at":"2018-11-03T21:10:21Z","updated_at":"2018-11-06T13:39:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0baf04a127551ecd7a6dddc0d8dab638774c267d","assignee":{"login":"norhh","id":15844703,"node_id":"MDQ6VXNlcjE1ODQ0NzAz","avatar_url":"https://avatars1.githubusercontent.com/u/15844703?v=4","gravatar_id":"","url":"https://api.github.com/users/norhh","html_url":"https://github.com/norhh","followers_url":"https://api.github.com/users/norhh/followers","following_url":"https://api.github.com/users/norhh/following{/other_user}","gists_url":"https://api.github.com/users/norhh/gists{/gist_id}","starred_url":"https://api.github.com/users/norhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norhh/subscriptions","organizations_url":"https://api.github.com/users/norhh/orgs","repos_url":"https://api.github.com/users/norhh/repos","events_url":"https://api.github.com/users/norhh/events{/privacy}","received_events_url":"https://api.github.com/users/norhh/received_events","type":"User","site_admin":false},"assignees":[{"login":"norhh","id":15844703,"node_id":"MDQ6VXNlcjE1ODQ0NzAz","avatar_url":"https://avatars1.githubusercontent.com/u/15844703?v=4","gravatar_id":"","url":"https://api.github.com/users/norhh","html_url":"https://github.com/norhh","followers_url":"https://api.github.com/users/norhh/followers","following_url":"https://api.github.com/users/norhh/following{/other_user}","gists_url":"https://api.github.com/users/norhh/gists{/gist_id}","starred_url":"https://api.github.com/users/norhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norhh/subscriptions","organizations_url":"https://api.github.com/users/norhh/orgs","repos_url":"https://api.github.com/users/norhh/repos","events_url":"https://api.github.com/users/norhh/events{/privacy}","received_events_url":"https://api.github.com/users/norhh/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":930864786,"node_id":"MDU6TGFiZWw5MzA4NjQ3ODY=","url":"https://api.github.com/repos/ConsenSys/mythril-classic/labels/Review","name":"Review","color":"e6e6e6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/664/commits","review_comments_url":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/664/comments","review_comment_url":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ConsenSys/mythril-classic/issues/664/comments","statuses_url":"https://api.github.com/repos/ConsenSys/mythril-classic/statuses/3356b4c02dbf90397249553ebb61cfa575bde073","head":{"label":"norhh:develop","ref":"develop","sha":"3356b4c02dbf90397249553ebb61cfa575bde073","user":{"login":"norhh","id":15844703,"node_id":"MDQ6VXNlcjE1ODQ0NzAz","avatar_url":"https://avatars1.githubusercontent.com/u/15844703?v=4","gravatar_id":"","url":"https://api.github.com/users/norhh","html_url":"https://github.com/norhh","followers_url":"https://api.github.com/users/norhh/followers","following_url":"https://api.github.com/users/norhh/following{/other_user}","gists_url":"https://api.github.com/users/norhh/gists{/gist_id}","starred_url":"https://api.github.com/users/norhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norhh/subscriptions","organizations_url":"https://api.github.com/users/norhh/orgs","repos_url":"https://api.github.com/users/norhh/repos","events_url":"https://api.github.com/users/norhh/events{/privacy}","received_events_url":"https://api.github.com/users/norhh/received_events","type":"User","site_admin":false},"repo":{"id":137556599,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc1NTY1OTk=","name":"mythril","full_name":"norhh/mythril","private":false,"owner":{"login":"norhh","id":15844703,"node_id":"MDQ6VXNlcjE1ODQ0NzAz","avatar_url":"https://avatars1.githubusercontent.com/u/15844703?v=4","gravatar_id":"","url":"https://api.github.com/users/norhh","html_url":"https://github.com/norhh","followers_url":"https://api.github.com/users/norhh/followers","following_url":"https://api.github.com/users/norhh/following{/other_user}","gists_url":"https://api.github.com/users/norhh/gists{/gist_id}","starred_url":"https://api.github.com/users/norhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norhh/subscriptions","organizations_url":"https://api.github.com/users/norhh/orgs","repos_url":"https://api.github.com/users/norhh/repos","events_url":"https://api.github.com/users/norhh/events{/privacy}","received_events_url":"https://api.github.com/users/norhh/received_events","type":"User","site_admin":false},"html_url":"https://github.com/norhh/mythril","description":"Security analysis tool for Ethereum smart contracts","fork":true,"url":"https://api.github.com/repos/norhh/mythril","forks_url":"https://api.github.com/repos/norhh/mythril/forks","keys_url":"https://api.github.com/repos/norhh/mythril/keys{/key_id}","collaborators_url":"https://api.github.com/repos/norhh/mythril/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/norhh/mythril/teams","hooks_url":"https://api.github.com/repos/norhh/mythril/hooks","issue_events_url":"https://api.github.com/repos/norhh/mythril/issues/events{/number}","events_url":"https://api.github.com/repos/norhh/mythril/events","assignees_url":"https://api.github.com/repos/norhh/mythril/assignees{/user}","branches_url":"https://api.github.com/repos/norhh/mythril/branches{/branch}","tags_url":"https://api.github.com/repos/norhh/mythril/tags","blobs_url":"https://api.github.com/repos/norhh/mythril/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/norhh/mythril/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/norhh/mythril/git/refs{/sha}","trees_url":"https://api.github.com/repos/norhh/mythril/git/trees{/sha}","statuses_url":"https://api.github.com/repos/norhh/mythril/statuses/{sha}","languages_url":"https://api.github.com/repos/norhh/mythril/languages","stargazers_url":"https://api.github.com/repos/norhh/mythril/stargazers","contributors_url":"https://api.github.com/repos/norhh/mythril/contributors","subscribers_url":"https://api.github.com/repos/norhh/mythril/subscribers","subscription_url":"https://api.github.com/repos/norhh/mythril/subscription","commits_url":"https://api.github.com/repos/norhh/mythril/commits{/sha}","git_commits_url":"https://api.github.com/repos/norhh/mythril/git/commits{/sha}","comments_url":"https://api.github.com/repos/norhh/mythril/comments{/number}","issue_comment_url":"https://api.github.com/repos/norhh/mythril/issues/comments{/number}","contents_url":"https://api.github.com/repos/norhh/mythril/contents/{+path}","compare_url":"https://api.github.com/repos/norhh/mythril/compare/{base}...{head}","merges_url":"https://api.github.com/repos/norhh/mythril/merges","archive_url":"https://api.github.com/repos/norhh/mythril/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/norhh/mythril/downloads","issues_url":"https://api.github.com/repos/norhh/mythril/issues{/number}","pulls_url":"https://api.github.com/repos/norhh/mythril/pulls{/number}","milestones_url":"https://api.github.com/repos/norhh/mythril/milestones{/number}","notifications_url":"https://api.github.com/repos/norhh/mythril/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/norhh/mythril/labels{/name}","releases_url":"https://api.github.com/repos/norhh/mythril/releases{/id}","deployments_url":"https://api.github.com/repos/norhh/mythril/deployments","created_at":"2018-06-16T05:46:10Z","updated_at":"2018-10-31T17:46:05Z","pushed_at":"2018-11-05T14:07:25Z","git_url":"git://github.com/norhh/mythril.git","ssh_url":"git@github.com:norhh/mythril.git","clone_url":"https://github.com/norhh/mythril.git","svn_url":"https://github.com/norhh/mythril","homepage":"","size":4490,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ConsenSys:develop","ref":"develop","sha":"47bf8a5ee8218c6fc42ddfaac0a690fdaff63b96","user":{"login":"ConsenSys","id":10818037,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwODE4MDM3","avatar_url":"https://avatars3.githubusercontent.com/u/10818037?v=4","gravatar_id":"","url":"https://api.github.com/users/ConsenSys","html_url":"https://github.com/ConsenSys","followers_url":"https://api.github.com/users/ConsenSys/followers","following_url":"https://api.github.com/users/ConsenSys/following{/other_user}","gists_url":"https://api.github.com/users/ConsenSys/gists{/gist_id}","starred_url":"https://api.github.com/users/ConsenSys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConsenSys/subscriptions","organizations_url":"https://api.github.com/users/ConsenSys/orgs","repos_url":"https://api.github.com/users/ConsenSys/repos","events_url":"https://api.github.com/users/ConsenSys/events{/privacy}","received_events_url":"https://api.github.com/users/ConsenSys/received_events","type":"Organization","site_admin":false},"repo":{"id":103890505,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM4OTA1MDU=","name":"mythril-classic","full_name":"ConsenSys/mythril-classic","private":false,"owner":{"login":"ConsenSys","id":10818037,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwODE4MDM3","avatar_url":"https://avatars3.githubusercontent.com/u/10818037?v=4","gravatar_id":"","url":"https://api.github.com/users/ConsenSys","html_url":"https://github.com/ConsenSys","followers_url":"https://api.github.com/users/ConsenSys/followers","following_url":"https://api.github.com/users/ConsenSys/following{/other_user}","gists_url":"https://api.github.com/users/ConsenSys/gists{/gist_id}","starred_url":"https://api.github.com/users/ConsenSys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConsenSys/subscriptions","organizations_url":"https://api.github.com/users/ConsenSys/orgs","repos_url":"https://api.github.com/users/ConsenSys/repos","events_url":"https://api.github.com/users/ConsenSys/events{/privacy}","received_events_url":"https://api.github.com/users/ConsenSys/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ConsenSys/mythril-classic","description":"Mythril Classic: Security analysis tool for Ethereum smart contracts","fork":false,"url":"https://api.github.com/repos/ConsenSys/mythril-classic","forks_url":"https://api.github.com/repos/ConsenSys/mythril-classic/forks","keys_url":"https://api.github.com/repos/ConsenSys/mythril-classic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ConsenSys/mythril-classic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ConsenSys/mythril-classic/teams","hooks_url":"https://api.github.com/repos/ConsenSys/mythril-classic/hooks","issue_events_url":"https://api.github.com/repos/ConsenSys/mythril-classic/issues/events{/number}","events_url":"https://api.github.com/repos/ConsenSys/mythril-classic/events","assignees_url":"https://api.github.com/repos/ConsenSys/mythril-classic/assignees{/user}","branches_url":"https://api.github.com/repos/ConsenSys/mythril-classic/branches{/branch}","tags_url":"https://api.github.com/repos/ConsenSys/mythril-classic/tags","blobs_url":"https://api.github.com/repos/ConsenSys/mythril-classic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ConsenSys/mythril-classic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ConsenSys/mythril-classic/git/refs{/sha}","trees_url":"https://api.github.com/repos/ConsenSys/mythril-classic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ConsenSys/mythril-classic/statuses/{sha}","languages_url":"https://api.github.com/repos/ConsenSys/mythril-classic/languages","stargazers_url":"https://api.github.com/repos/ConsenSys/mythril-classic/stargazers","contributors_url":"https://api.github.com/repos/ConsenSys/mythril-classic/contributors","subscribers_url":"https://api.github.com/repos/ConsenSys/mythril-classic/subscribers","subscription_url":"https://api.github.com/repos/ConsenSys/mythril-classic/subscription","commits_url":"https://api.github.com/repos/ConsenSys/mythril-classic/commits{/sha}","git_commits_url":"https://api.github.com/repos/ConsenSys/mythril-classic/git/commits{/sha}","comments_url":"https://api.github.com/repos/ConsenSys/mythril-classic/comments{/number}","issue_comment_url":"https://api.github.com/repos/ConsenSys/mythril-classic/issues/comments{/number}","contents_url":"https://api.github.com/repos/ConsenSys/mythril-classic/contents/{+path}","compare_url":"https://api.github.com/repos/ConsenSys/mythril-classic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ConsenSys/mythril-classic/merges","archive_url":"https://api.github.com/repos/ConsenSys/mythril-classic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ConsenSys/mythril-classic/downloads","issues_url":"https://api.github.com/repos/ConsenSys/mythril-classic/issues{/number}","pulls_url":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls{/number}","milestones_url":"https://api.github.com/repos/ConsenSys/mythril-classic/milestones{/number}","notifications_url":"https://api.github.com/repos/ConsenSys/mythril-classic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ConsenSys/mythril-classic/labels{/name}","releases_url":"https://api.github.com/repos/ConsenSys/mythril-classic/releases{/id}","deployments_url":"https://api.github.com/repos/ConsenSys/mythril-classic/deployments","created_at":"2017-09-18T04:14:20Z","updated_at":"2018-11-06T12:57:25Z","pushed_at":"2018-11-06T12:47:25Z","git_url":"git://github.com/ConsenSys/mythril-classic.git","ssh_url":"git@github.com:ConsenSys/mythril-classic.git","clone_url":"https://github.com/ConsenSys/mythril-classic.git","svn_url":"https://github.com/ConsenSys/mythril-classic","homepage":"https://mythril.ai","size":4575,"stargazers_count":1037,"watchers_count":1037,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":232,"mirror_url":null,"archived":false,"open_issues_count":83,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":232,"open_issues":83,"watchers":1037,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/664"},"html":{"href":"https://github.com/ConsenSys/mythril-classic/pull/664"},"issue":{"href":"https://api.github.com/repos/ConsenSys/mythril-classic/issues/664"},"comments":{"href":"https://api.github.com/repos/ConsenSys/mythril-classic/issues/664/comments"},"review_comments":{"href":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/664/comments"},"review_comment":{"href":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ConsenSys/mythril-classic/pulls/664/commits"},"statuses":{"href":"https://api.github.com/repos/ConsenSys/mythril-classic/statuses/3356b4c02dbf90397249553ebb61cfa575bde073"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"JoranHonig"}}