Closed fachat closed 4 years ago
If you have a string constant like
.asc "COPYCON^@DUP^@CD^@DEVCMD^@COPY^@" This breaks if there is a pre-processor define like `
.asc "COPYCON^@DUP^@CD^@DEVCMD^@COPY^@"
As a mitigation you have to split the string constant like so .asc "COPYCON^@D","UP^@CD^@DEVCMD^@COPY^@" `
As a mitigation you have to split the string constant like so
Little test program: `
.asc "DUP^@" .asc '0DUP^@' .asc "D","UP^@" .asc "DUP .asc "DU0 .asc "DU
`
If you have a string constant like
.asc "COPYCON^@DUP^@CD^@DEVCMD^@COPY^@"
This breaks if there is a pre-processor define like `define DUP 123
As a mitigation you have to split the string constant like so
.asc "COPYCON^@D","UP^@CD^@DEVCMD^@COPY^@" `