Home
last modified time | relevance | path

Searched refs:lcnote (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/lldb/test/API/macosx/corefile-default-ptrauth/
H A Dcreate-corefile.c115 struct note_command lcnote; in main() local
123 seg.fileoff = sizeof (mh) + size_of_thread_cmd + sizeof(seg) + sizeof(lcnote); in main()
145 lcnote.cmd = LC_NOTE; in main()
146 lcnote.cmdsize = sizeof (lcnote); in main()
147 strcpy (lcnote.data_owner, "load binary"); in main()
150 lcnote.offset = sizeof (mh) + size_of_thread_cmd + sizeof(seg) + sizeof(lcnote) + 8; in main()
160 lcnote.size = 4 + 16 + 8 + 8 + sizeof("a.out"); in main()
162 fwrite (&lcnote, sizeof(lcnote), 1, out); in main()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp6722 for (auto &lcnote : lc_notes) {
6730 strncpy(namebuf, lcnote->name.c_str(), sizeof(namebuf));
6732 buffer.PutHex64(lcnote->payload_file_offset);
6733 buffer.PutHex64(lcnote->payload.GetSize());
6789 for (auto &lcnote : lc_notes) {
6790 if (core_file.get()->SeekFromStart(lcnote->payload_file_offset) ==
6794 lcnote->name.c_str());
6797 bytes_written = lcnote->payload.GetSize();
6798 error = core_file.get()->Write(lcnote->payload.GetData(),