-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Description
Hey, first of all I wanted to thank you for creating such a great tool and for making it available on your web.
Sometimes when browsing code I come across undefined symbols which I believe could be defined. Assembly files such as arch/x86/entry/entry_64.S are a good example, where they tend to fall into one of these categories:
- cpu_tss_rw, a variable declared in arch/x86/include/asm/processor.h and defined in arch/x86/kernel/process.c.
- TSS_sp2, an assembly offset defined in arch/x86/kernel/asm-offsets.c.
- PUSH_AND_CLEAR_REGS, an assembly macro defined in arch/x86/entry/calling.h.
- swapgs_restore_regs_and_return_to_usermode, a label defined later on with the
SYM_INNER_LABELmacro. - asm_exc_nmi, a function defined with
SYM_CODE_START.
I know that #151 and #235 implemented the code required to process ENTRY and SYSCALL_DEFINE* definitions. Could it be possible to do the same for some of these?
It does appear a bit hacky and inefficient to add a pass for each of the definition methods involved, but I don't know if there's a better way of doing it short of creating a custom parsers for ctags.
Metadata
Metadata
Assignees
Labels
No labels