| 152 | } |
| 153 | |
| 154 | erpc_status_t Sniffer::readSharedAddress(StructMember *structMember, string &address) |
| 155 | { |
| 156 | erpc_status_t err = kErpcStatus_Success; |
| 157 | if (structMember->findAnnotation(SHARED_ANNOTATION, Annotation::program_lang_t::kC) != nullptr) |
| 158 | { |
| 159 | uintptr_t ptr; |
| 160 | m_codec->readPtr(ptr); |
| 161 | err = m_codec->getStatus(); |
| 162 | stringstream sstream; |
| 163 | sstream << hex << ptr; |
| 164 | address = "0x" + sstream.str(); |
| 165 | } |
| 166 | return err; |
| 167 | } |
| 168 | |
| 169 | uint8_t Sniffer::countSpaces(uint64_t value) |
| 170 | { |
nothing calls this directly
no test coverage detected