Lines Matching refs:note_header

1542   Nhdr note_header = {};  in BuildID()  local
1543 note_header.n_namesz = 4; // "GNU" in BuildID()
1544 note_header.n_descsz = 7; // "BUILDID" in BuildID()
1545 note_header.n_type = NT_GNU_BUILD_ID; in BuildID()
1546 memcpy(&note_section, &note_header, sizeof(note_header)); in BuildID()
1547 size_t note_offset = sizeof(note_header); in BuildID()
1602 Nhdr note_header = {}; in BuildIDTwoNotes() local
1603 note_header.n_namesz = 8; // "WRONG" aligned to 4 in BuildIDTwoNotes()
1604 note_header.n_descsz = 7; // "BUILDID" in BuildIDTwoNotes()
1605 note_header.n_type = NT_GNU_BUILD_ID; in BuildIDTwoNotes()
1606 memcpy(&note_section, &note_header, sizeof(note_header)); in BuildIDTwoNotes()
1607 size_t note_offset = sizeof(note_header); in BuildIDTwoNotes()
1614 note_header.n_namesz = 4; // "GNU" in BuildIDTwoNotes()
1615 note_header.n_descsz = 7; // "BUILDID" in BuildIDTwoNotes()
1616 note_header.n_type = NT_GNU_BUILD_ID; in BuildIDTwoNotes()
1617 memcpy(&note_section[note_offset], &note_header, sizeof(note_header)); in BuildIDTwoNotes()
1618 note_offset += sizeof(note_header); in BuildIDTwoNotes()
1673 Nhdr note_header = {}; in BuildIDSectionTooSmallForName() local
1674 note_header.n_namesz = 4; // "GNU" in BuildIDSectionTooSmallForName()
1675 note_header.n_descsz = 7; // "BUILDID" in BuildIDSectionTooSmallForName()
1676 note_header.n_type = NT_GNU_BUILD_ID; in BuildIDSectionTooSmallForName()
1677 memcpy(&note_section, &note_header, sizeof(note_header)); in BuildIDSectionTooSmallForName()
1678 size_t note_offset = sizeof(note_header); in BuildIDSectionTooSmallForName()
1689 shdr.sh_size = sizeof(note_header) + 1; in BuildIDSectionTooSmallForName()
1733 Nhdr note_header = {}; in BuildIDSectionTooSmallForDesc() local
1734 note_header.n_namesz = 4; // "GNU" in BuildIDSectionTooSmallForDesc()
1735 note_header.n_descsz = 7; // "BUILDID" in BuildIDSectionTooSmallForDesc()
1736 note_header.n_type = NT_GNU_BUILD_ID; in BuildIDSectionTooSmallForDesc()
1737 memcpy(&note_section, &note_header, sizeof(note_header)); in BuildIDSectionTooSmallForDesc()
1738 size_t note_offset = sizeof(note_header); in BuildIDSectionTooSmallForDesc()
1749 shdr.sh_size = sizeof(note_header) + sizeof("GNU") + 1; in BuildIDSectionTooSmallForDesc()
1793 Nhdr note_header = {}; in BuildIDSectionTooSmallForHeader() local
1794 note_header.n_namesz = 4; // "GNU" in BuildIDSectionTooSmallForHeader()
1795 note_header.n_descsz = 7; // "BUILDID" in BuildIDSectionTooSmallForHeader()
1796 note_header.n_type = NT_GNU_BUILD_ID; in BuildIDSectionTooSmallForHeader()
1797 memcpy(&note_section, &note_header, sizeof(note_header)); in BuildIDSectionTooSmallForHeader()
1798 size_t note_offset = sizeof(note_header); in BuildIDSectionTooSmallForHeader()
1809 shdr.sh_size = sizeof(note_header) - 1; in BuildIDSectionTooSmallForHeader()