Home
last modified time | relevance | path

Searched refs:pdb (Results 1 – 25 of 744) sorted by relevance

12345678910>>...30

/external/selinux/libsepol/cil/src/
Dcil_binary.h47 int cil_binary_create(const struct cil_db *db, sepol_policydb_t **pdb);
63 int cil_binary_create_allocated_pdb(const struct cil_db *db, sepol_policydb_t *pdb);
74 int cil_common_to_policydb(policydb_t *pdb, struct cil_class *cil_common, common_datum_t **common_o…
84 int cil_class_to_policydb(policydb_t *pdb, struct cil_class *cil_class);
94 int cil_role_to_policydb(policydb_t *pdb, struct cil_role *cil_role);
105 int cil_roletype_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_role *role);
115 int cil_type_to_policydb(policydb_t *pdb, struct cil_type *cil_type, void *type_value_to_cil[]);
125 int cil_typealias_to_policydb(policydb_t *pdb, struct cil_alias *cil_alias);
137 int cil_typepermissive_to_policydb(policydb_t *pdb, struct cil_typepermissive *cil_typeperm);
147 int cil_typeattribute_to_policydb(policydb_t *pdb, struct cil_typeattribute *cil_attr, void *type_v…
[all …]
Dcil_binary.c68 policydb_t *pdb; member
78 policydb_t *pdb; member
83 static int __cil_get_sepol_user_datum(policydb_t *pdb, struct cil_symtab_datum *datum, user_datum_t… in __cil_get_sepol_user_datum() argument
85 *sepol_user = hashtab_search(pdb->p_users.table, datum->fqn); in __cil_get_sepol_user_datum()
94 static int __cil_get_sepol_role_datum(policydb_t *pdb, struct cil_symtab_datum *datum, role_datum_t… in __cil_get_sepol_role_datum() argument
96 *sepol_role = hashtab_search(pdb->p_roles.table, datum->fqn); in __cil_get_sepol_role_datum()
105 static int __cil_get_sepol_type_datum(policydb_t *pdb, struct cil_symtab_datum *datum, type_datum_t… in __cil_get_sepol_type_datum() argument
107 *sepol_type = hashtab_search(pdb->p_types.table, datum->fqn); in __cil_get_sepol_type_datum()
116 static int __cil_get_sepol_class_datum(policydb_t *pdb, struct cil_symtab_datum *datum, class_datum… in __cil_get_sepol_class_datum() argument
118 *sepol_class = hashtab_search(pdb->p_classes.table, datum->fqn); in __cil_get_sepol_class_datum()
[all …]
/external/selinux/libsepol/src/
Dkernel_to_cil.c31 static char *cond_expr_to_str(struct policydb *pdb, struct cond_expr *expr) in cond_expr_to_str() argument
46 char *val1 = pdb->p_bool_val_to_name[curr->bool - 1]; in cond_expr_to_str()
121 static char *constraint_expr_to_str(struct policydb *pdb, struct constraint_expr *expr, int *use_ml… in constraint_expr_to_str() argument
185 names = ebitmap_to_str(&ts->types, pdb->p_type_val_to_name, 1); in constraint_expr_to_str()
187 names = ebitmap_to_str(&curr->names, pdb->p_user_val_to_name, 1); in constraint_expr_to_str()
189 names = ebitmap_to_str(&curr->names, pdb->p_role_val_to_name, 1); in constraint_expr_to_str()
266 static int class_constraint_rules_to_strs(struct policydb *pdb, char *classkey, in class_constraint_rules_to_strs() argument
281 expr = constraint_expr_to_str(pdb, curr->expr, &is_mls); in class_constraint_rules_to_strs()
287 perms = sepol_av_to_string(pdb, class->s.value, curr->permissions); in class_constraint_rules_to_strs()
310 static int class_validatetrans_rules_to_strs(struct policydb *pdb, char *classkey, in class_validatetrans_rules_to_strs() argument
[all …]
Dkernel_to_conf.c30 static char *cond_expr_to_str(struct policydb *pdb, struct cond_expr *expr) in cond_expr_to_str() argument
45 char *val1 = pdb->p_bool_val_to_name[curr->bool - 1]; in cond_expr_to_str()
119 static char *constraint_expr_to_str(struct policydb *pdb, struct constraint_expr *expr, int *use_ml… in constraint_expr_to_str() argument
182 names = ebitmap_to_str(&ts->types, pdb->p_type_val_to_name, 1); in constraint_expr_to_str()
184 names = ebitmap_to_str(&curr->names, pdb->p_user_val_to_name, 1); in constraint_expr_to_str()
186 names = ebitmap_to_str(&curr->names, pdb->p_role_val_to_name, 1); in constraint_expr_to_str()
262 static int class_constraint_rules_to_strs(struct policydb *pdb, char *classkey, in class_constraint_rules_to_strs() argument
276 expr = constraint_expr_to_str(pdb, curr->expr, &is_mls); in class_constraint_rules_to_strs()
282 perms = sepol_av_to_string(pdb, class->s.value, curr->permissions); in class_constraint_rules_to_strs()
310 static int class_validatetrans_rules_to_strs(struct policydb *pdb, char *classkey, in class_validatetrans_rules_to_strs() argument
[all …]
Dmodule_to_cil.c163 struct policydb *pdb; member
331 struct policydb *pdb = arg; in typealiases_gather_map() local
337 scope = hashtab_search(pdb->scope[SYM_TYPES].table, key); in typealiases_gather_map()
379 static int typealias_list_create(struct policydb *pdb) in typealias_list_create() argument
386 for (block = pdb->global; block != NULL; block = block->next) { in typealias_list_create()
396 rc = hashtab_map(pdb->p_types.table, typealiases_gather_map, pdb); in typealias_list_create()
489 static int is_id_in_scope_with_start(struct policydb *pdb, struct stack *decl_stack, int start, uin… in is_id_in_scope_with_start() argument
496 scope = hashtab_search(pdb->scope[symbol_type].table, id); in is_id_in_scope_with_start()
514 static int is_id_in_ancestor_scope(struct policydb *pdb, struct stack *decl_stack, char *type, uint… in is_id_in_ancestor_scope() argument
518 return is_id_in_scope_with_start(pdb, decl_stack, start, symbol_type, type); in is_id_in_ancestor_scope()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DPdbYaml.cpp22 using namespace llvm::pdb;
23 using namespace llvm::pdb::yaml;
26 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::pdb::yaml::NamedStreamMapping)
27 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::pdb::yaml::PdbDbiModuleInfo)
28 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::pdb::yaml::StreamBlockList)
29 LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(llvm::pdb::PdbRaw_FeatureSig)
34 template <> struct ScalarEnumerationTraits<llvm::pdb::PDB_Machine> {
35 static void enumeration(IO &io, llvm::pdb::PDB_Machine &Value) { in enumeration()
57 template <> struct ScalarEnumerationTraits<llvm::pdb::PdbRaw_DbiVer> {
58 static void enumeration(IO &io, llvm::pdb::PdbRaw_DbiVer &Value) { in enumeration()
[all …]
DExplainOutputStyle.cpp30 using namespace llvm::pdb;
92 return FileOffset / File.pdb().getBlockSize(); in pdbBlockIndex()
96 uint64_t BlockStart = pdbBlockIndex() * File.pdb().getBlockSize(); in pdbBlockOffset()
106 return ((pdbBlockIndex() - 1) % File.pdb().getBlockSize() == 0); in isPdbFpm1()
109 return ((pdbBlockIndex() - 2) % File.pdb().getBlockSize() == 0); in isPdbFpm2()
117 return pdbBlockIndex() == File.pdb().getBlockMapIndex(); in isPdbBlockMapBlock()
121 const auto &Layout = File.pdb().getMsfLayout(); in isPdbStreamDirectoryBlock()
126 const auto &Layout = File.pdb().getMsfLayout(); in getPdbBlockStreamIndex()
136 if (FileOffset >= File.pdb().getFileSize()) { in explainPdbBlockStatus()
138 FileOffset, File.pdb().getFileSize()); in explainPdbBlockStatus()
[all …]
DPdbYaml.h34 namespace pdb {
114 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbObject)
115 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::MSFHeaders)
117 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::StreamBlockList)
118 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbInfoStream)
119 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbDbiStream)
120 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbTpiStream)
121 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::NamedStreamMapping)
122 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbModiStream)
123 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbDbiModuleInfo)
DFormatUtil.cpp20 using namespace llvm::pdb;
22 std::string llvm::pdb::truncateStringBack(StringRef S, uint32_t MaxLen) { in truncateStringBack()
32 std::string llvm::pdb::truncateStringMiddle(StringRef S, uint32_t MaxLen) { in truncateStringMiddle()
43 std::string llvm::pdb::truncateStringFront(StringRef S, uint32_t MaxLen) { in truncateStringFront()
52 std::string llvm::pdb::truncateQuotedNameFront(StringRef Label, StringRef Name, in truncateQuotedNameFront()
63 std::string llvm::pdb::truncateQuotedNameBack(StringRef Label, StringRef Name, in truncateQuotedNameBack()
74 std::string llvm::pdb::typesetItemList(ArrayRef<std::string> Opts, in typesetItemList()
92 std::string llvm::pdb::typesetStringList(uint32_t IndentLevel, in typesetStringList()
102 std::string llvm::pdb::formatChunkKind(DebugSubsectionKind Kind, in formatChunkKind()
149 std::string llvm::pdb::formatSymbolKind(SymbolKind K) { in formatSymbolKind()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/Native/
DFormatters.h26 template <> struct format_provider<pdb::PdbRaw_ImplVer> {
27 static void format(const pdb::PdbRaw_ImplVer &V, llvm::raw_ostream &Stream,
30 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC110, "VC110")
31 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC140, "VC140")
32 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC2, "VC2")
33 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC4, "VC4")
34 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC41, "VC41")
35 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC50, "VC50")
36 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC70, "VC70")
37 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC70Dep, "VC70Dep")
[all …]
/external/llvm/tools/llvm-pdbdump/
DPdbYaml.cpp17 using namespace llvm::pdb;
18 using namespace llvm::pdb::yaml;
22 template <> struct ScalarTraits<llvm::pdb::PDB_UniqueId> {
23 static void output(const llvm::pdb::PDB_UniqueId &S, void *, in output()
29 llvm::pdb::PDB_UniqueId &S) { in input()
57 template <> struct ScalarEnumerationTraits<llvm::pdb::PDB_Machine> {
58 static void enumeration(IO &io, llvm::pdb::PDB_Machine &Value) { in enumeration()
80 template <> struct ScalarEnumerationTraits<llvm::pdb::PdbRaw_DbiVer> {
81 static void enumeration(IO &io, llvm::pdb::PdbRaw_DbiVer &Value) { in enumeration()
82 io.enumCase(Value, "V41", llvm::pdb::PdbRaw_DbiVer::PdbDbiVC41); in enumeration()
[all …]
DPdbYaml.h25 namespace pdb {
72 template <> struct MappingTraits<pdb::yaml::PdbObject> {
73 static void mapping(IO &IO, pdb::yaml::PdbObject &Obj);
76 template <> struct MappingTraits<pdb::yaml::MsfHeaders> {
77 static void mapping(IO &IO, pdb::yaml::MsfHeaders &Obj);
80 template <> struct MappingTraits<pdb::PDBFile::SuperBlock> {
81 static void mapping(IO &IO, pdb::PDBFile::SuperBlock &SB);
84 template <> struct MappingTraits<pdb::yaml::StreamBlockList> {
85 static void mapping(IO &IO, pdb::yaml::StreamBlockList &SB);
88 template <> struct MappingTraits<pdb::yaml::PdbInfoStream> {
[all …]
/external/google-breakpad/src/processor/testdata/
Dminidump2.stackwalk.machine_readable.out4 Module|test_app.exe||test_app.pdb|5A9832E5287241C1838ED98914E9B7FF1|0x00400000|0x0042cfff|1
5 Module|dbghelp.dll|5.1.2600.2180|dbghelp.pdb|39559573E21B46F28E286923BE9E6A761|0x59a60000|0x59b00ff…
6 Module|imm32.dll|5.1.2600.2180|imm32.pdb|2C17A49C251B4C8EB9E2AD13D7D9EA162|0x76390000|0x763acfff|0
7 Module|psapi.dll|5.1.2600.2180|psapi.pdb|A5C3A1F9689F43D8AD228A09293889702|0x76bf0000|0x76bfafff|0
8 Module|ole32.dll|5.1.2600.2726|ole32.pdb|683B65B246F4418796D2EE6D4C55EB112|0x774e0000|0x7761cfff|0
9 Module|version.dll|5.1.2600.2180|version.pdb|180A90C40384463E82DDC45B2C8AB76E2|0x77c00000|0x77c07ff…
10 Module|msvcrt.dll|7.0.2600.2180|msvcrt.pdb|A678F3C30DED426B839032B996987E381|0x77c10000|0x77c67fff|0
11 Module|user32.dll|5.1.2600.2622|user32.pdb|EE2B714D83A34C9D88027621272F83262|0x77d40000|0x77dcffff|0
12 Module|advapi32.dll|5.1.2600.2180|advapi32.pdb|455D6C5F184D45BBB5C5F30F829751142|0x77dd0000|0x77e6a…
13 Module|rpcrt4.dll|5.1.2600.2180|rpcrt4.pdb|BEA45A721DA141DAA3BA86B3A20311532|0x77e70000|0x77f00fff|0
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/
Dpdb-invalid-type.test1 # RUN: llvm-pdbutil yaml2pdb -pdb=%t1.pdb %p/Inputs/one-symbol.yaml
2 # RUN: llvm-pdbutil yaml2pdb -pdb=%t2.pdb %s
3 # RUN: not llvm-pdbutil merge -pdb=%t.pdb %t1.pdb %t2.pdb 2>&1 | FileCheck %s
Dpdbdump-mergeids.test1 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.1.pdb %p/Inputs/merge-ids-1.yaml
2 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.2.pdb %p/Inputs/merge-ids-2.yaml
3 ; RUN: llvm-pdbutil merge -pdb=%t.3.pdb %t.1.pdb %t.2.pdb
4 ; RUN: llvm-pdbutil dump -ids %t.3.pdb | FileCheck -check-prefix=MERGED %s
5 ; RUN: llvm-pdbutil dump -types %t.3.pdb | FileCheck -check-prefix=TPI-EMPTY %s
Dpdbdump-mergetypes.test1 +; RUN: llvm-pdbutil yaml2pdb -pdb=%t.1.pdb %p/Inputs/merge-types-1.yaml
2 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.2.pdb %p/Inputs/merge-types-2.yaml
3 ; RUN: llvm-pdbutil merge -pdb=%t.3.pdb %t.1.pdb %t.2.pdb
4 ; RUN: llvm-pdbutil dump -types %t.3.pdb | FileCheck -check-prefix=MERGED %s
Dpdbdump-merge-ids-and-types.test1 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.1.pdb %p/Inputs/merge-ids-and-types-1.yaml
2 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.2.pdb %p/Inputs/merge-ids-and-types-2.yaml
3 ; RUN: llvm-pdbutil merge -pdb=%t.3.pdb %t.1.pdb %t.2.pdb
4 ; RUN: llvm-pdbutil dump -types %t.3.pdb | FileCheck -check-prefix=TPI-TYPES %s
5 ; RUN: llvm-pdbutil dump -ids %t.3.pdb | FileCheck -check-prefix=IPI-TYPES %s
Dpdbdump-write.test9 ; final comparison it must dump the original and the new pdb without any
14 ; RUN: -pdb-stream -tpi-stream -module-syms %p/Inputs/empty.pdb > %t.1
15 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.2 %t.1
16 ; RUN: llvm-pdbutil pdb2yaml -pdb-stream -tpi-stream \
17 ; RUN: -module-syms -no-file-headers %p/Inputs/empty.pdb > %t.3
18 ; RUN: llvm-pdbutil pdb2yaml -pdb-stream -tpi-stream \
Dpdbdump-source-names.test10 RUN: llvm-pdbutil yaml2pdb -pdb=%t/source-names-1.pdb %p/Inputs/source-names-1.yaml
11 RUN: llvm-pdbutil pdb2yaml -module-files %t/source-names-1.pdb \
13 RUN: llvm-pdbutil yaml2pdb -pdb=%t/source-names-2.pdb %p/Inputs/source-names-2.yaml
14 RUN: llvm-pdbutil pdb2yaml -module-files %t/source-names-2.pdb \
Dpdb-minimal-construct.test9 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.pdb %p/Inputs/one-symbol.yaml
10 ; RUN: llvm-pdbutil pdb2yaml -minimal -module-syms -no-file-headers %t.pdb > %t.pdb.yaml
11 ; RUN: diff -b %p/Inputs/one-symbol.yaml %t.pdb.yaml
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/DIA/
Dpdbdump-flags.test1 ; RUN: llvm-pdbutil pretty %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=NO_ARGS
2 ; RUN: llvm-pdbutil pretty -types %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=TYPES
3 ; RUN: llvm-pdbutil pretty -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=COMPILAN…
4 ; RUN: llvm-pdbutil pretty -types -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=M…
7 ; NO_ARGS: empty.pdb
16 ; TYPES: empty.pdb
25 ; COMPILANDS: empty.pdb
34 ; MULTIPLE: empty.pdb
/external/llvm/test/DebugInfo/PDB/DIA/
Dpdbdump-flags.test1 ; RUN: llvm-pdbdump pretty %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=NO_ARGS
2 ; RUN: llvm-pdbdump pretty -types %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=TYPES
3 ; RUN: llvm-pdbdump pretty -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=COMPILAN…
4 ; RUN: llvm-pdbdump pretty -types -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=M…
7 ; NO_ARGS: empty.pdb
16 ; TYPES: empty.pdb
25 ; COMPILANDS: empty.pdb
34 ; MULTIPLE: empty.pdb
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-pdbdump/
Dexplain.test1 ; RUN: llvm-pdbutil explain -offset=0 %p/Inputs/InjectedSource.pdb \
3 ; RUN: llvm-pdbutil explain -offset=40 %p/Inputs/InjectedSource.pdb \
5 ; RUN: llvm-pdbutil explain -offset=60 %p/Inputs/InjectedSource.pdb \
8 ; RUN: llvm-pdbutil explain -offset=0x1000 %p/Inputs/InjectedSource.pdb \
10 ; RUN: llvm-pdbutil explain -offset=0x1100 %p/Inputs/InjectedSource.pdb \
12 ; RUN: llvm-pdbutil explain -offset=0x2000 %p/Inputs/InjectedSource.pdb \
15 ; RUN: llvm-pdbutil explain -offset=0x3000 %p/Inputs/InjectedSource.pdb \
18 ; RUN: llvm-pdbutil explain -offset=0x7000 %p/Inputs/InjectedSource.pdb \
21 ; RUN: llvm-pdbutil explain -offset=0x1A000 %p/Inputs/InjectedSource.pdb \
24 ; RUN: llvm-pdbutil explain -offset=0x1B000 %p/Inputs/InjectedSource.pdb \
[all …]
Dregex-filter.test1 ; RUN: llvm-pdbutil pretty -module-syms -globals -types %p/Inputs/FilterTest.pdb \
5 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_TYPEDEFS %s
6 ; RUN: llvm-pdbutil pretty -classes -enums %p/Inputs/FilterTest.pdb \
10 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_ENUMS %s
11 ; RUN: llvm-pdbutil pretty -classes -typedefs %p/Inputs/FilterTest.pdb \
15 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_VARS %s
17 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_WHOLE_CLASS %s
19 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_COMPILAND %s
21 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=INCLUDE_ONLY_TYPES %s
23 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=INCLUDE_ONLY_VARS %s
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/
DPDBExtras.cpp15 using namespace llvm::pdb;
25 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
45 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
77 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_DataKind &Data) { in operator <<()
93 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
104 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_LocType &Loc) { in operator <<()
124 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
138 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
149 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_Lang &Lang) { in operator <<()
173 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_SymType &Tag) { in operator <<()
[all …]

12345678910>>...30