/base/hiviewdfx/faultloggerd/interfaces/innerkits/formatter/ |
H A D | dfx_json_formatter.cpp | 39 std::string symbol = frames[frameIdx]["symbol"].asString(); in FormatJsFrame() local 43 outStr.append(symbol + " (" + file + ":" + line + ":" + column + ")"); in FormatJsFrame() 55 std::string symbol = frames[frameIdx]["symbol"].asString(); in FormatNativeFrame() local 61 if (!symbol.empty()) { in FormatNativeFrame() 62 outStr.append("(" + symbol + "+" + offset + ")"); in FormatNativeFrame() 152 frameJson["symbol"] = ""; in FormatKernelStackJson()
|
/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/src/database/ |
H A D | sandbox_manager_rdb_utils.cpp | 107 std::string symbol = symbols.GetString(column); in ToRdbPredicates() local 108 if (symbol.empty() || symbol== "=") { in ToRdbPredicates() 110 } else if (symbol == "<=") { in ToRdbPredicates() 114 LABEL, "unknown symbol, input: %{public}s", symbol.c_str()); in ToRdbPredicates()
|
/base/startup/appspawn/test/mock/ |
H A D | app_system_stub.c | 98 void *DlsymStub(void *handle, const char *symbol)
in DlsymStub() argument 100 printf("DlsymStub %s \n", symbol);
in DlsymStub() 102 if (strcmp(symbol, "InitEnvironmentParam") == 0) {
in DlsymStub() 105 if (strcmp(symbol, "SetRendererSeccompPolicy") == 0) {
in DlsymStub() 108 if (strcmp(symbol, "NWebRenderMain") == 0) {
in DlsymStub()
|
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/ |
H A D | feature_analysis.cpp | 85 // Check the variable symbol and replace it with the parameter value of the variable in RawInfoPosition() 230 string symbol = ""; in CheckVariableParam() local 236 // To replace it if there is one or more variable symbol in CheckVariableParam() 238 symbol = L3_DESCRIPTOR_LEFT + param.first + L3_DESCRIPTOR_RIGHT; in CheckVariableParam() 240 ReplaceVariable(rule, symbol, value); in CheckVariableParam() 260 void FeatureAnalysis::ReplaceVariable(FeatureRule& rule, const string& symbol, const string& value) const in ReplaceVariable() argument 262 ReplaceVariable(rule.source, symbol, value, rule.source); in ReplaceVariable() 263 ReplaceVariable(rule.depend, symbol, value, rule.depend); in ReplaceVariable() 265 if (ReplaceVariable(subParam.second, symbol, value, subParam.second)) { in ReplaceVariable()
|
/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | elf_imitate.cpp | 741 DFXLOGI("no more symbol lines"); in ParseElfSymbols() 777 DFXLOGI("effective symbol line: %{public}s", line.c_str()); in GetNextSymLine() 829 bool ElfImitate::IsFunc(const ElfSymbol symbol) in IsFunc() argument 831 return ((symbol.shndx != SHN_UNDEF) && in IsFunc() 832 (ELF32_ST_TYPE(symbol.info) == STT_FUNC || ELF32_ST_TYPE(symbol.info) == STT_GNU_IFUNC)); in IsFunc() 873 for (const auto& symbol : symbols) { in GetFuncNameAndOffset() 874 if (symbol.Contain(pc)) { in GetFuncNameAndOffset() 875 funcName = symbol.demangle_; in GetFuncNameAndOffset() 876 start = symbol in GetFuncNameAndOffset() [all...] |
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/include/ |
H A D | feature_analysis.h | 74 void ReplaceVariable(FeatureRule& rule, const std::string& symbol, const std::string& value) const;
|
/base/hiviewdfx/faultloggerd/test/unittest/unwind/include/ |
H A D | elf_imitate.h | 106 static bool IsFunc(const ElfSymbol symbol);
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_elf.cpp | 642 const auto& symbol = symbols[mid];
in FindFuncSymbol() local 643 if (addr < symbol.value) {
in FindFuncSymbol() 645 } else if (addr < (symbol.value + symbol.size)) {
in FindFuncSymbol() 646 elfSymbol = symbol;
in FindFuncSymbol()
|
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/ |
H A D | faultlogger_unittest.cpp | 385 [{"buildId":"", "file":"/system/lib/ld-musl-arm.so.1", "offset":28, "pc":"000ac0a4", "symbol":"test_abc"}, in GenCppCrashLogTestCommon() 387 "pc":"0000bef3", "symbol":"OHOS::AppExecFwk::EpollIoWaiter::WaitFor(std::__h::unique_lock<std::__h::mutex>&, in GenCppCrashLogTestCommon() 390 "000c80b4", "symbol":"ioctl"}, {"buildId":"2349d05884359058d3009e1fe27b15fa", "file": in GenCppCrashLogTestCommon() 392 "symbol":"OHOS::BinderConnector::WriteBinder(unsigned long, void*)"}], "thread_name":"OS_IPC_0_1607", in GenCppCrashLogTestCommon() 394 "symbol":""}, {"buildId":"", "file":"/system/lib/ld-musl-arm.so.1", "offset":628, "pc":"000ff7f4", in GenCppCrashLogTestCommon() 395 "symbol":"__pthread_cond_timedwait_time64"}], "thread_name":"OS_SignalHandle", "tid":1608}], in GenCppCrashLogTestCommon()
|
/base/hiviewdfx/faultloggerd/test/unittest/dump_catcher/ |
H A D | dumpcatcher_interfaces_test.cpp | 811 "offset":0, "pc":"000fdf4c", "symbol":""}, {"line":"1", "file":"/system/lib/ld-musl-arm.so.1", in HWTEST_F() 812 "offset":628, "pc":"000ff7f4", "symbol":"__pthread_cond_timedwait_time64"}], in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/test/systemtest/ |
H A D | faultloggerd_system_test.cpp | 1303 string symbol; in CheckMinidebugSymbols() local 1307 symbol = iter->second; in CheckMinidebugSymbols() 1311 symbol, "ParseAndDoCrash", "main", REGISTERS in CheckMinidebugSymbols()
|