Skip to content

Conversation

@ant1
Copy link

@ant1 ant1 commented Jun 25, 2024

FreeBSD kernel ISF can be generated the same way as Linux
FreeBSD kernel has a "version" string in the ".data" section

This is how I generate a FreeBSD ISF:
dwarf2json linux --elf /usr/lib/debug/boot/kernel/kernel.debug --elf-symbols /boot/kernel/kernel > FreeBSD-14.0-RELEASE-p5-GENERIC-amd64.json

FreeBSD kernel ISF can be generated the same way as Linux
FreeBSD kernel has a "version" string in the ".data" section
@securechicken
Copy link

Tested it on several FreeBSD 14.0 and 14.1 kernels, works well. Will offer minor integration addition (freebsd subcommand) as PR to author's fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants