mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-23 16:59:21 +00:00
fix size
This commit is contained in:
1 file changed
+2
-1
@@ -165,7 +165,8 @@ bool perform_reloc_patches(dl_phdr_info* info, const ElfDynamicState& state) {
|
|||||||
auto failed = false;
|
auto failed = false;
|
||||||
|
|
||||||
for (auto& plt : std::span{
|
for (auto& plt : std::span{
|
||||||
reinterpret_cast<T*>(state.plt_table), table_size
|
reinterpret_cast<T*>(state.plt_table),
|
||||||
|
static_cast<std::size_t>(table_size)
|
||||||
}) {
|
}) {
|
||||||
auto sym = ELF_R_SYM(plt.r_info);
|
auto sym = ELF_R_SYM(plt.r_info);
|
||||||
if (sym == 0) continue;
|
if (sym == 0) continue;
|
||||||
|
|||||||
Reference in new issue
Block a user