{"action":"created","comment":{"url":"https://api.github.com/repos/kframework/c-semantics/pulls/comments/48607248","id":48607248,"diff_hunk":"@@ -0,0 +1,43 @@\n+// Copyright (c) 2015 Runtime Verification, Inc. (RV-Match team). All Rights Reserved.\n+\n+#include<stdio.h>\n+#include<string.h>\n+#include<pthread.h>\n+#include<stdlib.h>\n+\n+\n+\n+pthread_t thread_id;\n+pthread_mutex_t lock;\n+\n+void * locker_thread(void * ptr) \n+{\n+    pthread_mutex_unlock(&lock);\n+    return NULL;\n+}\n+\n+int main(void)\n+{\n+    int err = 0;\n+    if (pthread_mutex_init(&lock, NULL) != 0)\n+    {\n+        printf(\"\\n mutex init failed\\n\");\n+        return 1;\n+    }\n+\n+","path":"examples/simple/posix/UB-PTHREAD6-bad.c","position":28,"original_position":28,"commit_id":"b53fa2fbf5cd41cc591f1a4af9b0d9cb6b8e0c4b","original_commit_id":"b53fa2fbf5cd41cc591f1a4af9b0d9cb6b8e0c4b","user":{"login":"grosu","id":3733729,"avatar_url":"https://avatars.githubusercontent.com/u/3733729?v=3","gravatar_id":"","url":"https://api.github.com/users/grosu","html_url":"https://github.com/grosu","followers_url":"https://api.github.com/users/grosu/followers","following_url":"https://api.github.com/users/grosu/following{/other_user}","gists_url":"https://api.github.com/users/grosu/gists{/gist_id}","starred_url":"https://api.github.com/users/grosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosu/subscriptions","organizations_url":"https://api.github.com/users/grosu/orgs","repos_url":"https://api.github.com/users/grosu/repos","events_url":"https://api.github.com/users/grosu/events{/privacy}","received_events_url":"https://api.github.com/users/grosu/received_events","type":"User","site_admin":false},"body":"3 whitelines?","created_at":"2015-12-30T14:46:49Z","updated_at":"2015-12-30T14:46:49Z","html_url":"https://github.com/kframework/c-semantics/pull/197#discussion_r48607248","pull_request_url":"https://api.github.com/repos/kframework/c-semantics/pulls/197","_links":{"self":{"href":"https://api.github.com/repos/kframework/c-semantics/pulls/comments/48607248"},"html":{"href":"https://github.com/kframework/c-semantics/pull/197#discussion_r48607248"},"pull_request":{"href":"https://api.github.com/repos/kframework/c-semantics/pulls/197"}}},"pull_request":{"url":"https://api.github.com/repos/kframework/c-semantics/pulls/197","id":54567918,"html_url":"https://github.com/kframework/c-semantics/pull/197","diff_url":"https://github.com/kframework/c-semantics/pull/197.diff","patch_url":"https://github.com/kframework/c-semantics/pull/197.patch","issue_url":"https://api.github.com/repos/kframework/c-semantics/issues/197","number":197,"state":"open","locked":false,"title":"New Examples for Posix Threads + Memory Lint Errors","user":{"login":"msaxena2","id":5590858,"avatar_url":"https://avatars.githubusercontent.com/u/5590858?v=3","gravatar_id":"","url":"https://api.github.com/users/msaxena2","html_url":"https://github.com/msaxena2","followers_url":"https://api.github.com/users/msaxena2/followers","following_url":"https://api.github.com/users/msaxena2/following{/other_user}","gists_url":"https://api.github.com/users/msaxena2/gists{/gist_id}","starred_url":"https://api.github.com/users/msaxena2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msaxena2/subscriptions","organizations_url":"https://api.github.com/users/msaxena2/orgs","repos_url":"https://api.github.com/users/msaxena2/repos","events_url":"https://api.github.com/users/msaxena2/events{/privacy}","received_events_url":"https://api.github.com/users/msaxena2/received_events","type":"User","site_admin":false},"body":"WIP. Not yet ready.","created_at":"2015-12-24T22:48:47Z","updated_at":"2015-12-30T14:46:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11a2538a08d0aa526491673a7e719222bbb48792","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kframework/c-semantics/pulls/197/commits","review_comments_url":"https://api.github.com/repos/kframework/c-semantics/pulls/197/comments","review_comment_url":"https://api.github.com/repos/kframework/c-semantics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kframework/c-semantics/issues/197/comments","statuses_url":"https://api.github.com/repos/kframework/c-semantics/statuses/b53fa2fbf5cd41cc591f1a4af9b0d9cb6b8e0c4b","head":{"label":"msaxena2:new_error_codes","ref":"new_error_codes","sha":"b53fa2fbf5cd41cc591f1a4af9b0d9cb6b8e0c4b","user":{"login":"msaxena2","id":5590858,"avatar_url":"https://avatars.githubusercontent.com/u/5590858?v=3","gravatar_id":"","url":"https://api.github.com/users/msaxena2","html_url":"https://github.com/msaxena2","followers_url":"https://api.github.com/users/msaxena2/followers","following_url":"https://api.github.com/users/msaxena2/following{/other_user}","gists_url":"https://api.github.com/users/msaxena2/gists{/gist_id}","starred_url":"https://api.github.com/users/msaxena2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msaxena2/subscriptions","organizations_url":"https://api.github.com/users/msaxena2/orgs","repos_url":"https://api.github.com/users/msaxena2/repos","events_url":"https://api.github.com/users/msaxena2/events{/privacy}","received_events_url":"https://api.github.com/users/msaxena2/received_events","type":"User","site_admin":false},"repo":{"id":39853965,"name":"c-semantics","full_name":"msaxena2/c-semantics","owner":{"login":"msaxena2","id":5590858,"avatar_url":"https://avatars.githubusercontent.com/u/5590858?v=3","gravatar_id":"","url":"https://api.github.com/users/msaxena2","html_url":"https://github.com/msaxena2","followers_url":"https://api.github.com/users/msaxena2/followers","following_url":"https://api.github.com/users/msaxena2/following{/other_user}","gists_url":"https://api.github.com/users/msaxena2/gists{/gist_id}","starred_url":"https://api.github.com/users/msaxena2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msaxena2/subscriptions","organizations_url":"https://api.github.com/users/msaxena2/orgs","repos_url":"https://api.github.com/users/msaxena2/repos","events_url":"https://api.github.com/users/msaxena2/events{/privacy}","received_events_url":"https://api.github.com/users/msaxena2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/msaxena2/c-semantics","description":"Semantics of C in K","fork":true,"url":"https://api.github.com/repos/msaxena2/c-semantics","forks_url":"https://api.github.com/repos/msaxena2/c-semantics/forks","keys_url":"https://api.github.com/repos/msaxena2/c-semantics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msaxena2/c-semantics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msaxena2/c-semantics/teams","hooks_url":"https://api.github.com/repos/msaxena2/c-semantics/hooks","issue_events_url":"https://api.github.com/repos/msaxena2/c-semantics/issues/events{/number}","events_url":"https://api.github.com/repos/msaxena2/c-semantics/events","assignees_url":"https://api.github.com/repos/msaxena2/c-semantics/assignees{/user}","branches_url":"https://api.github.com/repos/msaxena2/c-semantics/branches{/branch}","tags_url":"https://api.github.com/repos/msaxena2/c-semantics/tags","blobs_url":"https://api.github.com/repos/msaxena2/c-semantics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msaxena2/c-semantics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msaxena2/c-semantics/git/refs{/sha}","trees_url":"https://api.github.com/repos/msaxena2/c-semantics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msaxena2/c-semantics/statuses/{sha}","languages_url":"https://api.github.com/repos/msaxena2/c-semantics/languages","stargazers_url":"https://api.github.com/repos/msaxena2/c-semantics/stargazers","contributors_url":"https://api.github.com/repos/msaxena2/c-semantics/contributors","subscribers_url":"https://api.github.com/repos/msaxena2/c-semantics/subscribers","subscription_url":"https://api.github.com/repos/msaxena2/c-semantics/subscription","commits_url":"https://api.github.com/repos/msaxena2/c-semantics/commits{/sha}","git_commits_url":"https://api.github.com/repos/msaxena2/c-semantics/git/commits{/sha}","comments_url":"https://api.github.com/repos/msaxena2/c-semantics/comments{/number}","issue_comment_url":"https://api.github.com/repos/msaxena2/c-semantics/issues/comments{/number}","contents_url":"https://api.github.com/repos/msaxena2/c-semantics/contents/{+path}","compare_url":"https://api.github.com/repos/msaxena2/c-semantics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msaxena2/c-semantics/merges","archive_url":"https://api.github.com/repos/msaxena2/c-semantics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msaxena2/c-semantics/downloads","issues_url":"https://api.github.com/repos/msaxena2/c-semantics/issues{/number}","pulls_url":"https://api.github.com/repos/msaxena2/c-semantics/pulls{/number}","milestones_url":"https://api.github.com/repos/msaxena2/c-semantics/milestones{/number}","notifications_url":"https://api.github.com/repos/msaxena2/c-semantics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msaxena2/c-semantics/labels{/name}","releases_url":"https://api.github.com/repos/msaxena2/c-semantics/releases{/id}","created_at":"2015-07-28T19:36:01Z","updated_at":"2015-07-28T19:36:05Z","pushed_at":"2015-12-30T14:34:31Z","git_url":"git://github.com/msaxena2/c-semantics.git","ssh_url":"git@github.com:msaxena2/c-semantics.git","clone_url":"https://github.com/msaxena2/c-semantics.git","svn_url":"https://github.com/msaxena2/c-semantics","homepage":"","size":18971,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kframework:master","ref":"master","sha":"fc97b97f53be5b35480a7c61c48a83c86db8b8e0","user":{"login":"kframework","id":5104335,"avatar_url":"https://avatars.githubusercontent.com/u/5104335?v=3","gravatar_id":"","url":"https://api.github.com/users/kframework","html_url":"https://github.com/kframework","followers_url":"https://api.github.com/users/kframework/followers","following_url":"https://api.github.com/users/kframework/following{/other_user}","gists_url":"https://api.github.com/users/kframework/gists{/gist_id}","starred_url":"https://api.github.com/users/kframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kframework/subscriptions","organizations_url":"https://api.github.com/users/kframework/orgs","repos_url":"https://api.github.com/users/kframework/repos","events_url":"https://api.github.com/users/kframework/events{/privacy}","received_events_url":"https://api.github.com/users/kframework/received_events","type":"Organization","site_admin":false},"repo":{"id":11747541,"name":"c-semantics","full_name":"kframework/c-semantics","owner":{"login":"kframework","id":5104335,"avatar_url":"https://avatars.githubusercontent.com/u/5104335?v=3","gravatar_id":"","url":"https://api.github.com/users/kframework","html_url":"https://github.com/kframework","followers_url":"https://api.github.com/users/kframework/followers","following_url":"https://api.github.com/users/kframework/following{/other_user}","gists_url":"https://api.github.com/users/kframework/gists{/gist_id}","starred_url":"https://api.github.com/users/kframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kframework/subscriptions","organizations_url":"https://api.github.com/users/kframework/orgs","repos_url":"https://api.github.com/users/kframework/repos","events_url":"https://api.github.com/users/kframework/events{/privacy}","received_events_url":"https://api.github.com/users/kframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kframework/c-semantics","description":"Semantics of C in K","fork":false,"url":"https://api.github.com/repos/kframework/c-semantics","forks_url":"https://api.github.com/repos/kframework/c-semantics/forks","keys_url":"https://api.github.com/repos/kframework/c-semantics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kframework/c-semantics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kframework/c-semantics/teams","hooks_url":"https://api.github.com/repos/kframework/c-semantics/hooks","issue_events_url":"https://api.github.com/repos/kframework/c-semantics/issues/events{/number}","events_url":"https://api.github.com/repos/kframework/c-semantics/events","assignees_url":"https://api.github.com/repos/kframework/c-semantics/assignees{/user}","branches_url":"https://api.github.com/repos/kframework/c-semantics/branches{/branch}","tags_url":"https://api.github.com/repos/kframework/c-semantics/tags","blobs_url":"https://api.github.com/repos/kframework/c-semantics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kframework/c-semantics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kframework/c-semantics/git/refs{/sha}","trees_url":"https://api.github.com/repos/kframework/c-semantics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kframework/c-semantics/statuses/{sha}","languages_url":"https://api.github.com/repos/kframework/c-semantics/languages","stargazers_url":"https://api.github.com/repos/kframework/c-semantics/stargazers","contributors_url":"https://api.github.com/repos/kframework/c-semantics/contributors","subscribers_url":"https://api.github.com/repos/kframework/c-semantics/subscribers","subscription_url":"https://api.github.com/repos/kframework/c-semantics/subscription","commits_url":"https://api.github.com/repos/kframework/c-semantics/commits{/sha}","git_commits_url":"https://api.github.com/repos/kframework/c-semantics/git/commits{/sha}","comments_url":"https://api.github.com/repos/kframework/c-semantics/comments{/number}","issue_comment_url":"https://api.github.com/repos/kframework/c-semantics/issues/comments{/number}","contents_url":"https://api.github.com/repos/kframework/c-semantics/contents/{+path}","compare_url":"https://api.github.com/repos/kframework/c-semantics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kframework/c-semantics/merges","archive_url":"https://api.github.com/repos/kframework/c-semantics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kframework/c-semantics/downloads","issues_url":"https://api.github.com/repos/kframework/c-semantics/issues{/number}","pulls_url":"https://api.github.com/repos/kframework/c-semantics/pulls{/number}","milestones_url":"https://api.github.com/repos/kframework/c-semantics/milestones{/number}","notifications_url":"https://api.github.com/repos/kframework/c-semantics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kframework/c-semantics/labels{/name}","releases_url":"https://api.github.com/repos/kframework/c-semantics/releases{/id}","created_at":"2013-07-29T19:13:25Z","updated_at":"2015-12-17T03:16:54Z","pushed_at":"2015-12-30T14:34:31Z","git_url":"git://github.com/kframework/c-semantics.git","ssh_url":"git@github.com:kframework/c-semantics.git","clone_url":"https://github.com/kframework/c-semantics.git","svn_url":"https://github.com/kframework/c-semantics","homepage":"","size":19186,"stargazers_count":39,"watchers_count":39,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":14,"forks":16,"open_issues":14,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kframework/c-semantics/pulls/197"},"html":{"href":"https://github.com/kframework/c-semantics/pull/197"},"issue":{"href":"https://api.github.com/repos/kframework/c-semantics/issues/197"},"comments":{"href":"https://api.github.com/repos/kframework/c-semantics/issues/197/comments"},"review_comments":{"href":"https://api.github.com/repos/kframework/c-semantics/pulls/197/comments"},"review_comment":{"href":"https://api.github.com/repos/kframework/c-semantics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kframework/c-semantics/pulls/197/commits"},"statuses":{"href":"https://api.github.com/repos/kframework/c-semantics/statuses/b53fa2fbf5cd41cc591f1a4af9b0d9cb6b8e0c4b"}}}}