lib: Utilize smaps in the idl.