aboutsummaryrefslogtreecommitdiffstats
path: root/tools/objtool
AgeCommit message (Expand)AuthorFilesLines
8 daysobjtool: Add more robust signal error handling, detect and warn about stack o...Josh Poimboeuf4-1/+141
10 daysobjtool: Fix stack overflow in validate_branch()Josh Poimboeuf1-14/+13
11 daysobjtool: Fix segfault on unknown alternativesobjtool-core-2025-12-01objtool/coreIngo Molnar1-0/+3
2025-11-27objtool: Build with disassembly can fail when including bdf.hAlexandre Chartre1-1/+1
2025-11-24objtool: Trim trailing NOPs in alternativeAlexandre Chartre1-5/+73
2025-11-24objtool: Add wide output for disassemblyAlexandre Chartre3-1/+96
2025-11-24objtool: Compact output for alternatives with one instructionAlexandre Chartre1-0/+22
2025-11-24objtool: Improve naming of group alternativesAlexandre Chartre1-6/+52
2025-11-24objtool: Add Function to get the name of a CPU featureAlexandre Chartre7-1/+36
2025-11-21objtool: Provide access to feature and flags of group alternativesAlexandre Chartre4-1/+6
2025-11-21objtool: Fix address references in alternativesAlexandre Chartre1-4/+66
2025-11-21objtool: Disassemble jump table alternativesAlexandre Chartre1-6/+32
2025-11-21objtool: Disassemble exception table alternativesAlexandre Chartre1-1/+25
2025-11-21objtool: Print addresses with alternative instructionsAlexandre Chartre1-12/+23
2025-11-21objtool: Disassemble group alternativesAlexandre Chartre1-17/+149
2025-11-21objtool: Print headers for alternativesAlexandre Chartre1-6/+182
2025-11-21objtool: Preserve alternatives orderAlexandre Chartre1-2/+14
2025-11-21objtool: Add the --disas=<function-pattern> actionAlexandre Chartre5-17/+53
2025-11-21objtool: Do not validate IBT for .return_sites and .call_sitesAlexandre Chartre1-0/+2
2025-11-21objtool: Improve tracing of alternative instructionsAlexandre Chartre3-13/+125
2025-11-21objtool: Add functions to better name alternativesAlexandre Chartre2-0/+84
2025-11-21objtool: Identify the different types of alternativesAlexandre Chartre2-5/+20
2025-11-21objtool: Improve register reporting during function validationAlexandre Chartre5-0/+40
2025-11-21objtool: Trace instruction state changes during function validationAlexandre Chartre3-1/+149
2025-11-21objtool: Add option to trace function validationAlexandre Chartre10-18/+299
2025-11-21objtool: Record symbol name max lengthAlexandre Chartre1-0/+7
2025-11-21objtool: Extract code to validate instruction from the validate branch loopAlexandre Chartre1-181/+205
2025-11-21objtool: Disassemble instruction on warning or backtraceAlexandre Chartre5-14/+58
2025-11-21objtool: Store instruction disassembly resultAlexandre Chartre1-6/+71
2025-11-21objtool: Print symbol during disassemblyAlexandre Chartre3-9/+143
2025-11-21objtool: Disassemble code with libopcodes instead of running objdumpAlexandre Chartre11-72/+238
2025-11-21objtool: Create disassembly contextAlexandre Chartre4-5/+49
2025-11-21objtool: Move disassembly functions to a separated fileAlexandre Chartre4-81/+93
2025-11-21Revert "objtool: Warn on functions with ambiguous -ffunction-sections section...Josh Poimboeuf2-40/+0
2025-11-21objtool: Remove second pass of .cold function correlationJosh Poimboeuf2-23/+3
2025-11-21objtool: Skip non-canonical aliased symbols in add_jump_table_alts()Josh Poimboeuf1-1/+1
2025-11-21objtool: Return canonical symbol when aliases exist in symbol finding helpersJosh Poimboeuf1-13/+13
2025-11-21objtool: Don't alias undefined symbolsJosh Poimboeuf1-2/+2
2025-11-21objtool: Fix .cold function detection for duplicate symbolsJosh Poimboeuf2-3/+27
2025-11-21objtool: Support Clang AUTOFDO .cold functionsJosh Poimboeuf1-1/+9
2025-11-18objtool: Set minimum xxhash version to 0.8Josh Poimboeuf2-2/+2
2025-11-13objtool: Warn on functions with ambiguous -ffunction-sections section namesJosh Poimboeuf2-0/+40
2025-11-13Merge tag 'v6.18-rc5' into objtool/core, to pick up fixesIngo Molnar1-3/+7
2025-11-10tools/objtool: Copy the __cleanup unused variable fix for older clangBorislav Petkov (AMD)1-1/+10
2025-11-01objtool: Fix skip_alt_group() for non-alternative STAC/CLACobjtool-urgent-2025-11-01Josh Poimboeuf1-1/+4
2025-10-30objtool: Remove unneeded semicolonChen Ni1-1/+1
2025-10-30x86/smpboot: Mark native_play_dead() as __noreturnThorsten Blum1-0/+1
2025-10-22objtool: Fix failure when being compiled on x32 systemobjtool_urgent_for_v6.18_rc3Mikulas Patocka1-2/+2
2025-10-22objtool/rust: add one more `noreturn` Rust functionMiguel Ojeda1-0/+1
2025-10-22objtool/klp: Add the debian-based package name of xxhash to the hintBorislav Petkov (AMD)1-1/+1
2025-10-16Merge branch 'objtool/core' of https://git.kernel.org/pub/scm/linux/kernel/gi...Peter Zijlstra31-663/+3607
2025-10-14livepatch/klp-build: Introduce klp-build script for generating livepatch modulesJosh Poimboeuf1-2/+4
2025-10-14objtool: Add base objtool support for livepatch modulesJosh Poimboeuf4-7/+53
2025-10-14objtool: Refactor prefix symbol creation codeJosh Poimboeuf3-31/+45
2025-10-14objtool/klp: Add post-link subcommand to finalize livepatch modulesJosh Poimboeuf4-1/+174
2025-10-14objtool/klp: Add --debug option to show cloning decisionsJosh Poimboeuf3-0/+99
2025-10-14objtool/klp: Introduce klp diff subcommand for diffing object filesJosh Poimboeuf16-31/+1909
2025-10-14objtool/klp: Add --debug-checksum=<funcs> to show per-instruction checksumsJosh Poimboeuf6-0/+70
2025-10-14objtool/klp: Add --checksum option to generate per-function checksumsJosh Poimboeuf9-28/+289
2025-10-14objtool: Add annotype() helperJosh Poimboeuf10-16/+18
2025-10-14objtool: Add elf_create_file()Josh Poimboeuf3-4/+147
2025-10-14objtool: Add elf_create_reloc() and elf_init_reloc()Josh Poimboeuf2-14/+165
2025-10-14objtool: Add elf_create_data()Josh Poimboeuf2-22/+54
2025-10-14objtool: Generalize elf_create_section()Josh Poimboeuf3-52/+75
2025-10-14objtool: Generalize elf_create_symbol()Josh Poimboeuf2-53/+69
2025-10-14objtool: Simplify special symbol handling in elf_update_symbol()Josh Poimboeuf1-3/+2
2025-10-14objtool: Refactor add_jump_destinations()Josh Poimboeuf2-115/+101
2025-10-14objtool: Reindent check_options[]Josh Poimboeuf1-27/+27
2025-10-14objtool: Resurrect --backup optionJosh Poimboeuf3-16/+16
2025-10-14objtool: Rename --Werror to --werrorJosh Poimboeuf1-1/+1
2025-10-14objtool: Avoid emptying lists for duplicate sectionsJosh Poimboeuf1-4/+0
2025-10-14objtool: Simplify reloc offset calculation in unwind_read_hints()Josh Poimboeuf1-8/+1
2025-10-14objtool: Mark prefix functionsJosh Poimboeuf3-4/+14
2025-10-14objtool: Fix weak symbol hole detection for .cold functionsJosh Poimboeuf2-42/+45
2025-10-14objtool: Mark .cold subfunctionsJosh Poimboeuf3-17/+17
2025-10-14objtool: Add section/symbol type helpersJosh Poimboeuf5-42/+108
2025-10-14objtool: Convert elf iterator macros to use 'struct elf'Josh Poimboeuf3-17/+17
2025-10-14objtool: Remove .parainstructions referenceJosh Poimboeuf1-1/+0
2025-10-14objtool: Clean up compiler flag usageJosh Poimboeuf3-8/+13
2025-10-14objtool: Const string cleanupJosh Poimboeuf6-10/+10
2025-10-14objtool: Check for missing annotation entries in read_annotate()Josh Poimboeuf1-0/+5
2025-10-14objtool: Fix "unexpected end of section" warning for alternativesJosh Poimboeuf1-4/+1
2025-10-14objtool: Fix __pa_symbol() relocation handlingJosh Poimboeuf1-1/+12
2025-10-14objtool: Fix x86 addend calculationJosh Poimboeuf5-17/+17
2025-10-14objtool: Fix weak symbol detectionJosh Poimboeuf1-4/+4
2025-10-14objtool: Fix interval tree insertion for zero-length symbolsJosh Poimboeuf1-1/+1
2025-10-14objtool: Add empty symbols to the symbol tree againJosh Poimboeuf1-8/+2
2025-10-14objtool: Remove error handling boilerplateJosh Poimboeuf2-101/+59
2025-10-14objtool: Propagate elf_truncate_section() error in elf_write()Josh Poimboeuf1-3/+2
2025-10-14objtool: Fix broken error handling in read_symbols()Josh Poimboeuf1-7/+3
2025-10-14objtool: Make find_symbol_containing() less arbitraryJosh Poimboeuf1-5/+20
2025-10-14interval_tree: Sync interval_tree_generic.h with toolsJosh Poimboeuf1-0/+1
2025-10-14objtool: Fix standalone --hacks=jump_labelDylan Hatch1-1/+2
2025-10-14objtool: Remove unneeded semicolonChen Ni1-1/+1
2025-10-14objtool/x86: Fix NOP decodePeter Zijlstra1-4/+11
2025-10-14objtool/x86: Add UDB supportPeter Zijlstra1-0/+4
2025-10-14objtool/x86: Remove 0xea hackPeter Zijlstra1-9/+0
2025-10-11Merge tag 'x86_core_for_v6.18_rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-0/+43
2025-10-01Merge tag 'kbuild-6.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kb...Linus Torvalds1-10/+0
2025-09-30Merge tag 'x86_apic_for_v6.18_rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds6-2/+63
2025-09-19Merge 6.17-rc6 into kbuild-nextNathan Chancellor1-0/+23
2025-09-18objtool/LoongArch: Mark special atomic instruction as INSN_BUG typeTiezhu Yang1-0/+21
2025-09-18objtool/LoongArch: Mark types based on break immediate codeTiezhu Yang1-3/+9
2025-09-09objtool: Ignore __pi___cfi_ prefixed symbolsNathan Chancellor1-0/+1
2025-09-04x86/sev: Zap snp_abort()Borislav Petkov (AMD)1-1/+0
2025-09-03x86/boot: Create a confined code area for startup codeArd Biesheuvel1-1/+2
2025-09-03objtool: Add action to check for absence of absolute relocationsArd Biesheuvel5-0/+60
2025-08-28objtool: Drop noinstr hack for KCSAN_WEAK_MEMORYNathan Chancellor1-10/+0
2025-08-20objtool/LoongArch: Get table size correctly if LTO is enabledTiezhu Yang1-0/+23
2025-08-18objtool: Validate kCFI callsPeter Zijlstra2-0/+43
2025-07-30Merge tag 'trace-rv-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tr...Linus Torvalds1-0/+1
2025-07-28Merge tag 'hardening-v6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2025-07-21stackleak: Rename stackleak_track_stack to __sanitizer_cov_stack_depthKees Cook1-1/+1
2025-07-21stackleak: Rename STACKLEAK to KSTACK_ERASEKees Cook1-1/+1
2025-07-19Merge tag 'rust-fixes-6.16-2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2025-07-14objtool/rust: add one more `noreturn` Rust function for Rust 1.89.0Miguel Ojeda1-0/+1
2025-07-11objtool: Add vpanic() to the noreturn listNam Cao1-0/+1
2025-07-01objtool: Add missing endian conversion to read_annotate()objtool_urgent_for_v6.16_rc5Heiko Carstens1-0/+1
2025-06-04Merge tag 'rust-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/...Linus Torvalds1-1/+2
2025-05-26Merge tag 'x86-core-2025-05-25' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+4
2025-05-26Merge tag 'objtool-core-2025-05-25' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-1/+38
2025-05-22objtool/rust: relax slice condition to cover more `noreturn` Rust functionsMiguel Ojeda1-1/+2
2025-05-14objtool: Speed up SHT_GROUP reindexingobjtool-core-2025-05-25Josh Poimboeuf2-18/+30
2025-05-13Merge commit 'its-for-linus-20250509-merge' into x86/core, to resolve conflictsIngo Molnar1-0/+9
2025-05-13Merge branch 'x86/boot' into x86/core, to merge dependent commitsIngo Molnar1-2/+4
2025-05-11Merge tag 'its-for-linus-20250509' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+9
2025-05-09x86/its: FineIBT-paranoid vs ITSPeter Zijlstra1-0/+9
2025-05-07objtool/rust: add one more `noreturn` Rust function for Rust 1.87.0Miguel Ojeda1-0/+1
2025-05-04x86/boot: Add a bunch of PIC aliasesArd Biesheuvel1-2/+4
2025-04-30objtool: Fix up st_info in COMDAT group sectionRong Xu1-1/+26
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" warningobjtool-urgent-2025-04-10Josh 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 noreturnsobjtool-urgent-2025-02-28Youling 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 verboseobjtool_urgent_for_v6.14_rc3Peter 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 noreturnsobjtool-urgent-2024-12-29chenchangcheng1-0/+1