Home
last modified time | relevance | path

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

12345678910>>...17

/third_party/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.c64 policydb_t *pdb; member
74 policydb_t *pdb; member
79 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
81 *sepol_user = hashtab_search(pdb->p_users.table, datum->fqn); in __cil_get_sepol_user_datum()
90 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
92 *sepol_role = hashtab_search(pdb->p_roles.table, datum->fqn); in __cil_get_sepol_role_datum()
101 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
103 *sepol_type = hashtab_search(pdb->p_types.table, datum->fqn); in __cil_get_sepol_type_datum()
112 static int __cil_get_sepol_class_datum(policydb_t *pdb, struct cil_symtab_datum *datum, class_datum… in __cil_get_sepol_class_datum() argument
114 *sepol_class = hashtab_search(pdb->p_classes.table, datum->fqn); in __cil_get_sepol_class_datum()
[all …]
/third_party/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()
270 static int class_constraint_rules_to_strs(struct policydb *pdb, char *classkey, in class_constraint_rules_to_strs() argument
285 expr = constraint_expr_to_str(pdb, curr->expr, &is_mls); in class_constraint_rules_to_strs()
291 perms = sepol_av_to_string(pdb, class->s.value, curr->permissions); in class_constraint_rules_to_strs()
314 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()
266 static int class_constraint_rules_to_strs(struct policydb *pdb, char *classkey, in class_constraint_rules_to_strs() argument
280 expr = constraint_expr_to_str(pdb, curr->expr, &is_mls); in class_constraint_rules_to_strs()
286 perms = sepol_av_to_string(pdb, class->s.value, curr->permissions); in class_constraint_rules_to_strs()
314 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
333 struct policydb *pdb = arg; in typealiases_gather_map() local
339 scope = hashtab_search(pdb->scope[SYM_TYPES].table, key); in typealiases_gather_map()
381 static int typealias_list_create(struct policydb *pdb) in typealias_list_create() argument
388 for (block = pdb->global; block != NULL; block = block->next) { in typealias_list_create()
398 rc = hashtab_map(pdb->p_types.table, typealiases_gather_map, pdb); in typealias_list_create()
491 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
498 scope = hashtab_search(pdb->scope[symbol_type].table, id); in is_id_in_scope_with_start()
516 static int is_id_in_ancestor_scope(struct policydb *pdb, struct stack *decl_stack, char *type, uint… in is_id_in_ancestor_scope() argument
520 return is_id_in_scope_with_start(pdb, decl_stack, start, symbol_type, type); in is_id_in_ancestor_scope()
[all …]
Dkernel_to_common.c644 int sort_ocontexts(struct policydb *pdb) in sort_ocontexts() argument
648 if (pdb->target_platform == SEPOL_TARGET_SELINUX) { in sort_ocontexts()
649 rc = sort_ocontext_data(&pdb->ocontexts[5], fsuse_data_cmp); in sort_ocontexts()
654 rc = sort_ocontext_data(&pdb->ocontexts[2], portcon_data_cmp); in sort_ocontexts()
659 rc = sort_ocontext_data(&pdb->ocontexts[3], netif_data_cmp); in sort_ocontexts()
664 rc = sort_ocontext_data(&pdb->ocontexts[4], node_data_cmp); in sort_ocontexts()
669 rc = sort_ocontext_data(&pdb->ocontexts[6], node6_data_cmp); in sort_ocontexts()
674 rc = sort_ocontext_data(&pdb->ocontexts[OCON_IBPKEY], ibpkey_data_cmp); in sort_ocontexts()
679 rc = sort_ocontext_data(&pdb->ocontexts[OCON_IBENDPORT], ibendport_data_cmp); in sort_ocontexts()
683 } else if (pdb->target_platform == SEPOL_TARGET_XEN) { in sort_ocontexts()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DFormatters.h25 template <> struct format_provider<pdb::PdbRaw_ImplVer> {
26 static void format(const pdb::PdbRaw_ImplVer &V, llvm::raw_ostream &Stream,
29 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC110, "VC110")
30 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC140, "VC140")
31 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC2, "VC2")
32 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC4, "VC4")
33 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC41, "VC41")
34 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC50, "VC50")
35 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC70, "VC70")
36 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC70Dep, "VC70Dep")
[all …]
DDbiModuleDescriptor.h22 namespace pdb {
59 template <> struct VarStreamArrayExtractor<pdb::DbiModuleDescriptor> {
61 pdb::DbiModuleDescriptor &Info) {
62 if (auto EC = pdb::DbiModuleDescriptor::initialize(Stream, Info))
DRawError.h17 namespace pdb {
38 struct is_error_code_enum<llvm::pdb::raw_error_code> : std::true_type {};
42 namespace pdb {
/third_party/libwebsockets/lib/misc/
Dlws-struct-sqlite.c180 lws_struct_sq3_deserialize(sqlite3 *pdb, const char *filter, const char *order, in lws_struct_sq3_deserialize() argument
223 if (sqlite3_exec(pdb, s, lws_struct_sq3_deser_cb, &a, NULL) != SQLITE_OK) { in lws_struct_sq3_deserialize()
224 lwsl_err("%s: %s: fail %s\n", __func__, sqlite3_errmsg(pdb), s); in lws_struct_sq3_deserialize()
240 _lws_struct_sq3_ser_one(sqlite3 *pdb, const lws_struct_map_t *schema, in _lws_struct_sq3_ser_one() argument
421 n = sqlite3_exec(pdb, sql, NULL, NULL, NULL); in _lws_struct_sq3_ser_one()
425 lwsl_err("%s: %s: fail\n", __func__, sqlite3_errmsg(pdb)); in _lws_struct_sq3_ser_one()
434 lws_struct_sq3_serialize(sqlite3 *pdb, const lws_struct_map_t *schema, in lws_struct_sq3_serialize() argument
441 if (_lws_struct_sq3_ser_one(pdb, schema, idx++, item)) in lws_struct_sq3_serialize()
450 lws_struct_sq3_create_table(sqlite3 *pdb, const lws_struct_map_t *schema) in lws_struct_sq3_create_table() argument
494 if (sqlite3_exec(pdb, s, NULL, NULL, NULL) != SQLITE_OK) { in lws_struct_sq3_create_table()
[all …]
/third_party/selinux/libsepol/fuzz/
Dsecilc-fuzzer.c24 sepol_policydb_t *pdb = NULL; in LLVMFuzzerTestOneInput() local
44 if (cil_build_policydb(db, &pdb) != SEPOL_OK) in LLVMFuzzerTestOneInput()
47 if (sepol_policydb_optimize(pdb) != SEPOL_OK) in LLVMFuzzerTestOneInput()
59 if (sepol_policydb_write(pdb, pf) != 0) in LLVMFuzzerTestOneInput()
66 sepol_policydb_free(pdb); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DPDBExtras.cpp14 using namespace llvm::pdb;
24 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
44 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
71 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
103 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_DataKind &Data) { in operator <<()
119 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
154 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_LocType &Loc) { in operator <<()
174 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
188 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
199 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_Lang &Lang) { in operator <<()
[all …]
DPDB.cpp21 using namespace llvm::pdb;
23 Error llvm::pdb::loadDataForPDB(PDB_ReaderType Type, StringRef Path, in loadDataForPDB()
43 Error llvm::pdb::loadDataForEXE(PDB_ReaderType Type, StringRef Path, in loadDataForEXE()
/third_party/grpc/src/csharp/Grpc.Core.NativeDebug/
DGrpc.Core.NativeDebug.csproj25 <None Include="..\nativelibs\csharp_ext_windows_x86\grpc_csharp_ext.pdb">
26 <PackagePath>runtimes/win-x86/native/grpc_csharp_ext.x86.pdb</PackagePath>
33 <None Include="..\nativelibs\csharp_ext_windows_x64\grpc_csharp_ext.pdb">
34 <PackagePath>runtimes/win-x64/native/grpc_csharp_ext.x64.pdb</PackagePath>
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/
DGenericError.h16 namespace pdb {
31 struct is_error_code_enum<llvm::pdb::pdb_error_code> : std::true_type {};
35 namespace pdb {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/DIA/
DDIAError.h16 namespace pdb {
30 struct is_error_code_enum<llvm::pdb::dia_error_code> : std::true_type {};
34 namespace pdb {
/third_party/python/Doc/library/
Dpdb.rst3 :mod:`pdb` --- The Python Debugger
6 .. module:: pdb
9 **Source code:** :source:`Lib/pdb.py`
15 The module :mod:`pdb` defines an interactive source code debugger for Python
22 single: Pdb (class in pdb)
33 >>> import pdb
35 >>> pdb.run('mymodule.test()')
49 :file:`pdb.py` can also be invoked as a script to debug other scripts. For
52 python3 -m pdb myscript.py
54 When invoked as a script, pdb will automatically enter post-mortem debugging if
[all …]
/third_party/libwebsockets/include/libwebsockets/
Dlws-struct.h267 lws_struct_sq3_serialize(sqlite3 *pdb, const lws_struct_map_t *schema,
271 lws_struct_sq3_deserialize(sqlite3 *pdb, const char *filter, const char *order,
276 lws_struct_sq3_create_table(sqlite3 *pdb, const lws_struct_map_t *schema);
280 char create_if_missing, sqlite3 **pdb);
283 lws_struct_sq3_close(sqlite3 **pdb);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DHash.cpp20 uint32_t pdb::hashStringV1(StringRef Str) { in hashStringV1()
56 uint32_t pdb::hashStringV2(StringRef Str) { in hashStringV2()
80 uint32_t pdb::hashBufferV8(ArrayRef<uint8_t> Buf) { in hashBufferV8()
DHashTable.cpp22 using namespace llvm::pdb;
24 Error llvm::pdb::readSparseBitVector(BinaryStreamReader &Stream, in readSparseBitVector()
46 Error llvm::pdb::writeSparseBitVector(BinaryStreamWriter &Writer, in writeSparseBitVector()
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/win32/
DREADME-WIN32.txt33 example.pdb Symbolic information for debugging example.exe
36 example_d.pdb Symbolic information for debugging example_d.exe
39 minigzip.pdb Symbolic information for debugging minigzip.exe
42 minigzip_d.pdb Symbolic information for debugging minigzip_d.exe
51 zlib.pdb into compiled programs, without zlib1.dll runtime dependency
52 (zlib.pdb provides debugging info to the compile time linker)
56 zlib1.pdb Install in the same directory as zlib1.dll, in order to debug
59 All .pdb files above are entirely optional, but are very useful to a developer
/third_party/zlib/win32/
DREADME-WIN32.txt33 example.pdb Symbolic information for debugging example.exe
36 example_d.pdb Symbolic information for debugging example_d.exe
39 minigzip.pdb Symbolic information for debugging minigzip.exe
42 minigzip_d.pdb Symbolic information for debugging minigzip_d.exe
51 zlib.pdb into compiled programs, without zlib1.dll runtime dependency
52 (zlib.pdb provides debugging info to the compile time linker)
56 zlib1.pdb Install in the same directory as zlib1.dll, in order to debug
59 All .pdb files above are entirely optional, but are very useful to a developer
/third_party/grpc/examples/python/debug/
DREADME.md48 `pdb` is a debugging tool that is available for Python interpreters natively.
52 `import pdb; pdb.set_trace()`. When interpreter see this line, it would pop out
55 For more detailed usage, see https://docs.python.org/3/library/pdb.html.
57 **Caveat**: gRPC Python uses C-Extension under-the-hood, so `pdb` may not be
/third_party/python/Lib/test/
Dtest_pdb.py5 import pdb
742 getattr(pdb.Pdb(nosigint=True, readrc=False), method)(arg)
1403 expected, pdb.find_function(func_name, os_helper.TESTFN))
1625 self.assertEqual(pdb.Pdb().rcLines[0], "invalid")
1635 resources.enter_context(patch.object(pdb.Pdb, 'set_trace'))
1636 pdb.set_trace(header=header)
1682 pdb._usage,
1907 db = pdb.Pdb()
1913 db = pdb.Pdb()
1929 db = pdb.Pdb()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/
DDIAError.cpp6 using namespace llvm::pdb;
35 const std::error_category &llvm::pdb::DIAErrCategory() { return *DIACategory; } in DIAErrCategory()

12345678910>>...17