Lines Matching refs:uint8_t
32 const uint8_t *loc) const override;
34 void writeGotPltHeader(uint8_t *buf) const override;
35 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
36 void writeIgotPlt(uint8_t *buf, const Symbol &s) const override;
37 void writePltHeader(uint8_t *buf) const override;
38 void writePlt(uint8_t *buf, const Symbol &sym,
40 void relocate(uint8_t *loc, const Relocation &rel,
42 int64_t getImplicitAddend(const uint8_t *buf, RelType type) const override;
43 void applyJumpInstrMod(uint8_t *loc, JumpModType type,
46 const uint8_t *loc) const override;
47 void relocateAlloc(InputSectionBase &sec, uint8_t *buf) const override;
48 bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
49 uint8_t stOther) const override;
55 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const;
56 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) const;
57 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const;
58 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const;
65 static const std::vector<std::vector<uint8_t>> nopInstructions = {
127 static JmpInsnOpcode getJmpInsnType(const uint8_t *first,
128 const uint8_t *second) {
267 const uint8_t *secContents = is.content().data();
294 const uint8_t *jmpInsnB = secContents + rB.offset - 1;
362 const uint8_t *loc) const {
422 void X86_64::writeGotPltHeader(uint8_t *buf) const {
430 void X86_64::writeGotPlt(uint8_t *buf, const Symbol &s) const {
435 void X86_64::writeIgotPlt(uint8_t *buf, const Symbol &s) const {
441 void X86_64::writePltHeader(uint8_t *buf) const {
442 const uint8_t pltData[] = {
454 void X86_64::writePlt(uint8_t *buf, const Symbol &sym,
456 const uint8_t inst[] = {
475 void X86_64::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
485 const uint8_t inst[] = {
524 void X86_64::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
534 const uint8_t inst[] = {
569 void X86_64::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
571 uint8_t *inst = loc - 3;
572 uint8_t reg = loc[-1] >> 3;
573 uint8_t *regSlot = loc - 1;
613 const uint8_t rex = loc[-3];
652 const uint8_t evexPayload0 = loc[-5];
672 void X86_64::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
674 const uint8_t inst[] = {
717 void X86_64::applyJumpInstrMod(uint8_t *loc, JumpModType type,
801 int64_t X86_64::getImplicitAddend(const uint8_t *buf, RelType type) const {
855 static void relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val);
857 void X86_64::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const {
957 const uint8_t *loc) const {
966 const uint8_t op = loc[-2];
967 const uint8_t modRm = loc[-1];
994 static void relaxGotNoPic(uint8_t *loc, uint64_t val, uint8_t op, uint8_t modRm,
996 const uint8_t rex = loc[-3];
1070 static void relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val) {
1073 const uint8_t op = loc[-2];
1074 const uint8_t modRm = loc[-1];
1115 bool X86_64::adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
1116 uint8_t stOther) const {
1146 void X86_64::relocateAlloc(InputSectionBase &sec, uint8_t *buf) const {
1155 uint8_t *loc = buf + rel.offset;
1172 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
1173 void writePlt(uint8_t *buf, const Symbol &sym,
1175 void writeIBTPlt(uint8_t *buf, size_t numEntries) const override;
1181 void IntelIBT::writeGotPlt(uint8_t *buf, const Symbol &s) const {
1187 void IntelIBT::writePlt(uint8_t *buf, const Symbol &sym,
1189 const uint8_t Inst[] = {
1198 void IntelIBT::writeIBTPlt(uint8_t *buf, size_t numEntries) const {
1202 const uint8_t inst[] = {
1230 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
1231 void writePltHeader(uint8_t *buf) const override;
1232 void writePlt(uint8_t *buf, const Symbol &sym,
1239 void writeGotPlt(uint8_t *buf, const Symbol &s) const override {}
1240 void writePltHeader(uint8_t *buf) const override;
1241 void writePlt(uint8_t *buf, const Symbol &sym,
1252 void Retpoline::writeGotPlt(uint8_t *buf, const Symbol &s) const {
1256 void Retpoline::writePltHeader(uint8_t *buf) const {
1257 const uint8_t insn[] = {
1278 void Retpoline::writePlt(uint8_t *buf, const Symbol &sym,
1280 const uint8_t insn[] = {
1305 void RetpolineZNow::writePltHeader(uint8_t *buf) const {
1306 const uint8_t insn[] = {
1321 void RetpolineZNow::writePlt(uint8_t *buf, const Symbol &sym,
1323 const uint8_t insn[] = {