aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_fuchsia.h
diff options
context:
space:
mode:
authorNecip Fazil Yildiran <necip@google.com>2023-07-11 22:24:05 +0000
committerAlexander Potapenko <glider@google.com>2024-02-22 15:35:18 +0000
commit971a0f14c5cf6379d1a1fde7d26b853293bced2b (patch)
tree77572447f34923979a174c8f145583cf03f59781 /executor/executor_fuchsia.h
parent2b876d1039e8c18ba9a1cdbaa7c9c5b6e1bc975d (diff)
pkg/host: get module .text address from /sys/module
The address from /proc/modules is not necessarily the address of .text, e.g., can be the address of .plt. If available, fix up the module address using the address from /sys/module/<module-name>/sections/.text This patch was originally uploaded to https://github.com/google/syzkaller/pull/4025. Additions to the original patch: - fix lint warnings - adjust the module size to account for the diff between the module address and .text address Signed-off-by: Alexander Potapenko <glider@google.com>
Diffstat (limited to 'executor/executor_fuchsia.h')
0 files changed, 0 insertions, 0 deletions