Skip to content

Commit

Permalink
test entrypoint probe
Browse files Browse the repository at this point in the history
  • Loading branch information
tahina-pro committed Jan 30, 2024
1 parent 9c15159 commit d8d9c0e
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions src/3d/tests/probe/src/Probe.3d
Original file line number Diff line number Diff line change
@@ -1,10 +1,31 @@
extern probe ProbeInPlace

#define PROBE_LENGTH 28

entrypoint probe ProbeInPlace PROBE_LENGTH
typedef struct _test1(UINT64 bound) {
UINT16 x { x >= bound };
UINT16 y { y >= x };
} test1;

entrypoint probe ProbeInPlace 42
typedef struct _test2(UINT64 bound) {
UINT16 x { x >= bound };
UINT16 y { y >= x };
} test2;

entrypoint probe ProbeInPlace 0x0d0a
typedef struct _test3(UINT64 bound) {
UINT16 x { x >= bound };
UINT16 y { y >= x };
} test3;

entrypoint probe ProbeInPlace PROBE_LENGTH
typedef struct _secondary(UINT64 bound) {
UINT16 x { x >= bound };
UINT16 y { y >= x };
} secondary;

extern probe ProbeInPlace

entrypoint
typedef struct _primaryInPlace(EVERPARSE_COPY_BUFFER_T dest) {
UINT64 bound;
Expand Down

0 comments on commit d8d9c0e

Please sign in to comment.