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

ILASM roundtrip fails on poison.sh #72127

Closed
TIHan opened this issue Jul 13, 2022 · 1 comment · Fixed by #72128
Closed

ILASM roundtrip fails on poison.sh #72127

TIHan opened this issue Jul 13, 2022 · 1 comment · Fixed by #72128
Assignees
Labels
Milestone

Comments

@TIHan
Copy link
Contributor

TIHan commented Jul 13, 2022

ILASM roundtrip fails on the test JIT/Directed/debugging/poisoning/poison/poison.sh

BEGIN EXECUTION
/datadisks/disk1/work/AA48093E/p/ildasm -raweh -unicode -out=poison.dasm.il poison.dll
/datadisks/disk1/work/AA48093E/p/ilasm -output=poison.asm.dll poison.dasm.il

Microsoft (R) .NET IL Assembler.  Version 7.0.0-ci
C
Assembling 'poison.dasm.il'  to EXE --> 'poison.asm.dll'
Source file is UNICODE

Assembled method Program::Main
Assembled method Program::VerifyPoison
Assembled method Program::VerifyZero
Assembled method Program::AllEq
Assembled method Program::.ctor
Creating PE file

Emitting classes:
Class 1:Program
Class 2:Program�GCRef
Class 3:Program�WithoutGCRef
Class 4:Program�Massive
Class 5:Program�Massive�<Bytes>e__FixedBuffer

Emitting fields and methods:
Global
Class 1Methods: 5;
Class 2Fields: 1;
Class 3Fields: 3;
Class 4Fields: 1;
Class 5Fields: 1;
Resolving local member refs: 9 -> 9 defs, 0 refs, 0 unresolved

Emitting events and properties:
Global
Class 1
Class 2
Class 3
Class 4
Class 5
Resolving local member refs: 0 -> 0 defs, 0 refs, 0 unresolved
Writing PE file
Operation completed successfully
/datadisks/disk1/work/AA48093E/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false poison.asm.dll ''
END EXECUTION OF IL{D}ASM BINARY - FAILED 101 vs 100
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=/datadisks/disk1/work/AA48093E/p
/datadisks/disk1/work/AA48093E/w/B8F7099E/e/JIT/Directed/debugging/poisoning/poison/poison.sh
Expected: True
Actual:   False
@TIHan TIHan added this to the 7.0.0 milestone Jul 13, 2022
@TIHan TIHan self-assigned this Jul 13, 2022
@ghost
Copy link

ghost commented Jul 13, 2022

Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.

Issue Details

ILASM roundtrip fails on the test JIT/Directed/debugging/poisoning/poison/poison.sh

BEGIN EXECUTION
/datadisks/disk1/work/AA48093E/p/ildasm -raweh -unicode -out=poison.dasm.il poison.dll
/datadisks/disk1/work/AA48093E/p/ilasm -output=poison.asm.dll poison.dasm.il

Microsoft (R) .NET IL Assembler.  Version 7.0.0-ci
C
Assembling 'poison.dasm.il'  to EXE --> 'poison.asm.dll'
Source file is UNICODE

Assembled method Program::Main
Assembled method Program::VerifyPoison
Assembled method Program::VerifyZero
Assembled method Program::AllEq
Assembled method Program::.ctor
Creating PE file

Emitting classes:
Class 1:Program
Class 2:Program�GCRef
Class 3:Program�WithoutGCRef
Class 4:Program�Massive
Class 5:Program�Massive�<Bytes>e__FixedBuffer

Emitting fields and methods:
Global
Class 1Methods: 5;
Class 2Fields: 1;
Class 3Fields: 3;
Class 4Fields: 1;
Class 5Fields: 1;
Resolving local member refs: 9 -> 9 defs, 0 refs, 0 unresolved

Emitting events and properties:
Global
Class 1
Class 2
Class 3
Class 4
Class 5
Resolving local member refs: 0 -> 0 defs, 0 refs, 0 unresolved
Writing PE file
Operation completed successfully
/datadisks/disk1/work/AA48093E/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false poison.asm.dll ''
END EXECUTION OF IL{D}ASM BINARY - FAILED 101 vs 100
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=/datadisks/disk1/work/AA48093E/p
/datadisks/disk1/work/AA48093E/w/B8F7099E/e/JIT/Directed/debugging/poisoning/poison/poison.sh
Expected: True
Actual:   False
Author: TIHan
Assignees: TIHan
Labels:

area-ILTools-coreclr

Milestone: 7.0.0

@TIHan TIHan added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Jul 13, 2022
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jul 13, 2022
@jakobbotsch jakobbotsch added blocking-clean-ci-optional Blocking optional rolling runs and removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' labels Jul 14, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 6, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants