| Index: src/trusted/validator/x86/ncval_reg_sfi/nc_cpu_checks.c
|
| ===================================================================
|
| --- src/trusted/validator/x86/ncval_reg_sfi/nc_cpu_checks.c (revision 6734)
|
| +++ src/trusted/validator/x86/ncval_reg_sfi/nc_cpu_checks.c (working copy)
|
| @@ -15,7 +15,7 @@
|
|
|
| #include "native_client/src/shared/platform/nacl_log.h"
|
| #include "native_client/src/trusted/validator/x86/nacl_cpuid.h"
|
| -#include "native_client/src/trusted/validator/x86/decoder/nc_inst_iter.h"
|
| +#include "native_client/src/trusted/validator/x86/decoder/nc_inst_iter_inl.h"
|
| #include "native_client/src/trusted/validator/x86/decoder/nc_inst_state.h"
|
| #include "native_client/src/trusted/validator/x86/decoder/nc_inst_state_internal.h"
|
| #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter.h"
|
| @@ -171,7 +171,7 @@
|
| }
|
| if (squash_me) {
|
| /* Replace all bytes with the stop instruction. */
|
| - memset(NaClInstIterGetInstMemory(iter), kNaClFullStop,
|
| + memset(NaClInstIterGetInstMemoryInline(iter), kNaClFullStop,
|
| NaClInstStateLength(inst_state));
|
| }
|
| }
|
|
|