Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2017-10-25[mono] Update denied assemblies listMarek Safar
2017-09-13[corlib] Update negative symbol for all cultures. Fixes #57496Marek Safar
2017-09-12[verifier] Implement verification of byref returns.Rodrigo Kumpera
The verification algorithm is inspired on internal specs by the Roslyn team but adapted to what it generates today. Here's how this patch works: We introduce a new verification type, SAFE_BYREF, that's used for a byref value that is safe to return from the stack. It's unverifiable to return a byref value that is not marked SAFE_BYREF. We mark the following values are SAFE_BYREF: - byref arguments, unless it's the `this` arg of a valuetype instance method - return values of method calls when all byref arguments have SAFE_BYREF values - the this arg is ignored. - the address of a static field (LDSFLDA) - the address of an array element (LDELEMA) - the address of a field if the receiver is either a SAFE_BYREF value or a reference Notoriously from the above is the value of local variables. We took a conservative approach of unsafe tainting. We do this by associating 3 states to a local: unassigned (initial value of zero), assigned and safe (SAFE_BYREF_LOCAL), assigned and unsafe (UNSAFE_BYREF_LOCAL) When loading a local, we set its value as SAFE_BYREF if the local is in the SAFE_BYREF_LOCAL state. When storing to a local, we set it to SAFE_BYREF_LOCAL if, only if, it's not marked as UNSAFE_BYREF_LOCAL and the value is SAFE_BYREF. If we store a non-safe value to a local, we mark it as UNSAFE_BYREF_LOCAL. If we store a non-safe value to a SAFE_BYREF_LOCAL local, we mark the method as unverifiable. This algorithm makes sure we don't mix safe and unsafe byref and side with safety in case of control-flow dependent values.
2017-08-19[pedump] Have the assembly search hook look at the same directory of the ↵Rodrigo Kumpera
assembly being verified. Unfortunately using mono_set_assemblies_path is not much of an option as it disables the MONO_PATH env var and that's needed when working with an in-tree pedump - cuz having to `make install` all the time is BS.
2017-08-16Merge pull request #5382 from kumpera/pedump_fixRodrigo Kumpera
Address pedump issues from https://bugzilla.xamarin.com/show_bug.cgi?id=58168
2017-08-16[msbuild] Install a `deniedAssembliesList.txt` to support denied ... (#5358)Ankit Jain
... assemblies. msbuild tries to filter out the denied assemblies, which mono refuses to load, during a build. It uses the `deniedAssembliesList.txt` installed to `$mono_prefix/lib/mono/xbuild` to identify them. This was generated with: `$ mono tools/nuget-hash-extractor/nuget-hash-extractor.exe nugets guids_for_msbuild > mcs/tools/xbuild/data/deniedAssembliesList.txt` This file needs to be kept in sync with any changes in the assemblies denied by the runtime. msbuild PR that adds support for this - https://github.com/mono/msbuild/pull/23 .
2017-08-16[verifier] Add workaround for verifying corlib and valid-only output.Rodrigo Kumpera
2017-08-16netstandard dependant facades update after 2.0 release (#5371)Marek Safar
2017-08-15[runtime] Use HOST_ defines instead of PLATFORM_ defines. (#5362)Zoltan Varga
2017-08-09Revert "[runtime] Avoid building a separate static library, use the shared ↵Alexander Köplinger
object files for the static library as well. (#5233)" This reverts commit 56a1881bff83365978e7eb30d18da8809b56c1e2. It caused a consistent test error on ARM64: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-8-arm64/2810/testReport/regression-tests/dummy/MonoTests_regressions_100percentsuccess/
2017-08-08[runtime] Avoid building a separate static library, use the shared object ↵Zoltan Varga
files for the static library as well. (#5233)
2017-08-08[runtime] Move eglib into mono/eglib so it becomes a convenience library ↵Zoltan Varga
similar to utils/ etc. (#5297)
2017-08-03[msbuild] Add option to nuget-hash-extractor to generate a list of theAnkit Jain
.. denied assemblies usable by a msbuild task for filtering them.
2017-08-02[offset-tool]: Add MonoProfilerCallContext to MonoAotOffsetsDumper.Martin Baulig
2017-07-19[offset-tool] fix assignment for GeniOSBernhard Urban
fixes this compilation error MonoAotOffsetsDumper.cs(279,59): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
2017-07-18[offsets-tool] Add a --gen-ios argument which can be used together with ↵Zoltan Varga
--targetdir= to generate ios offsets without having to specify the macos path. (#5218)
2017-07-14[pedump] Print failure cause message when a class cannot be initializedAleksey Kliger
2017-07-05[offsets-tool] allow to set targetdir for iOS targets, so it's possible to ↵Bernhard Urban
dump offsets without maccore
2017-06-20[threads] Store MonoInternalThread in MonoThreadInfo for use when detaching ↵Ludovic Henry
(#5058) * [threads] Make mono_thread_attach_full static * [threads] Remove prefix on MonoThreadInfoCallbacks callbacks * [threads] Rename mono_threads*_init functions to mono_thread_info*_init * [threads] Remove dead method mono_runtime_is_critical_method * [threads] Move MonoThreadInfoCallbacks to metadata/threads * [threads] Store MonoInternalThread in MonoThreadInfo for use when detaching When the native thread would exit, the TLS keys are destroyed. There is a TLS destructor for MonoThreadInfo, but not for MonoInternalThread. If MonoInternalThread is destroyed before MonoThreadInfo, then MonoThreadInfoCallbacks.thread_detach wouldn't successfully detach the current MonoInternalThread as mono_thread_internal_current would return NULL. This would lead to MonoInternalThread still laying around, while their corresponding MonoThreadInfo has already been destroyed. This fixes this problem, since we now rely on MonoThreadInfo to store the MonoInternalThread for detach.
2017-06-08[interp] add InterpMethodArguments struct to offset-toolBernhard Urban
2017-05-18Adds System.Net.Http 4.3.2 to blacklistMarek Safar
2017-05-13[runtime] Remove System.ValueTuple from denied assemblies. It's not neededMarek Safar
anymore because we have reference assemblies and it didn't work for mobile tools (e.g. linker)
2017-05-04[pedump] Fix running with cooperative GCAleksey Kliger
This is the pedump analog of 9f5115a343213e7ce27b197c96274cc611a05284 which fixed monodis under coop.
2017-04-18[runtime] Blacklist System.Threading.Overlapped nugetsMarek Safar
2017-04-18Add System.Net.Http 4.3.1 to blacklistMikayla Hutchinson
2017-04-07[runtime] Update the offsets tool to a new version of CppSharp and use 64 ↵Zoltan Varga
bit binaries on osx. (#4659)
2017-03-17Merge pull request #4453 from lambdageek/bug-49721Aleksey Kliger (λgeek)
[loader] Check strong name when loading from application base. (Fixes #49721)
2017-03-16Merge pull request #4536 from kumpera/block-rebind-of-banned-assembliesRodrigo Kumpera
Reject rebinds that target one of the banned assemblies.
2017-03-16[tools] Dep check the downloads to avoid the mistake fixed by the previous ↵Rodrigo Kumpera
commit.
2017-03-16[corlib] Update culture data. Fixes #53334Marek Safar
2017-03-15[tools] Update nuget-hash-extractor to spew the new ban table.Rodrigo Kumpera
2017-03-14[runtime] Mark mono_assembly_open and mono_assembly_open_full external onlyAleksey Kliger
Runtime should use mono_assembly_open_predicate
2017-03-08[offsets-tool] Remove dependencies on android directory layout by adding a ↵Zoltan Varga
--targetdir=dir argument argument which points to the mono build directory corresponding to the target abi. Only allow one --abi= argument on android. (#4487)
2017-03-07[runtime] Fix pedump.Zoltan Varga
2017-03-01[loader] Revert allowing SIOC 4.3. This is fine for now as we support ↵Rodrigo Kumpera
LoadFrom as a work-around.
2017-03-01[tools] Update nuget hash extractor so we don't block SIOC 4.3.0.Rodrigo Kumpera
2017-01-30[mono] Update ignored assemblies list to include System.ValueTupleMarek Safar
2017-01-30[mono] Update ignored assemblies list to include System.Reflection.DispatchProxyMarek Safar
2017-01-24Merge pull request #3806 from BrzVlad/feature-parallel-gc-finalVlad Brezae
[sgen] Parallel concurrent major
2017-01-21[io-layer] Extract error (#4279)Ludovic Henry
* [file] Remove dead field * [process] Remove wapi_getpid * [process] Remove CloseHandle * [io-layer] Remove dead MONO_TRACE * [io-layer] Extract error * [io-layer] Extract wapi.h * [io-layer] Remove the io-layer
2017-01-20[sgen] Add worker index to the binary protocol entriesVlad Brezae
2017-01-20[sgen] Clean exit if we can't read binprot file due to unsupported versionVlad Brezae
2017-01-18[tools] Add nuget-hash-extractor tool to help produce the runtime ignored ↵Rodrigo Kumpera
assemblies table. This tool takes a folder full of nupkg file and print macro invocations to add to image.c:ignored_assemblies. Usage: make download make run The download.sh script downloads all nugets we want to ignore. So update it before running if you have more you want to add.
2016-12-02[corlib] Cleanup more negative sign cultures with unicode prefixesMarek Safar
2016-11-22[corlib] Update list of known lcids and update CLRD data. Fixes #46456Marek Safar
2016-11-14[offsets-tool] Make sure to re-clone when the hash for the cpp binaries changes.Rolf Bjarne Kvinge
2016-11-11[offsets-tool] Fixed the Makefile to clone into the base directory instead.Joao Matos
2016-11-10[offsets-tool] Updated build scripts to handle multiple platforms.Joao Matos
2016-11-10[offsets-tool] Fixed whitespace inconsistency.Joao Matos
2016-11-10Updated offsets tool to latest CppSharp.Joao Matos