lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 17 Dec 2008 10:17:53 +0100 From: Alexander van Heukelum <heukelum@...tmail.fm> To: linux-arch@...r.kernel.org, Alexander van Heukelum <heukelum@...lshack.com>, Ingo Molnar <mingo@...e.hu>, LKML <linux-kernel@...r.kernel.org> Cc: Andrew Morton <akpm@...ux-foundation.org>, Sam Ravnborg <sam@...nborg.org>, Cyrill Gorcunov <gorcunov@...il.com>, Alexander van Heukelum <heukelum@...tmail.fm> Subject: PROC macro to annotate functions in assembly files The first patch introduces the PROC macro in the generic header file include/linux/linkage.h to annotate functions in assembly files. This is a first step to fully annotate functions (procedures) in .S-files. The PROC macro complements the already existing and being used ENDPROC macro. The generic implementation of PROC is exactly the same as ENTRY. The goal is to annotate functions, at least those called from C code, with PROC at the beginning and ENDPROC at the end. This is for the benefit of debugging and tracing. The second patch introduces a framework to check for nesting problems and missing annotations by overriding ENTRY/END and PROC/ENDPROC in x86-specific code. It should not be applied at this time, because it will just cause the build to fail due to existing annotation problems. I intend to fix the annotations for the x86 assembly files in the comming months and resubmit this second patch if this work is comming to an end. The first patch touches generic code, but I think it is trivial enough that it can be introduced via the x86 tree. Greetings, Alexander -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists