Skip to content

v0.1.1 #1

Description

@XaFF-XaFF

v0.1.1 TODO

Compiler

  1. Support 64-bit struct fields

    • Allow u64 and i64 fields in struct definitions.
    • Ensure field loads, stores, struct literals, and layout alignment work correctly.
  2. Support nested structs

    • Allow structs to contain other structs by value.
    • Example:
      struct Payload {
        field: u64,
      }
      
      struct Packet {
        id: u32,
        payload: Payload,
      }
  3. Add inline array initializers

    • Support compact local array declarations:
      var arr: u8[0x01, 0x02, 0x03];
    • Infer the array size from the initializer list.
  4. Add tiny compilation mode

    • Add --type=tiny for minimal exploit-oriented shellcode.
    • Disable unsupported/runtime-heavy features by default.
    • Emit text-only or otherwise minimal output suitable for constrained payloads.
  5. Add bad-byte avoidance

    • Add --avoid=<hex1>,<hex2>,....
    • Example:
      entc compile payload.etpy --type=tiny --avoid=0x00,0x0a,0x0d
    • Fail compilation or rewrite emitted code when forbidden bytes remain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions