MantisBT - Cheat Engine
View Issue Details
0000512Cheat Engine(No Category)public2016-10-08 20:482016-10-10 15:07
Reporterchase0 
Assigned ToDark Byte 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS VersionWindows 7 x64
Summary0000512: Using `align` directive in a table AA script prevents it from getting "Active" checkbox [v6.6]
DescriptionUsing `align` directive in a table AA script prevents it from getting "Active" checkbox when the table script entry is activated. The [ENABLE] section executes as it's supposed to, the alignment applies properly, only the checkbox is missing, which means the entry can't be deactivated.
Additional Information[ENABLE]
alloc(M,1024)
label(L)

M:
align 0000016
L:

[DISABLE]
dealloc(M)
TagsNo tags attached.
Attached Files

Notes
(0001109)
chase0   
2016-10-08 21:14   
Further testing shows the issue is actually different: align can't directly follow a label for an allocated memory block:

---
globalalloc(_kzwmmavneyduhhws,1024)
label(_kzwmmavneyduhhws_L)

_kzwmmavneyduhhws:
  //db 1

  align 0000016
_kzwmmavneyduhhws_L:
  db 2
---

This generates "Not all instructions could be injected" error. Since the memory allocations seem to be 4K-aligned, this use of the directive should do nothing instead of generating an error. Also, in spite of displaying the error the script currently gets assembled in its entirety regardless.
(0001110)
Dark Byte   
2016-10-10 15:07   
should be fixed in the release

Issue History
2016-10-08 20:48chase0New Issue
2016-10-08 21:14chase0Note Added: 0001109
2016-10-10 15:07Dark ByteAssigned To => Dark Byte
2016-10-10 15:07Dark ByteStatusnew => resolved
2016-10-10 15:07Dark ByteResolutionopen => fixed
2016-10-10 15:07Dark ByteNote Added: 0001110