Zhenhang1213

Results comments of Zhenhang1213

> > clang/lib/Driver/Tools.cpp and clang/lib/Basics/Targets.cpp are for > > target setting parsing, validation and defaults. My guess is that > > gnutools::Assembler::ConstructJob sets fpu defaults for armv7. I > >...

> > > clang/lib/Driver/Tools.cpp and clang/lib/Basics/Targets.cpp are for > > > target setting parsing, validation and defaults. My guess is that > > > gnutools::Assembler::ConstructJob sets fpu defaults for armv7....

> Your question is not clear, can you explain in more detail what you are asking. I found clang using this option, the assembly was still the call asan_report_load function,but...

> Neither asan-use-after-scope nor asan-use-after-return controls whether accesses to a local variable `x` (AllocaInst) should be instrumented. However, StackSafetyAnalysis can remove the unneeded instrumentation for `return x`. I have created...

> Now StackSafetyAnalysis is the default, this variable in question is no longer instrumented. > > I think neither `-fsanitize-address-stack-use-after-scope` nor `-fsanitize-address-stack-use-after-return` affects whether a stack variable should be instrumented,...

32bit: 000005c4 : 5c4: e92d4800 push {r11, lr} 5c8: e1a0b00d mov r11, sp ........ 62c: e3000000 movw r0, #0 630: e1a0d00b mov sp, r11 634: e8bd8800 pop {r11, pc} **638:...

> These are so-called mapping symbols: https://sourceware.org/binutils/docs/as/ARM-Mapping-Symbols.html Their presence is expected. But why doesn't this happen when I use the arm64 architecture? ... 0000000000010980 : 10980: a9bf7bf0 stp x16, x30,...

> > But why doesn't this happen when I use the arm64 architecture? > > Because there are no mapping symbols on aarch64. It's entirely different architecture. But why is...

> There are no plt symbols in the binary. They are made up on the fly by objdump, and afaik this only works for x86 and AArch64. You can see...