diff options
author | agorodilov <agorodilov@yandex-team.ru> | 2022-02-10 16:47:09 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:09 +0300 |
commit | bd5ef432f5cfb1e18851381329d94665a4c22470 (patch) | |
tree | b83306b6e37edeea782e9eed673d89286c4fef35 /tools/fix_elf | |
parent | 7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff) | |
download | ydb-bd5ef432f5cfb1e18851381329d94665a4c22470.tar.gz |
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'tools/fix_elf')
-rw-r--r-- | tools/fix_elf/patch.cpp | 2 | ||||
-rw-r--r-- | tools/fix_elf/patch.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/fix_elf/patch.cpp b/tools/fix_elf/patch.cpp index 058cfd7fb1..d49ebab307 100644 --- a/tools/fix_elf/patch.cpp +++ b/tools/fix_elf/patch.cpp @@ -123,7 +123,7 @@ void Patch(const TString& path, const TString& library, IOutputStream& verboseOu TVector<Elf64_Vernaux*> patchAux; - Elf64_Vernaux* patchFromAux = nullptr; + Elf64_Vernaux* patchFromAux = nullptr; Elf64_Verneed* verneed = verneedSect.GetFirstVerneed(); while (verneed) { diff --git a/tools/fix_elf/patch.h b/tools/fix_elf/patch.h index bab280666e..c3dcd24224 100644 --- a/tools/fix_elf/patch.h +++ b/tools/fix_elf/patch.h @@ -37,7 +37,7 @@ public: } Elf64_Shdr* GetSectionByType(Elf64_Word type) const { - Elf64_Shdr* r = nullptr; + Elf64_Shdr* r = nullptr; for (Elf64_Shdr* p = GetSectionBegin(), *end = GetSectionEnd(); p != end; ++p) { if (p->sh_type == type) { @@ -141,7 +141,7 @@ public: Elf64_Verneed* GetFirstVerneed() const noexcept { if (!GetSize()) { - return nullptr; + return nullptr; } return reinterpret_cast<Elf64_Verneed*>(GetPtr()); @@ -149,7 +149,7 @@ public: Elf64_Verneed* GetNextVerneed(Elf64_Verneed* v) const noexcept { if (!v->vn_next) { - return nullptr; + return nullptr; } return Offset<Elf64_Verneed*>(v, v->vn_next); @@ -157,7 +157,7 @@ public: Elf64_Vernaux* GetFirstVernaux(Elf64_Verneed* v) const noexcept { if (!v->vn_cnt) { - return nullptr; + return nullptr; } return Offset<Elf64_Vernaux*>(v, v->vn_aux); @@ -165,7 +165,7 @@ public: Elf64_Vernaux* GetNextVernaux(Elf64_Vernaux* v) const noexcept { if (!v->vna_next) { - return nullptr; + return nullptr; } return Offset<Elf64_Vernaux*>(v, v->vna_next); |