Skip to content

Commit cd61f19

Browse files
committed
fixed flash issue?
1 parent b44ecfd commit cd61f19

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

decoder/decoder/build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ fn main() {
208208
// if we randomize up to 100 KiB gap in text, we have a margin of error of 32 KiB
209209
// text aslr disabled
210210
//let textoffset = gen_addr(0, 0x19000, &mut rng);
211-
let textoffset = 0;
211+
// 0: lock up
212+
// 4: panic
213+
let textoffset = 8;
212214
let rodataoffset = 0;
213215
// this random offset is a bit small since it impacts final binary size
214216
// don't want to waste too much space on that, since stack_start randomization already affects data placements

0 commit comments

Comments
 (0)