Author Topic: How do I create a manifest within the .asm file and embed it in the final exe?  (Read 5376 times)

jj2007

  • Member
  • *****
  • Posts: 13957
  • Assembly is fun ;-)
    • MasmBasic
Without the manifest, three virus checkers complain.
WITH the manifest, fifteen checkers complain.

The AV sh*t brigade have finally understood that virus writers have learned how to include a manifest :icon_mrgreen:

aw27

  • Guest
There is nothing in a manifest to reassure antivirus that the code is safe. Only code signing does some reassurance.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 10583
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
I think you would see the manifest first to know why.  :biggrin:
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

TimoVJL

  • Member
  • *****
  • Posts: 1320
Urrrrgh,
When "masm 6.14/6.15" were introduced, manifests were not in common use.  :biggrin:
Even ml 7.1 didn't know about of SEGMENT INFO and manifest is a linker issue.

EDIT: link 8.0 -> support /MANIFEST options.
EDIT: ml.exe 8.0 accept SEGMENT INFO
« Last Edit: November 26, 2018, 08:12:38 PM by TimoVJL »
May the source be with you

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 10583
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
> and manifest is a linker issue

It gets fed through a resource compiler first, this is why you could build exe files with manifests and version control blocks using the very old versions as you just linked the RES file after converting it to an OBJ. To make the point, ML 6.14 and the matching era linker knew nothing about manifests and from memory they were introduced in Vista. The OS and AV scanners expect a manifest and version control block, avoid them at your own risk.  :P
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy: