Skip to content

AppBundleHasEntryPoint

Sebastien Pouliot edited this page Feb 18, 2022 · 1 revision

appbundle has-entrypoint

An assembly can have an entry-point defined. Generally called Main the entry-point is where the execution of the assembly would normally start.

Inside an appbundle there is generally a single assembly that has an entry-point for starting the whole application.

USAGE:

cilout appbundle <appbundle> has-entrypoint [OPTIONS]

ARGUMENTS:

  • <appbundle> Application Bundle to analyze

OPTIONS:

  • -h, --help Prints help information
  • -q, --quiet No visible output. Use return code.

RETURN CODES:

Return Code Description
0 At least one assembly inside the appbundle has an entry-point
1 No entry point was found inside any of the appbundle's assemblies
-1 Error while validating the arguments or running the command
-2 Error while reading the specified assembly

EXAMPLES:

$ cilout appbundle bin/Debug/net6.0/ has-entrypoint

Assembly `bin/Debug/net6.0/Mono.Cecil.Rocks.dll` has no entry point.
Assembly `bin/Debug/net6.0/cilout.dll` has `System.Int32 Program::<Main>$(System.String[])` as its entry point.
Assembly `bin/Debug/net6.0/Spectre.Console.dll` has no entry point.
Assembly `bin/Debug/net6.0/Mono.Cecil.dll` has no entry point.
Assembly `bin/Debug/net6.0/Mono.Cecil.Pdb.dll` has no entry point.
Assembly `bin/Debug/net6.0/Mono.Cecil.Mdb.dll` has no entry point.
Assembly `bin/Debug/net6.0/ref/cilout.dll` has no entry point.
Clone this wiki locally