Информация об изменениях

Сообщение Re[5]: модификация elf, добавление сегмента+секции от 21.02.2025 11:16

Изменено 21.02.2025 11:18 kov_serg

Re[5]: модификация elf, добавление сегмента+секции
Здравствуйте, Molchalnik, Вы писали:

M>Единственное, что настораживает, в отладчике виден mprotect с длинной 17 7000 , а в strace какая-то огромная длина 153 6000 вылезает


А вы вызываете .init для первого сегмента ?

.init
This section holds executable instructions that contribute to the process
initialization code. When a program starts to run, the system executes the
code in this section before calling the main program entry point (called
main for C programs).

Re[5]: модификация elf, добавление сегмента+секции
Здравствуйте, Molchalnik, Вы писали:

M>Единственное, что настораживает, в отладчике виден mprotect с длинной 17 7000 , а в strace какая-то огромная длина 153 6000 вылезает


А вы вызываете .init для первой секции?

.init
This section holds executable instructions that contribute to the process
initialization code. When a program starts to run, the system executes the
code in this section before calling the main program entry point (called
main for C programs).