{"action":"created","issue":{"url":"https://api.github.com/repos/DynamoRIO/drmemory/issues/1847","labels_url":"https://api.github.com/repos/DynamoRIO/drmemory/issues/1847/labels{/name}","comments_url":"https://api.github.com/repos/DynamoRIO/drmemory/issues/1847/comments","events_url":"https://api.github.com/repos/DynamoRIO/drmemory/issues/1847/events","html_url":"https://github.com/DynamoRIO/drmemory/issues/1847","id":126919409,"number":1847,"title":"Dr. Fuzz -fuzz_replace_buffer causes test failures","user":{"login":"zhaoqin","id":1645580,"avatar_url":"https://avatars.githubusercontent.com/u/1645580?v=3","gravatar_id":"","url":"https://api.github.com/users/zhaoqin","html_url":"https://github.com/zhaoqin","followers_url":"https://api.github.com/users/zhaoqin/followers","following_url":"https://api.github.com/users/zhaoqin/following{/other_user}","gists_url":"https://api.github.com/users/zhaoqin/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaoqin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaoqin/subscriptions","organizations_url":"https://api.github.com/users/zhaoqin/orgs","repos_url":"https://api.github.com/users/zhaoqin/repos","events_url":"https://api.github.com/users/zhaoqin/events{/privacy}","received_events_url":"https://api.github.com/users/zhaoqin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-15T17:32:55Z","updated_at":"2016-01-15T17:50:00Z","closed_at":null,"body":"Current implementation of the -fuzz_replace_buffer only change state->input_buffer and state->input_size, and it forgets to change the state->mutation_start, which is where the mutation value is copied too, so we should adjust the state->mutation_start accordingly.\r\n\r\nIt may also affect how we use the mutator because it stores the size of the input. Once we create the mutator, we should not use the same input buffer for that mutator."},"comment":{"url":"https://api.github.com/repos/DynamoRIO/drmemory/issues/comments/172032544","html_url":"https://github.com/DynamoRIO/drmemory/issues/1847#issuecomment-172032544","issue_url":"https://api.github.com/repos/DynamoRIO/drmemory/issues/1847","id":172032544,"user":{"login":"zhaoqin","id":1645580,"avatar_url":"https://avatars.githubusercontent.com/u/1645580?v=3","gravatar_id":"","url":"https://api.github.com/users/zhaoqin","html_url":"https://github.com/zhaoqin","followers_url":"https://api.github.com/users/zhaoqin/followers","following_url":"https://api.github.com/users/zhaoqin/following{/other_user}","gists_url":"https://api.github.com/users/zhaoqin/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaoqin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaoqin/subscriptions","organizations_url":"https://api.github.com/users/zhaoqin/orgs","repos_url":"https://api.github.com/users/zhaoqin/repos","events_url":"https://api.github.com/users/zhaoqin/events{/privacy}","received_events_url":"https://api.github.com/users/zhaoqin/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T17:50:00Z","updated_at":"2016-01-15T17:50:00Z","body":"There is a test with -fuzz_replace_buffer, just no test combine the -fuzz_replace_buffer with mutation and check the mutation value.\r\nThe -fuzz_replace_buffer was added for loading input files."}}