Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: src/trusted/validator/x86/ncval_reg_sfi/address_sets.h

Issue 625923004: Delete old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/trusted/validator/x86/ncval_reg_sfi/address_sets.h
diff --git a/src/trusted/validator/x86/ncval_reg_sfi/address_sets.h b/src/trusted/validator/x86/ncval_reg_sfi/address_sets.h
deleted file mode 100644
index 66a9f05c123ba4a0a2435fbea72068c78700c1b1..0000000000000000000000000000000000000000
--- a/src/trusted/validator/x86/ncval_reg_sfi/address_sets.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2011 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_ADDRESS_SETS_H__
-#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_ADDRESS_SETS_H__
-
-/*
- * address_sets.h - Implements a bit set of addresses that is used by branch
- * validation to check if branches are safe.
- */
-
-#include "native_client/src/trusted/validator/types_memory_model.h"
-
-struct NaClValidatorState;
-
-/* Models a set of addresses using an an array of possible addresses,
- * where the last 3 bits are unioned together using a bit mask. This cuts
- * down on the memory footprint of the address table.
- */
-typedef uint8_t* NaClAddressSet;
-
-/* Return true if the corresponding address is in the given address set. */
-uint8_t NaClAddressSetContains(NaClAddressSet set,
- NaClPcAddress address,
- struct NaClValidatorState* state);
-
-/* Adds the given address to the given address set. */
-void NaClAddressSetAdd(NaClAddressSet set, NaClPcAddress address,
- struct NaClValidatorState* state);
-
-/* Create an address set for the range 0..Size. */
-NaClAddressSet NaClAddressSetCreate(NaClMemorySize size);
-
-/* frees the memory of the address set back to the system. */
-void NaClAddressSetDestroy(NaClAddressSet set);
-
-/* Returns the array size to use for the given memory size. */
-size_t NaClAddressSetArraySize(NaClMemorySize size);
-
-#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_ADDRESS_SETS_H__ */
« no previous file with comments | « src/trusted/validator/x86/ncval_reg_sfi/README ('k') | src/trusted/validator/x86/ncval_reg_sfi/address_sets.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698