You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The disassembly generated by the xc16 toolchain (microchip) generates symbols for every label in the source code. For example, this is one function that gets transformed into multiple symbols: SetUsbChannel, .L3, .L4, .L6, .L2.
The current result is that for a elf file disassembled with this toolset, 80% of the code size goes in <unknown>/<unknown> and looking at SetUsbChannel only shows the first few lines of the assembly. Callers/Callees counting is also broken (related to #7/#8/#20 probably).
Todo:
add some tests parsing this type of output
parse assembly all the way til the end of the function (until beginning of the next one is probably the only way to detect the end of one)
figure out a way to sum the size of all the symbols that make one function
The text was updated successfully, but these errors were encountered:
The disassembly generated by the xc16 toolchain (microchip) generates symbols for every label in the source code. For example, this is one function that gets transformed into multiple symbols:
SetUsbChannel
,.L3
,.L4
,.L6
,.L2
.The current result is that for a elf file disassembled with this toolset, 80% of the code size goes in
<unknown>/<unknown>
and looking atSetUsbChannel
only shows the first few lines of the assembly. Callers/Callees counting is also broken (related to #7/#8/#20 probably).Todo:
The text was updated successfully, but these errors were encountered: