aboutsummaryrefslogtreecommitdiffstats
path: root/tools/objtool
AgeCommit message (Expand)AuthorFilesLines
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
2023-04-14objtool: Generate ORC data for __pfx codeJosh Poimboeuf1-0/+14
2023-04-14objtool: Separate prefix code from stack validation codeJosh Poimboeuf1-38/+50
2023-04-14objtool: Remove superfluous dead_end_function() checkJosh Poimboeuf1-2/+1
2023-04-14objtool: Add symbol iteration helpersJosh Poimboeuf3-58/+51
2023-04-14objtool: Add WARN_INSN()Josh Poimboeuf3-115/+70
2023-04-14objtool: Add stackleak instrumentation to uaccess safe listJosh Poimboeuf1-0/+2
2023-04-14Revert "objtool: Support addition to set CFA base"Josh Poimboeuf1-11/+0
2023-03-30docs: move x86 documentation into Documentation/arch/Jonathan Corbet1-1/+1
2023-03-23x86,objtool: Split UNWIND_HINT_EMPTY in twoJosh Poimboeuf3-16/+20
2023-03-23x86,objtool: Separate unret validation from unwind hintsJosh Poimboeuf2-22/+47
2023-03-23x86,objtool: Introduce ORC_TYPE_*Josh Poimboeuf2-6/+20
2023-03-23objtool: Add objtool_types.hJosh Poimboeuf4-4/+4
2023-03-08sched/idle: Mark arch_cpu_idle_dead() __noreturnJosh Poimboeuf1-0/+1
2023-03-02Merge tag 'objtool-core-2023-03-02' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds20-300/+419
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+2
2023-02-23objtool: Fix ORC 'signal' propagationJosh Poimboeuf3-0/+3
2023-02-23objtool: Remove instruction::listPeter Zijlstra4-86/+133
2023-02-23objtool: Fix overlapping alternativesPeter Zijlstra1-26/+43
2023-02-23objtool: Union instruction::{call_dest,jump_table}Peter Zijlstra2-29/+50
2023-02-23objtool: Remove instruction::relocPeter Zijlstra2-16/+14
2023-02-23objtool: Shrink instruction::{type,visited}Peter Zijlstra1-5/+5
2023-02-23objtool: Make instruction::alts a single-linked listPeter Zijlstra2-10/+10
2023-02-23objtool: Make instruction::stack_ops a single-linked listPeter Zijlstra4-10/+9
2023-02-23objtool: Change arch_decode_instruction() signaturePeter Zijlstra4-71/+64
2023-02-23Merge branch 'linus' into objtool/core, to pick up Xen dependenciesIngo Molnar2-3/+27
2023-02-21Merge tag 'for-linus-6.3-rc1-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+1
2023-02-21Merge tag 'x86_alternatives_for_v6.3_rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-3/+3
2023-02-20objtool: add UACCESS exceptions for __tsan_volatile_read/writeArnd Bergmann1-0/+2
2023-02-13x86/xen: mark xen_pv_play_dead() as __noreturnJuergen Gross1-0/+1
2023-02-11x86/unwind/orc: Add 'signal' field to ORC metadataJosh Poimboeuf1-2/+2
2023-02-11objtool: mem*() are not uaccess safePeter Zijlstra1-3/+0
2023-02-01objtool: Optimize layout of struct special_altThomas Weißschuh1-1/+1
2023-02-01objtool: Optimize layout of struct symbolThomas Weißschuh1-3/+2
2023-02-01objtool: Allocate multiple structures with calloc()Thomas Weißschuh2-21/+25
2023-02-01objtool: Make struct check_options staticThomas Weißschuh2-3/+1
2023-02-01objtool: Make struct entries[] static and constThomas Weißschuh1-3/+3
2023-02-01objtool: Fix HOSTCC flag usageIan Rogers1-12/+15
2023-01-31Merge tag 'v6.2-rc6' into sched/core, to pick up fixesIngo Molnar1-0/+9
2023-01-30objtool: Properly support make V=1Ian Rogers1-4/+10
2023-01-30objtool: Install libsubcmd in buildIan Rogers3-10/+24
2023-01-21objtool: Check that module init/exit function is an indirect call targetMichal Kubecek2-0/+15
2023-01-13entry, kasan, x86: Disallow overriding mem*() functionsPeter Zijlstra1-0/+3
2023-01-13ubsan: Fix objtool UACCESS warnsPeter Zijlstra1-0/+1
2023-01-13objtool/idle: Validate __cpuidle code as noinstrPeter Zijlstra1-0/+13
2023-01-09objtool: Tolerate STT_NOTYPE symbols at end of sectionNicholas Piggin1-0/+9
2023-01-07objtool: Fix memory leak in create_static_call_sections()Miaoqian Lin1-0/+2
2023-01-05x86/alternatives: Add alt_instr.flagsBorislav Petkov (AMD)1-3/+3
2022-12-19Merge tag 'powerpc-6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds19-56/+269
2022-12-14Merge tag 'x86_core_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds10-182/+566
2022-11-23objtool/powerpc: Implement arch_pc_relative_reloc()Michael Ellerman2-0/+11
2022-11-18objtool/powerpc: Add --mcount specific implementationSathvika Vasireddy2-0/+18
2022-11-18objtool/powerpc: Enable objtool to be built on ppcSathvika Vasireddy6-0/+146
2022-11-18objtool: Add arch specific function arch_ftrace_match()Sathvika Vasireddy3-1/+8
2022-11-18objtool: Use macros to define arch specific reloc typesSathvika Vasireddy2-1/+3
2022-11-18objtool: Read special sections with alts only when specific options are selectedSathvika Vasireddy1-3/+5
2022-11-18objtool: Add --mnop as an option to --mcountSathvika Vasireddy3-9/+25
2022-11-18objtool: Use target file class size instead of a compiled constantChristophe Leroy3-10/+24
2022-11-18objtool: Use target file endianness instead of a compiled constantChristophe Leroy6-31/+30
2022-11-18objtool: Fix SEGFAULTChristophe Leroy1-1/+1
2022-11-05objtool: Fix weak hole vs prefix symbolPeter Zijlstra1-1/+21
2022-11-05objtool: Optimize elf_dirty_reloc_sym()Peter Zijlstra2-17/+12
2022-11-01objtool: Add --cfi to generate the .cfi_sites sectionPeter Zijlstra3-0/+71
2022-11-01objtool: Add option to generate prefix symbolsPeter Zijlstra5-1/+67
2022-11-01objtool: Avoid O(bloody terrible) behaviour -- an ode to libelfPeter Zijlstra2-7/+84
2022-11-01objtool: Slice up elf_create_section_symbol()Peter Zijlstra1-21/+35
2022-10-18objtool, kcsan: Add volatile read/write instrumentation to whitelistMarco Elver1-0/+10
2022-10-17objtool: Allow STT_NOTYPE -> STT_FUNC+0 sibling-callsPeter Zijlstra1-27/+47
2022-10-17objtool: Rework instruction -> symbol mappingPeter Zijlstra2-51/+66
2022-10-17objtool: Allow symbol range comparisons for IBT/ENDBRPeter Zijlstra1-0/+28
2022-10-17objtool: Fix find_{symbol,func}_containing()Peter Zijlstra2-54/+42
2022-10-17objtool: Add --hacks=skylakePeter Zijlstra3-5/+13
2022-10-17objtool: Add .call_sites sectionPeter Zijlstra3-0/+53
2022-10-17objtool: Track init sectionPeter Zijlstra2-8/+11
2022-10-17objtool: Allow !PC relative relocationsPeter Zijlstra3-1/+27
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+20
2022-10-10Merge tag 'objtool-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-4/+7
2022-10-04Merge tag 'net-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-1/+2
2022-10-04Merge tag 'x86_cpu_for_v6.1_rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+3
2022-10-03objtool: kmsan: list KMSAN API functions as uaccess-safeAlexander Potapenko1-0/+20
2022-09-26objtool: Disable CFI warningsSami Tolvanen1-1/+6
2022-09-26objtool: Preserve special st_shndx indexes in elf_update_symbolSami Tolvanen1-1/+6
2022-09-16ftrace: Add HAVE_DYNAMIC_FTRACE_NO_PATCHABLEPeter Zijlstra (Intel)1-1/+2
2022-09-15objtool,x86: Teach decode about LOOP* instructionsPeter Zijlstra1-0/+6
2022-08-28Merge tag 'x86-urgent-2022-08-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-16/+18
2022-08-25x86/sev: Mark snp_abort() noreturnBorislav Petkov1-16/+18
2022-08-19objtool: Remove "ANNOTATE_NOENDBR on ENDBR" warningJosh Poimboeuf1-3/+0
2022-08-19objtool: Use arch_jump_destination() in read_intra_function_calls()Chen Zhongjin1-1/+1
2022-08-19x86/ibt, objtool: Add IBT_NOSEAL()Josh Poimboeuf1-1/+2
2022-08-18x86/clear_user: Make it fasterBorislav Petkov1-0/+3
2022-08-02Merge tag 'docs-6.0' of git://git.lwn.net/linuxLinus Torvalds1-1/+1
2022-07-11Merge tag 'x86_bugs_retbleed' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds9-22/+356
2022-07-07objtool: update objtool.txt referencesMauro Carvalho Chehab1-1/+1
2022-07-07x86/ibt, objtool: Don't discard text references from tracepoint sectionPeter Zijlstra1-2/+1
2022-06-29x86/retbleed: Add fine grained Kconfig knobsPeter Zijlstra3-2/+15
2022-06-27objtool: Re-add UNWIND_HINT_{SAVE_RESTORE}Josh Poimboeuf2-9/+50
2022-06-27objtool: Add entry UNRET validationPeter Zijlstra4-11/+184
2022-06-27objtool: Update Retpoline validationPeter Zijlstra1-6/+13
2022-06-27x86: Add magic AMD return-thunkPeter Zijlstra1-3/+19
2022-06-27objtool: Treat .text.__x86.* as noinstrPeter Zijlstra1-1/+2
2022-06-27x86,objtool: Create .return_sitesPeter Zijlstra6-0/+83
2022-05-27x86/extable: Annotate ex_handler_msr_mce() as a dead endBorislav Petkov1-0/+1
2022-05-27objtool: Mark __ubsan_handle_builtin_unreachable() as noreturnPeter Zijlstra1-1/+2
2022-05-26Merge tag 'kbuild-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-2/+2
2022-05-20objtool: Fix objtool regression on x32 systemsMikulas Patocka3-7/+8
2022-05-20objtool: Fix symbol creationPeter Zijlstra1-69/+129