Unexpected output size
See original GitHub issueNot sure what I’m doing wrong, but the output of mutated is exactly 32 times as large as I expected.
Sample: https://github.com/Manouchehri/loremelf
ubuntu@964c0cbfef64:/pfp/ $ git clone https://github.com/Manouchehri/loremelf
ubuntu@964c0cbfef64:/pfp/ $ cd loremelf/
ubuntu@964c0cbfef64:/pfp/loremelf$ python2 coder.py
ubuntu@964c0cbfef64:/pfp/loremelf$ ls -l *put*/
input/:
total 68
-rwxr-xr-x 1 dave dave 68464 May 3 00:29 date
output/:
total 1424
-rw-rw-r-- 1 dave dave 1454740 May 3 13:06 bin.0.elf
...
for mutation in pfp.fuzz.mutate(dom, IntegersOnly, num=1, at_once=1):
mutated = mutation._pfp__build()
filename_out = "output/bin." + str(counter) + ".elf"
with open(filename_out, 'wb') as file:
file.write(bytes(mutated))
file.close()
...
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Keras unexpected output size - Stack Overflow
I'm trying to run predictions on a set of inputs. My model is: model = keras.Sequential([ keras.Input(shape=(120, 3)), layers.
Read more >Unexpected output size for Maxpool · Issue #21935 - GitHub
The output of Maxpool has an unexpected size for some corner cases. Repro: Maxpool1d(kernel_size=3, stride=2, padding=0, dilation=2)
Read more >Unexpected output from "sizeof" - Keil forum - Support forums - Arm ...
I tried using sizeof command to find out the size of the an int variable by printf("%d\n", sizeof(int)); I was expecting an output...
Read more >Why am I getting unexpected output dimensions or errors ...
I face same problem here....Invalid setting for input port dimensions of 'Demux1'. The dimensions are being set to 4. This is not valid...
Read more >11.3 Error Messages or Unexpected Output - Oracle Help Center
Description: Oracle ORAchk and Oracle EXAchk create temporary files and directories at runtime, as well as output files for data collection. If you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve let this stew for a while - I’m liking the approaches I outlined in #82. This definitely needs to be addressed.
This is on hold until I figure out if proposed change 1 (Parsed fields have a parse order or index) and 2 (Unified Skipped/Unparsed Data Tracking) as described in https://github.com/d0c-s4vage/pfp/issues/82 are the best approaches.
For now, I am liking that approach, but they won’t be small changes.