aboutsummaryrefslogtreecommitdiffstats
path: root/tools/objtool
AgeCommit message (Expand)AuthorFilesLines
2025-04-19Merge tag 'rust-fixes-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+1
2025-04-14objtool/rust: add one more `noreturn` Rust function for Rust 1.86.0Miguel Ojeda1-0/+1
2025-04-10objtool: Fix false-positive "ignoring unreachables" warningJosh Poimboeuf1-1/+1
2025-04-08objtool: Remove ANNOTATE_IGNORE_ALTERNATIVE from CLAC/STACJosh Poimboeuf1-1/+29
2025-04-08objtool, xen: Fix INSN_SYSCALL / INSN_SYSRET semanticsJosh Poimboeuf1-8/+13
2025-04-08objtool: Stop UNRET validation on UD2Josh Poimboeuf1-0/+3
2025-04-08objtool: Split INSN_CONTEXT_SWITCH into INSN_SYSCALL and INSN_SYSRETJosh Poimboeuf3-10/+17
2025-04-08objtool: Fix INSN_CONTEXT_SWITCH handling in validate_unret()Josh Poimboeuf1-0/+5
2025-04-02Merge tag 'objtool-urgent-2025-04-01' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds18-606/+597
2025-04-01objtool: Fix verbose disassembly if CROSS_COMPILE isn't setDavid Laight1-0/+2
2025-04-01objtool: Change "warning:" to "error: " for fatal errorsJosh Poimboeuf11-222/+226
2025-04-01objtool: Always fail on fatal errorsJosh Poimboeuf1-11/+4
2025-04-01Revert "objtool: Increase per-function WARN_FUNC() rate limit"Josh Poimboeuf3-14/+6
2025-04-01objtool: Append "()" to function name in "unexpected end of section" warningJosh Poimboeuf1-1/+1
2025-04-01objtool: Ignore end-of-section jumps for KCOV/GCOVJosh Poimboeuf1-6/+16
2025-03-28objtool: Fix STACK_FRAME_NON_STANDARD for cold subfunctionsJosh Poimboeuf1-0/+2
2025-03-28objtool: Fix segfault in ignore_unreachable_insn()Josh Poimboeuf1-1/+1
2025-03-28objtool: Fix NULL printf() '%s' argument in builtin-check.c:save_argv()Josh Poimboeuf1-1/+1
2025-03-27Merge tag 'powerpc-6.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+9
2025-03-25objtool, panic: Disable SMAP in __stack_chk_fail()Josh Poimboeuf1-1/+4
2025-03-25objtool: Remove redundant opts.noinstr dependencyJosh Poimboeuf1-6/+1
2025-03-25objtool: Fix up some outdated references to ENTRY/ENDPROCJosh Poimboeuf1-5/+5
2025-03-25objtool: Reduce CONFIG_OBJTOOL_WERROR verbosityJosh Poimboeuf3-70/+72
2025-03-25objtool: Improve error handlingJosh Poimboeuf6-221/+232
2025-03-25objtool: Properly disable uaccess validationJosh Poimboeuf1-2/+9
2025-03-25objtool: Silence more KCOV warningsJosh Poimboeuf1-0/+6
2025-03-25objtool: Fix init_module() handlingJosh Poimboeuf1-2/+5
2025-03-25objtool: Fix X86_FEATURE_SMAP alternative handlingJosh Poimboeuf5-75/+16
2025-03-25objtool: Ignore entire functions rather than instructionsJosh Poimboeuf2-17/+19
2025-03-25objtool: Warn when disabling unreachable warningsJosh Poimboeuf1-1/+4
2025-03-25objtool: Fix detection of consecutive jump tables on Clang 20Josh Poimboeuf3-22/+37
2025-03-24Merge tag 'x86-core-2025-03-22' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-10/+5
2025-03-17objtool: Use O_CREAT with explicit mode maskIngo Molnar1-1/+1
2025-03-17objtool: Create backup on error and print argsJosh Poimboeuf3-67/+65
2025-03-17objtool: Change "warning:" to "error:" for --WerrorJosh Poimboeuf1-2/+4
2025-03-17objtool: Add --Werror optionJosh Poimboeuf3-3/+14
2025-03-17objtool: Add --output optionJosh Poimboeuf5-35/+89
2025-03-17objtool: Upgrade "Linked object detected" warning to errorJosh Poimboeuf1-2/+2
2025-03-17objtool: Consolidate option validationJosh Poimboeuf1-44/+24
2025-03-17objtool: Remove --unret dependency on --rethunkJosh Poimboeuf1-5/+0
2025-03-17objtool: Increase per-function WARN_FUNC() rate limitJosh Poimboeuf3-5/+13
2025-03-17objtool: Update documentationJosh Poimboeuf1-42/+53
2025-03-17objtool: Improve __noreturn annotation warningJosh Poimboeuf2-8/+6
2025-03-17objtool: Fix error handling inconsistencies in check()Josh Poimboeuf1-4/+6
2025-03-17x86/traps: Make exc_double_fault() consistently noreturnJosh Poimboeuf1-30/+1
2025-03-12objtool/LoongArch: Add support for goto tableTiezhu Yang1-2/+30
2025-03-12objtool/LoongArch: Add support for switch tableTiezhu Yang1-1/+130
2025-03-12objtool: Handle PC relative relocation typeTiezhu Yang4-5/+27
2025-03-12objtool: Handle different entry size of rodataTiezhu Yang5-1/+41
2025-03-12objtool: Handle various symbol types of rodataTiezhu Yang1-5/+11
2025-03-12objtool: Hide unnecessary compiler error messageDavid Engraf1-1/+1
2025-03-04Merge branch 'x86/asm' into x86/core, to pick up dependent commitsIngo Molnar1-0/+2
2025-03-04Merge branch 'x86/urgent' into x86/cpu, to pick up dependent commitsIngo Molnar4-11/+6
2025-03-04x86/smp: Fix mwait_play_dead() and acpi_processor_ffh_play_dead() noreturn be...Josh Poimboeuf1-0/+2
2025-03-03Merge tag 'v6.14-rc5' into x86/core, to pick up fixesIngo Molnar4-11/+6
2025-02-28Merge tag 'objtool-urgent-2025-02-28' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds3-5/+6
2025-02-26objtool/powerpc: Add support for decoding all types of uncond branchesChristophe Leroy1-1/+9
2025-02-25Merge tag 'perf-tools-fixes-for-v6.14-2-2025-02-25' of git://git.kernel.org/p...Linus Torvalds1-6/+0
2025-02-25objtool: Add bch2_trans_unlocked_or_in_restart_error() to bcachefs noreturnsYouling Tang1-1/+1
2025-02-25objtool: Fix C jump table annotations for ClangArd Biesheuvel2-4/+5
2025-02-18tools: Remove redundant quiet setupCharlie Jenkins1-6/+0
2025-02-18Merge tag 'v6.14-rc3' into x86/core, to pick up fixesIngo Molnar1-1/+11
2025-02-16Merge tag 'objtool_urgent_for_v6.14_rc3' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-1/+10
2025-02-14x86/alternative: Simplify callthunk patchingPeter Zijlstra2-10/+3
2025-02-12objtool/rust: add one more `noreturn` Rust functionMiguel Ojeda1-0/+1
2025-02-08objtool: Move dodgy linker warn to verbosePeter Zijlstra1-1/+1
2025-02-08objtool: Ignore dangling jump table entriesJosh Poimboeuf1-0/+9
2025-01-21Merge tag 'objtool-core-2025-01-20' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds6-310/+134
2024-12-29Merge tag 'objtool-urgent-2024-12-29' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+1
2024-12-29objtool: Add bch2_trans_unlocked_error() to bcachefs noreturnschenchangcheng1-0/+1
2024-12-13objtool/x86: allow syscall instructionJuergen Gross1-3/+6
2024-12-02objtool: Allow arch code to discover jump table sizeArd Biesheuvel6-16/+33
2024-12-02objtool: Warn about unknown annotation typesPeter Zijlstra1-0/+13
2024-12-02objtool: Fix ANNOTATE_REACHABLE to be a normal annotationPeter Zijlstra1-23/+0
2024-12-02objtool: Convert {.UN}REACHABLE to ANNOTATEPeter Zijlstra1-60/+22
2024-12-02objtool: Remove annotate_{,un}reachable()Peter Zijlstra1-41/+2
2024-12-02objtool: Collapse annotate sequencesPeter Zijlstra1-55/+32
2024-12-02objtool: Convert ANNOTATE_INTRA_FUNCTION_CALL to ANNOTATEPeter Zijlstra1-57/+39
2024-12-02objtool: Convert ANNOTATE_IGNORE_ALTERNATIVE to ANNOTATEPeter Zijlstra1-35/+10
2024-12-02objtool: Convert VALIDATE_UNRET_BEGIN to ANNOTATEPeter Zijlstra1-23/+5
2024-12-02objtool: Convert instrumentation_{begin,end}() to ANNOTATEPeter Zijlstra1-39/+10
2024-12-02objtool: Convert ANNOTATE_RETPOLINE_SAFE to ANNOTATEPeter Zijlstra1-34/+18
2024-12-02objtool: Convert ANNOTATE_NOENDBR to ANNOTATEPeter Zijlstra1-27/+5
2024-12-02objtool: Generic annotation infrastructurePeter Zijlstra1-0/+45
2024-11-30Merge tag 'kbuild-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds2-5/+12
2024-11-27kbuild: Add Propeller configuration for kernel buildRong Xu1-0/+1
2024-11-21Merge tag 'reiserfs_delete' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
2024-11-11objtool: Exclude __tracepoints data from ENDBR checksPeter Zijlstra1-0/+1
2024-11-06objtool: Fix unreachable instruction warnings for weak functionsRong Xu1-5/+10
2024-11-06kbuild: Add AutoFDO support for Clang buildRong Xu1-0/+1
2024-10-21reiserfs: The last commitJan Kara1-1/+0
2024-10-17objtool: Also include tools/include/uapiHONG Yifan1-0/+1
2024-10-17objtool: Detect non-relocated text referencesJosh Poimboeuf3-53/+75
2024-09-27Merge tag 'loongarch-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/c...Linus Torvalds3-4/+31
2024-09-17objtool: Handle frame pointer related instructionsTiezhu Yang3-4/+31
2024-08-18objtool/rust: list `noreturn` Rust functionsMiguel Ojeda2-1/+53
2024-07-21Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+2
2024-07-16Merge tag 'objtool-core-2024-07-16' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-3/+9
2024-07-15Merge tag 'x86_bugs_for_v6.11_rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+4
2024-07-03kmsan: allow disabling KMSAN checks for the current taskIlya Leoshkevich1-0/+2
2024-07-02objtool/x86: objtool can confuse memory and stack accessAlexandre Chartre1-1/+7
2024-07-02objtool: Use "action" in error message to be consistent with helpSiddh Raman Pant1-2/+2
2024-07-01x86/alternatives, kvm: Fix a couple of CALLs without a frame pointerBorislav Petkov (AMD)1-0/+19
2024-06-28x86/syscall: Mark exit[_group] syscall handlers __noreturnJosh Poimboeuf1-0/+4
2024-06-11x86/alternatives: Add nested alternatives macrosPeter Zijlstra2-8/+31
2024-03-30objtool: Fix compile failure when using the x32 compilerMikulas Patocka1-1/+1
2024-03-22Merge tag 'loongarch-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/ch...Linus Torvalds15-197/+875
2024-03-14Merge tag 'mm-nonmm-stable-2024-03-14-09-36' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+0
2024-03-12Merge tag 'hardening-v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-1/+13
2024-03-11Merge tag 'x86-core-2024-03-11' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-3/+3
2024-03-11objtool: Check local label in read_unwind_hints()Tiezhu Yang1-1/+11
2024-03-11objtool: Check local label in add_dead_ends()Tiezhu Yang2-17/+24
2024-03-11objtool/LoongArch: Enable orc to be builtTiezhu Yang4-0/+192
2024-03-11objtool/x86: Separate arch-specific and generic partsTiezhu Yang5-179/+206
2024-03-11objtool/LoongArch: Implement instruction decoderTiezhu Yang1-2/+271
2024-03-11objtool/LoongArch: Enable objtool to be builtTiezhu Yang6-0/+173
2024-02-29objtool: Fix UNWIND_HINT_{SAVE,RESTORE} across basic blocksJosh Poimboeuf1-0/+12
2024-02-29fortify: Split reporting and avoid passing string pointerKees Cook1-1/+1
2024-02-22init: remove obsolete arch_call_rest_init() wrapperGeert Uytterhoeven1-1/+0
2024-01-31x86/objtool: Teach objtool about ERET[US]H. Peter Anvin (Intel)1-5/+14
2024-01-10x86/bugs: Rename CONFIG_RETHUNK => CONFIG_MITIGATION_RETHUNKBreno Leitao1-1/+1
2024-01-10x86/bugs: Rename CONFIG_RETPOLINE => CONFIG_MITIGATION_RETPOLINEBreno Leitao2-2/+2
2024-01-08Merge tag 'objtool-core-2024-01-08' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2023-12-15cred: get rid of CONFIG_DEBUG_CREDENTIALSJens Axboe1-1/+0
2023-11-17objtool: Fix calloc call for new -Walloc-sizeSam James1-1/+1
2023-11-01Merge tag 'x86_tdx_for_6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+1
2023-10-30Merge tag 'objtool-core-2023-10-28' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds3-14/+10
2023-10-30Merge tag 'x86_bugs_for_6.7_rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+16
2023-10-30Merge tag 'bcachefs-2023-10-30' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-0/+2
2023-10-20objtool: Fix return thunk patching in retpolinesJosh Poimboeuf1-0/+16
2023-10-19objtool: Add bcachefs noreturnsKent Overstreet1-0/+2
2023-10-05objtool: Remove max symbol name length limitationAaron Plattner1-8/+6
2023-10-05objtool: Propagate early errorsAaron Plattner1-3/+1
2023-10-03objtool: Use 'the fallthrough' pseudo-keywordRuan Jinjie1-3/+3
2023-09-18x86/tdx: Fix __noreturn build warning around __tdx_hypercall_failed()Kai Huang1-0/+1
2023-09-12objtool: Fix _THIS_IP_ detection for cold functionsJosh Poimboeuf1-1/+2
2023-08-17objtool/x86: Fixup frame-pointer vs rethunkPeter Zijlstra1-6/+11
2023-08-16x86/cpu: Rename original retbleed methodsPeter Zijlstra2-2/+2
2023-08-16x86/cpu: Clean up SRSO return thunk messPeter Zijlstra1-1/+1
2023-08-16objtool/x86: Fix SRSO messPeter Zijlstra4-6/+31
2023-08-14x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANGPetr Pavlu1-1/+1
2023-07-27x86/srso: Add a Speculative RAS Overflow mitigationBorislav Petkov (AMD)1-1/+4
2023-07-10objtool: initialize all of struct elfMichal Kubecek1-1/+1
2023-06-29objtool: Remove btrfs_assertfail() from the noreturn exceptions listIngo Molnar1-1/+0
2023-06-27Merge tag 'objtool-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds15-695/+908
2023-06-27Merge tag 'linux-kselftest-kunit-6.5-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-0/+1
2023-06-26Merge tag 'x86_alternatives_for_v6.5' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-7/+1
2023-06-19btrfs: print assertion failure report and stack trace from the same lineDavid Sterba1-1/+0
2023-06-07objtool: Skip reading DWARF section dataJosh Poimboeuf1-1/+6
2023-06-07objtool: Free insns when doneJosh Poimboeuf1-0/+30
2023-06-07objtool: Get rid of reloc->rel[a]Josh Poimboeuf3-78/+96
2023-06-07objtool: Shrink elf hash nodesJosh Poimboeuf2-18/+58
2023-06-07objtool: Shrink reloc->sym_reloc_entryJosh Poimboeuf2-6/+7
2023-06-07objtool: Get rid of reloc->jump_table_startJosh Poimboeuf2-13/+23
2023-06-07objtool: Get rid of reloc->addendJosh Poimboeuf6-42/+53
2023-06-07objtool: Get rid of reloc->typeJosh Poimboeuf5-13/+21
2023-06-07objtool: Get rid of reloc->offsetJosh Poimboeuf3-14/+18
2023-06-07objtool: Get rid of reloc->idxJosh Poimboeuf2-7/+9
2023-06-07objtool: Get rid of reloc->listJosh Poimboeuf2-24/+26
2023-06-07objtool: Allocate relocs in advance for new rela sectionsJosh Poimboeuf1-5/+13
2023-06-07objtool: Add for_each_reloc()Josh Poimboeuf2-12/+18
2023-06-07objtool: Don't free memory in elf_close()Josh Poimboeuf1-20/+4
2023-06-07objtool: Keep GElf_Rel[a] structs syncedJosh Poimboeuf1-41/+14
2023-06-07objtool: Add elf_create_section_pair()Josh Poimboeuf6-157/+184
2023-06-07objtool: Add mark_sec_changed()Josh Poimboeuf2-16/+29
2023-06-07objtool: Fix reloc_hash sizeJosh Poimboeuf2-10/+14
2023-06-07objtool: Consolidate rel/rela handlingJosh Poimboeuf3-159/+68
2023-06-07objtool: Improve reloc namingJosh Poimboeuf3-149/+151
2023-06-07objtool: Remove flags argument from elf_create_section()Josh Poimboeuf4-15/+18
2023-06-07objtool: Tidy elf.hJosh Poimboeuf1-49/+47
2023-06-07objtool: Allow stack operations in UNWIND_HINT_UNDEFINED regionsJosh Poimboeuf2-0/+13
2023-06-07tools: Remove unnecessary variablesLu Hongfei1-4/+3
2023-06-02objtool: Add __kunit_abort() to noreturnsJosh Poimboeuf1-0/+1
2023-05-16objtool: Move noreturn function list to separate fileJosh Poimboeuf3-44/+50
2023-05-16objtool: Remove superfluous global_noreturns entriesJosh Poimboeuf1-2/+0
2023-05-16objtool: Ignore exc_double_fault() __noreturn warningsJosh Poimboeuf1-1/+30
2023-05-16objtool: Detect missing __noreturn annotationsJosh Poimboeuf2-1/+19
2023-05-16objtool: Include backtrace in verbose modeJosh Poimboeuf3-24/+20
2023-05-16objtool: Add verbose option for disassembling affected functionsJosh Poimboeuf4-0/+88
2023-05-16objtool: Limit unreachable warnings to once per functionJosh Poimboeuf3-3/+10
2023-05-10x86/alternative: Support relocations in alternativesPeter Zijlstra1-7/+1
2023-04-28Merge tag 'objtool-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds8-271/+290
2023-04-26Merge tag 'for-6.4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-0/+1
2023-04-24Merge tag 'docs-6.4' of git://git.lwn.net/linuxLinus Torvalds1-1/+1
2023-04-18x86: improve on the non-rep 'copy_user' functionLinus Torvalds1-1/+1
2023-04-18x86: improve on the non-rep 'clear_user' functionLinus Torvalds1-1/+1
2023-04-18x86: inline the 'rep movs' in user copies for the FSRM caseLinus Torvalds1-1/+0
2023-04-18x86: move stac/clac from user copy routines into callersLinus Torvalds1-0/+3
2023-04-18x86: don't use REP_GOOD or ERMS for user memory clearingLinus Torvalds1-2/+0
2023-04-17btrfs: mark btrfs_assertfail() __noreturnJosh Poimboeuf1-0/+1
2023-04-14x86/hyperv: Mark hv_ghcb_terminate() as noreturnGuilherme G. Piccoli1-0/+1
2023-04-14scsi: message: fusion: Mark mpt_halt_firmware() __noreturnJosh Poimboeuf1-0/+1
2023-04-14x86/cpu: Mark {hlt,resume}_play_dead() __noreturnJosh Poimboeuf1-0/+2
2023-04-14btrfs: Mark btrfs_assertfail() __noreturnJosh Poimboeuf1-0/+1
2023-04-14objtool: Include weak functions in global_noreturns checkJosh Poimboeuf1-4/+4
2023-04-14cpu: Mark nmi_panic_self_stop() __noreturnJosh Poimboeuf1-0/+1
2023-04-14cpu: Mark panic_smp_self_stop() __noreturnJosh Poimboeuf1-0/+1
2023-04-14x86/head: Mark *_start_kernel() __noreturnJosh Poimboeuf1-0/+2
2023-04-14init: Mark start_kernel() __noreturnJosh Poimboeuf1-0/+1
2023-04-14init: Mark [arch_call_]rest_init() __noreturnJosh Poimboeuf1-0/+2