Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patches: support instrumenting dlmalloc by ASAN #101

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

ligurio
Copy link
Owner

@ligurio ligurio commented Aug 17, 2024

Author: Sergey Bronnikov <[email protected]>
Date:   Fri Jun 14 15:44:21 2024 +0300

    patches: support instrumenting dlmalloc by ASAN
    
    The patch add a patch that implements support of AddressSanitizer
    in LuaJIT's dlmalloc. The work has been done by Maksim Tiushev in
    Tarantool Lab.

@ligurio ligurio force-pushed the ligurio/support-asan-dlmalloc branch from 31bf34f to 47f3990 Compare August 17, 2024 08:42
@ligurio ligurio marked this pull request as draft August 17, 2024 08:45
@ligurio ligurio marked this pull request as ready for review October 10, 2024 06:43
@ligurio ligurio force-pushed the ligurio/support-asan-dlmalloc branch from 47f3990 to f25e9f9 Compare October 10, 2024 07:25
The patch add a patch that implements support of AddressSanitizer
in LuaJIT's dlmalloc. The work has been done by Maksim Tiushev in
Tarantool Lab.

By default instrumentation is disabled and it can be enabled
by passing a flag LUAJIT_USE_ASAN.
@ligurio
Copy link
Owner Author

ligurio commented Oct 10, 2024


System.IO.IOException: No space left on device : '/home/runner/runners/2.320.0/_diag/Worker_20241010-072536-utc.log'
   at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
   at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
   at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
   at System.Diagnostics.TextWriterTraceListener.Flush()
   at GitHub.Runner.Common.HostTraceListener.WriteHeader(String source, TraceEventType eventType, Int32 id)
   at GitHub.Runner.Common.HostTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
   at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
   at GitHub.Runner.Worker.Worker.RunAsync(String pipeIn, String pipeOut)
   at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)

@ligurio ligurio force-pushed the ligurio/support-asan-dlmalloc branch 2 times, most recently from 9853cec to a651690 Compare October 10, 2024 15:43
@ligurio ligurio merged commit 0e60f36 into master Oct 14, 2024
10 of 11 checks passed
@ligurio ligurio deleted the ligurio/support-asan-dlmalloc branch October 14, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant