Lines Matching refs:uint8_t

30                      const uint8_t *loc) const override;
32 void writeGotPltHeader(uint8_t *buf) const override;
33 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
34 void writeIgotPlt(uint8_t *buf, const Symbol &s) const override;
35 void writePltHeader(uint8_t *buf) const override;
36 void writePlt(uint8_t *buf, const Symbol &sym,
38 void relocate(uint8_t *loc, const Relocation &rel,
40 int64_t getImplicitAddend(const uint8_t *buf, RelType type) const override;
41 void applyJumpInstrMod(uint8_t *loc, JumpModType type,
45 const uint8_t *loc) const override;
46 void relaxGot(uint8_t *loc, const Relocation &rel,
48 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
50 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
52 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
54 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
56 bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
57 uint8_t stOther) const override;
66 static const std::vector<std::vector<uint8_t>> nopInstructions = {
125 static JmpInsnOpcode getJmpInsnType(const uint8_t *first, in getJmpInsnType()
126 const uint8_t *second) { in getJmpInsnType()
266 const uint8_t *secContents = is.rawData.data(); in deleteFallThruJmpInsn()
293 const uint8_t *jmpInsnB = secContents + rB.offset - 1; in deleteFallThruJmpInsn()
319 const uint8_t *loc) const { in getRelExpr()
377 void X86_64::writeGotPltHeader(uint8_t *buf) const { in writeGotPltHeader()
385 void X86_64::writeGotPlt(uint8_t *buf, const Symbol &s) const { in writeGotPlt()
390 void X86_64::writeIgotPlt(uint8_t *buf, const Symbol &s) const { in writeIgotPlt()
396 void X86_64::writePltHeader(uint8_t *buf) const { in writePltHeader()
397 const uint8_t pltData[] = { in writePltHeader()
409 void X86_64::writePlt(uint8_t *buf, const Symbol &sym, in writePlt()
411 const uint8_t inst[] = { in writePlt()
430 void X86_64::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe()
440 const uint8_t inst[] = { in relaxTlsGdToLe()
471 void X86_64::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToIe()
481 const uint8_t inst[] = { in relaxTlsGdToIe()
513 void X86_64::relaxTlsIeToLe(uint8_t *loc, const Relocation &, in relaxTlsIeToLe()
515 uint8_t *inst = loc - 3; in relaxTlsIeToLe()
516 uint8_t reg = loc[-1] >> 3; in relaxTlsIeToLe()
517 uint8_t *regSlot = loc - 1; in relaxTlsIeToLe()
555 void X86_64::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsLdToLe()
566 const uint8_t inst[] = { in relaxTlsLdToLe()
608 void X86_64::applyJumpInstrMod(uint8_t *loc, JumpModType type, in applyJumpInstrMod()
692 int64_t X86_64::getImplicitAddend(const uint8_t *buf, RelType type) const { in getImplicitAddend()
744 void X86_64::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate()
804 const uint8_t *loc) const { in adjustGotPcExpr()
812 const uint8_t op = loc[-2]; in adjustGotPcExpr()
813 const uint8_t modRm = loc[-1]; in adjustGotPcExpr()
840 static void relaxGotNoPic(uint8_t *loc, uint64_t val, uint8_t op, in relaxGotNoPic()
841 uint8_t modRm) { in relaxGotNoPic()
842 const uint8_t rex = loc[-3]; in relaxGotNoPic()
903 void X86_64::relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relaxGot()
905 const uint8_t op = loc[-2]; in relaxGot()
906 const uint8_t modRm = loc[-1]; in relaxGot()
946 bool X86_64::adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end, in adjustPrologueForCrossSplitStack()
947 uint8_t stOther) const { in adjustPrologueForCrossSplitStack()
984 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
985 void writePlt(uint8_t *buf, const Symbol &sym,
987 void writeIBTPlt(uint8_t *buf, size_t numEntries) const override;
995 void IntelIBT::writeGotPlt(uint8_t *buf, const Symbol &s) const { in writeGotPlt()
1001 void IntelIBT::writePlt(uint8_t *buf, const Symbol &sym, in writePlt()
1003 const uint8_t Inst[] = { in writePlt()
1012 void IntelIBT::writeIBTPlt(uint8_t *buf, size_t numEntries) const { in writeIBTPlt()
1016 const uint8_t inst[] = { in writeIBTPlt()
1044 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
1045 void writePltHeader(uint8_t *buf) const override;
1046 void writePlt(uint8_t *buf, const Symbol &sym,
1053 void writeGotPlt(uint8_t *buf, const Symbol &s) const override {} in writeGotPlt()
1054 void writePltHeader(uint8_t *buf) const override;
1055 void writePlt(uint8_t *buf, const Symbol &sym,
1066 void Retpoline::writeGotPlt(uint8_t *buf, const Symbol &s) const { in writeGotPlt()
1070 void Retpoline::writePltHeader(uint8_t *buf) const { in writePltHeader()
1071 const uint8_t insn[] = { in writePltHeader()
1092 void Retpoline::writePlt(uint8_t *buf, const Symbol &sym, in writePlt()
1094 const uint8_t insn[] = { in writePlt()
1119 void RetpolineZNow::writePltHeader(uint8_t *buf) const { in writePltHeader()
1120 const uint8_t insn[] = { in writePltHeader()
1135 void RetpolineZNow::writePlt(uint8_t *buf, const Symbol &sym, in writePlt()
1137 const uint8_t insn[] = { in writePlt()