| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Definition of PreamblePatcher | 5 // Definition of PreamblePatcher |
| 6 | 6 |
| 7 #ifndef SANDBOX_SRC_SIDESTEP_PREAMBLE_PATCHER_H__ | 7 #ifndef SANDBOX_SRC_SIDESTEP_PREAMBLE_PATCHER_H__ |
| 8 #define SANDBOX_SRC_SIDESTEP_PREAMBLE_PATCHER_H__ | 8 #define SANDBOX_SRC_SIDESTEP_PREAMBLE_PATCHER_H__ |
| 9 | 9 |
| 10 namespace sidestep { | 10 namespace sidestep { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 static SideStepError RawPatchWithStub(void* target_function, | 100 static SideStepError RawPatchWithStub(void* target_function, |
| 101 void *replacement_function, | 101 void *replacement_function, |
| 102 unsigned char* preamble_stub, | 102 unsigned char* preamble_stub, |
| 103 size_t stub_size, | 103 size_t stub_size, |
| 104 size_t* bytes_needed); | 104 size_t* bytes_needed); |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 }; // namespace sidestep | 107 }; // namespace sidestep |
| 108 | 108 |
| 109 #endif // SANDBOX_SRC_SIDESTEP_PREAMBLE_PATCHER_H__ | 109 #endif // SANDBOX_SRC_SIDESTEP_PREAMBLE_PATCHER_H__ |
| OLD | NEW |